Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kenietz
    Member
    • Nov 2011
    • 86

    strand-specific RNA-seq, tophat, RSeQC

    Hi guys,
    i know there are similar threads about that problem and yet it seems that is still quite confusing. Hell, is still confusing to me so i'd like to share my experience with it.

    So i got two sets of PE RNA-seq as BAM files, reads were aligned with TopHat. After a while i've been told it was ssRNA-seq. Okay, but stranded how i haven't been told. Okay. Found about RSeQC and there i find 'infer_experiment.py' which tells me how the reads are stranded. Seems there are two ways: 1++,1–,2+-,2-+ and 1+-,1-+,2++,2–. From RSeQC site:

    1. 1++,1–,2+-,2-+

    read1 mapped to ‘+’ strand indicates parental gene on ‘+’ strand
    read1 mapped to ‘-‘ strand indicates parental gene on ‘-‘ strand
    read2 mapped to ‘+’ strand indicates parental gene on ‘-‘ strand
    read2 mapped to ‘-‘ strand indicates parental gene on ‘+’ strand

    2. 1+-,1-+,2++,2–

    read1 mapped to ‘+’ strand indicates parental gene on ‘-‘ strand
    read1 mapped to ‘-‘ strand indicates parental gene on ‘+’ strand
    read2 mapped to ‘+’ strand indicates parental gene on ‘+’ strand
    read2 mapped to ‘-‘ strand indicates parental gene on ‘-‘ strand

    So far so good. One of my sets is case.1 the other case.2. So i figure out how to split the reads so i can analyze the data properly. But during analysis in IGV i see weird things so i continue reading on the web and figure out that my reads were not aligned with 'library-type' option but just with default setting aka fr-unstranded. So i thought,okay, maybe weirdness comes from the mapping. So i read tophat manual which makes it even more weird to understand what exactly 'library-type' one needs in each case of strandedness according to RSeQC. Anyhow, i figure out that case.1 should be 'fr-secondstrand' and case.2 should be 'fr-firststrand'. So i aligned myself the reads with the appropriate 'library-type' option of tophat and then reran 'infer_experiment.py' on original bam and the bam i created.
    Output from infer_experiment.py:
    --original bam--
    Fraction of reads failed to determine: 0.0010
    Fraction of reads explained by "1++,1--,2+-,2-+": 0.9123
    Fraction of reads explained by "1+-,1-+,2++,2--": 0.0868

    --my bam--
    Fraction of reads explained by "1++,1--,2+-,2-+": 0.9124
    Fraction of reads explained by "1+-,1-+,2++,2--": 0.0867

    Seems to me there is no significant improvement. So my weird stuff which i see in IGV should be legit.

    However this mapping experiment leads me to believe that there is no need for 'library-type' option in TopHat and one must not care much about it. Just map and then see how the library was stranded with RSeQC. Extract the reads properly and proceed with analysis.

    Well that was my odyssey
    Cheers
    D.

    PS: if i got it all wrong please correct me. it will be appreciated.
  • fanli
    Senior Member
    • Jul 2014
    • 197

    #2
    From what I understand, the reason you get such similar results using 'fr-unstranded' even though it should be 'fr-firststrand' is because there isn't much antisense transcription in your system. I would be careful about mapping and then extracting, because it may affect the exact set of alignments you get depending on parameters (e.g. multihits).

    Comment

    • Michael.Ante
      Senior Member
      • Oct 2011
      • 127

      #3
      According to the TopHat manual page:
      If either fr-firststrand or fr-secondstrand is specified, every read alignment will have an XS attribute tag as explained below.
      The alignment should be (more or less) the same, but the reads will be attributed with an XS flag. This flag is necessary for Cufflinks:
      ... This attribute, which must have a value of “+” or “-“, indicates which strand the RNA that produced this read came from. While this tag can be applied to any alignment, including unspliced ones, it must be present for all spliced alignment records ...
      Thus, if you want to proceed with Cufflinks you need the correct library-type option in TopHat in order to get a good transcript estimation.
      It may be the case that also TopHat uses the library-type option for spliced reads...

      From what I've seen so far is that your strandedness depends on the method (e.g. TruSeq stranded 90-97%) and your RNA input (the better the RIN, the better the strandedness).

      Edit:
      RSeQC uses only a subset of reads (200000 per default). Therefore, small fluctuations, as shown in your example, are expectable.
      Last edited by Michael.Ante; 08-24-2015, 02:33 AM.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        Today, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM
      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 11:05 AM
      0 responses
      7 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-02-2026, 11:08 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-30-2026, 05:37 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Working...