Hi,
How can I filter a bam file to only have reads that are aligning on the sens strand of my reference. I've singe-end reads and I have aligned my reads with bowtie 0.12.7.
Thanks a lot,
EDIT > I found it myself :
sens reads : awk '$2=="0" {print $0}' input.sam > output.sam
anti-sens reads : awk '$2=="16" {print $0}' input.sam > output.sam
N.
great that's better ! thanks