Entering edit mode
12.8 years ago
Jeremy Leipzig
22k
bedtools intersect -v -abam my.bam -b myregions.gff > notinmyregions.bam
would we see reads with 4 in the FLAG field - i.e. unmapped reads in notinmyregions.bam