As I understand, the following code should extract indels from a bam file and output them in pileup format:
This command outputs nothing, however, when viewing the BAM file in tablet I can clearly see sections of the reference with no reads mapped to them.
Am I running samtools correctly? Is there a different way I should be looking for indels?
Code:
samtools pileup -if <ref.fa> <file.sorted.bam>
Am I running samtools correctly? Is there a different way I should be looking for indels?
Comment