Entering edit mode
7.4 years ago
rbronste
▴
420
Trying to quickly remove reads samtools flagstat deems as unpaired from BAM file? Thanks.
Trying to quickly remove reads samtools flagstat deems as unpaired from BAM file? Thanks.
remove unpaired files = reads that are not part of a paired-end experiment ?
samtools view -f 1 -b -o out.bam in.bam
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Have you searched Biostars (use external google search) for past threads? There has to be something available already.