This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Truncating alignments in a SAM/BAM file

Hi everyone,

I am interested in narrowing or truncating the alignment of reads in SAM or BAM formatted files by X NTs from each end. My reason is that the detection of indels is a bit muddied by a percentage of reads reaching into or across indels which may be poor alignments even after quality aligned reads trimming and removing clipped reads.

Any suggestions would be appreciated.

Thanks!
John

alignment sam bam

1 answer

Log in to answer this question.