Answers.Body: <p><code>--fr</code>/<code>--rf</code>/<code>--ff</code> should rarely be set, since they refer to the relative orientation of reads and basically everything these days is <code>--fr</code>. Mate-pairs were <code>--rf</code>, but you don't see those much any more.</p>
  
  <p><code>--rna-strandedness</code> is a very different option, since it sets how reads are expected to align against genes. Most stranded protocols in use these days follow the dUTP-method, where read #2 in a pair has the same orientation as the transcript from which it arose. So either <code>R</code> or <code>RF</code> would typically be appropriate, unless the library is unstranded. In practice, I expect this is more useful if you plan to run stringTie downstream, since then the <code>XS</code> auxiliary tag is set appropriately.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T10:56:03.760Z
Answers.Text: [I found this resource t visualise the relative orientation of reads](http://seqanswers.com/forums/showthread.php?t=6317). The `--fr`/`--rf`/`--ff` option is kind of disturbing... you say _Mate-pairs were --rf, but you don't see those much any more._ but In a "old" tool like tophat `rf` was not possible, when in a much recent tool they have introduced it...
Answers.UserDisplayName: juke34
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T12:10:05.727Z
Answers.Text: There are some other sequencing types (i.e., not RNAseq) where different library types are now being produced. Presumably they wanted to allow some flexibility so hisat2 could be used with them as well.
Answers.UserDisplayName: Devon Ryan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-17T09:57:29.003Z
Answers.LastActivityDate: 2018-04-17T09:57:29.003Z
Answers.UserDisplayName: Devon Ryan
Body: <p>I was trying hisat2 I get confused by the strand options...
  The question has been already asked on github <a href="https://github.com/infphilo/hisat2/issues/109" rel="nofollow noreferrer">here</a> but didn't get any satisfactory answer.
  I'm surprise how much this strand information could be confusing in different tools.</p>
  
  <p>Looking at the <a href="https://ccb.jhu.edu/software/hisat2/manual.shtml#indexing-a-reference-genome" rel="nofollow noreferrer">hisat2 manual</a> I get confuse by the two different options:</p>
  
  <p><code>--rna-strandness</code></p>
  
  <blockquote>
    <p>Specify strand-specific information: the default is unstranded.
    For single-end reads, use F or R. 'F' means a read corresponds to a transcript. 'R' means a read corresponds to the reverse complemented counterpart of a transcript. For paired-end reads, use either FR or RF.
    With this option being used, every read alignment will have an XS attribute tag: '+' means a read belongs to a transcript on '+' strand of genome. '-' means a read belongs to a transcript on '-' strand of genome.</p>
  </blockquote>
  
  <p>and <code>--fr</code>/<code>--rf</code>/<code>--ff</code></p>
  
  <blockquote>
    <p>The upstream/downstream mate orientations for a valid paired-end alignment against the forward reference strand. E.g., if --fr is specified and there is a candidate paired-end alignment where mate 1 appears upstream of the reverse complement of mate 2 and the fragment length constraints (-I and -X) are met, that alignment is valid. Also, if mate 2 appears upstream of the reverse complement of mate 1 and all other constraints are met, that too is valid. --rf likewise requires that an upstream mate1 be reverse-complemented and a downstream mate2 be forward-oriented. --ff requires both an upstream mate 1 and a downstream mate 2 to be forward-oriented. Default: --fr (appropriate for Illumina's Paired-end Sequencing Assay).</p>
  </blockquote>
  
  <p>Should both need to be specified ? Are they redundant ?
  I didn't find so many person struggling with that, so I guess there is something obvious that I don't get. I hope someone may enlighten me about it !</p>
  
Tags: <read-mapping>
Title: Hisat2 : which option should mention for strand specific library read
ThreadText: # Hisat2 : which option should mention for strand specific library read
  
  (Asked by: username_0 on 2018-04-17)
  
  I was trying hisat2 I get confused by the strand options...
  The question has been already asked on github [here](https://github.com/infphilo/hisat2/issues/109) but didn't get any satisfactory answer.
  I'm surprise how much this strand information could be confusing in different tools.
  
  Looking at the [hisat2 manual](https://ccb.jhu.edu/software/hisat2/manual.shtml#indexing-a-reference-genome) I get confuse by the two different options:
  
  `--rna-strandness`
  
  > Specify strand-specific information: the default is unstranded.
  > For single-end reads, use F or R. 'F' means a read corresponds to a transcript. 'R' means a read corresponds to the reverse complemented counterpart of a transcript. For paired-end reads, use either FR or RF.
  > With this option being used, every read alignment will have an XS attribute tag: '+' means a read belongs to a transcript on '+' strand of genome. '-' means a read belongs to a transcript on '-' strand of genome.
  
  and `--fr`/`--rf`/`--ff`
  
  > The upstream/downstream mate orientations for a valid paired-end alignment against the forward reference strand. E.g., if --fr is specified and there is a candidate paired-end alignment where mate 1 appears upstream of the reverse complement of mate 2 and the fragment length constraints (-I and -X) are met, that alignment is valid. Also, if mate 2 appears upstream of the reverse complement of mate 1 and all other constraints are met, that too is valid. --rf likewise requires that an upstream mate1 be reverse-complemented and a downstream mate2 be forward-oriented. --ff requires both an upstream mate 1 and a downstream mate 2 to be forward-oriented. Default: --fr (appropriate for Illumina's Paired-end Sequencing Assay).
  
  Should both need to be specified ? Are they redundant ?
  I didn't find so many person struggling with that, so I guess there is something obvious that I don't get. I hope someone may enlighten me about it !
  
  **Tags:** read-mapping
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-17. Score: 5 | Accepted answer
  
  `--fr`/`--rf`/`--ff` should rarely be set, since they refer to the relative orientation of reads and basically everything these days is `--fr`. Mate-pairs were `--rf`, but you don't see those much any more.
  
  `--rna-strandedness` is a very different option, since it sets how reads are expected to align against genes. Most stranded protocols in use these days follow the dUTP-method, where read #2 in a pair has the same orientation as the transcript from which it arose. So either `R` or `RF` would typically be appropriate, unless the library is unstranded. In practice, I expect this is more useful if you plan to run stringTie downstream, since then the `XS` auxiliary tag is set appropriately.
  
  > **Comments:**
  > **username_0**: [I found this resource t visualise the relative orientation of reads](http://seqanswers.com/forums/showthread.php?t=6317). The `--fr`/`--rf`/`--ff` option is kind of disturbing... you say _Mate-pairs were --rf, but you don't see those much any more._ but In a "old" tool like tophat `rf` was not possible, when in a much recent tool they have introduced it...  
  > **username_1**: There are some other sequencing types (i.e., not RNAseq) where different library types are now being produced. Presumably they wanted to allow some flexibility so hisat2 could be used with them as well.  
  
  ---
  
  