This is a test version of Biostars. For the public version, visit https://www.biostars.org.
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?

sam strand bash

this post was deleted. Please, keep it for reference. Thxs.

1 answer

See Explain SAM flags

and other biostar posts:

use the search field above

Log in to answer this question.