Entering edit mode
6.4 years ago
caggtaagtat
★
1.9k
Hello,
After mapping with STAR, I would like to remove all reads (single-end) from my Bam file, which show a gap in their alignment. Can this be done with samtools somehow?
Are deletions OK or do you want them filtered too?
I would like to remove deletions as well
GAP = single nucleotide variation + indels ?
I mean the remaining reads should be only continiously mapped to the reference genome, without a gap in their alignment, through splicing or deletions. The occurrence of SNPs was allowed during mapping and should be disregarded at this step.
Edit: Sry, with gap, I meant a splice junction in the reads alignment