Entering edit mode
21 months ago
LDT
▴
340
Dear all,
the silly question in here. I have sorted and indexed my bam files. After that, I had to use the bedtools to remove alignments in a few regions and I created new bam files.
Do I need to sort the bam files again?
thank you for your time
hum... IMHO, the command of choice would be:
samtools view -M -L complement.bed -O BAM -o filtered.and.sorted.bam in.bam