Selecting Opposite Orientation Strand Reads From .Sam File
I'd like to construct a simple, single-line bash (or bash/perl) command to return all reads from a .SAM file that mapped in opposite orientation to the reference (-). I'm shaky on how to derive this information from a .SAM file. Suggestions?
• 3,783 views
•
link
1 answer
and other biostar posts:
- samtools view: only forward or reverse strand
- flag in sam format
- How to interpret the flag field in the SAM specification
use the search field above
• 130 views
•
link
Log in to answer this question.
duplicate of
samtools view: only forward or reverse strand
this post was deleted. Please, keep it for reference. Thxs.