Strandedness
Telling bramble which strand short reads come from.
By default, bramble checks a short read against transcripts on both strands. If the reads come from a stranded library, you can tell bramble which strand each read is on, so it only considers transcripts on that strand. The flags mean the same as in StringTie and HISAT2:
| Library | bramble | HISAT2 --rna-strandness | StringTie | salmon library type |
|---|---|---|---|---|
| fr-firststrand, e.g. dUTP | --rf | RF (single-end R) | --rf | ISR (single-end SR) |
| fr-secondstrand | --fr | FR (single-end F) | --fr | ISF (single-end SF) |
| unstranded | neither | default | default | IU (single-end U) |
--rf
The library is fr-firststrand, as in dUTP protocols: read 1 (or a single-end read) is the reverse complement of the transcript, and read 2 has the transcript's sequence.
--fr
The library is fr-secondstrand: read 1 (or a single-end read) has the transcript's sequence, and read 2 is its reverse complement.
Notes
- A strand tag written by the aligner takes priority over these flags:
XS(HISAT2; STAR with--outSAMstrandField intronMotif) or minimap2'sts. The flags decide the strand only for records without such a tag, which are mostly unspliced reads. --frand--rfcan't be used together.- For long reads (
--lr,--lr-hq) both flags and strand tags are ignored, and both strands are always tried.