Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adumitri
    Member
    • Jan 2010
    • 27

    #1

    TopHat2 run on individual or multiple samples

    Hello,

    I am trying to decide what the best approach for running TopHat2 is. We have multiple RNA-Seq samples for two different conditions. Is it preferable to run TopHat2 for each individual sample, for all samples in each condition (2 runs only) or for all samples together? Does it make any difference in terms of the results? Running the software for each sample would be much faster, and seems preferable, unless there is a rationale for pulling the samples together (e.g. some of the junctions might be missed when individual samples are used).

    Thank you!
    Alexandra
  • cedance
    Senior Member
    • Feb 2011
    • 108

    #2
    I usually do this on samples where the sequencing depth is relatively less. If the depth of sequencing is around 30-40 million reads per sample, I don't see much of a difference between individual mappings and merged mappings. I obtained a bit more reads mapped when I pooled samples from condition1 together and condition2 together and mapped these two separately, when I had over 6-9 million reads per sample.

    Comment

    • adumitri
      Member
      • Jan 2010
      • 27

      #3
      Thank you, cedance! The number of sequences for each of our samples is at least 25 million, so I will start mapping each sample individually as a first step. I might go back to mapping all samples per condition, just to see what the differences are.

      Also, in your analyses, have you tried using the junction files that you get out of tophat for the mapping process? More specifically, have you ever merged these files and rerun tophat, while supplying the obtained set of merged junctions, to see how different the results might be? I would be very interested in learning more about how much of an improvement this additional information might bring.

      Alexandra

      Comment

      • cedance
        Senior Member
        • Feb 2011
        • 108

        #4
        Sure, no problem. 25 million reads is plenty. I don't expect much of a difference.

        I have not done it by supplying junctions from the merged run. Certainly that seems to be a nice idea.

        What I have done is just to supply the junctions from the paired end run to the single end files. This is because, when I preprocess a paired end library by clipping for adapters, trimming for quality, there are some reads that get removed on one of the paired end fastq. So, I save these reads as single-end and re-run with junctions obtained from paired end run.

        Tophat2 also seems much better than the older versions in my opinion. I have been using tophat from 1.2.0 with bowtie 1. Bowtie 2 seems also much better. The number of reads mapped are much better, even though some errors that are particular to RNA-seq still are there. But for the same samples, tophat2 results in more reads and better mapping in my opinion. Bowtie2 internal algorithm to use seed and extend approach (due to relatively longer reads available now) seems nice and fast.

        Comment

        • rnaseek
          Member
          • Nov 2011
          • 22

          #5
          For differential expression analysis, if the multiple samples in each condition are biological replicates, you might want to keep them separate and do the analysis.

          Comment

          • cedance
            Senior Member
            • Feb 2011
            • 108

            #6
            Yes, the idea is to retrieve back the replicates after mapping by merging them.

            Comment

            • adumitri
              Member
              • Jan 2010
              • 27

              #7
              Yes, the idea is to retrieve back the replicates after mapping by merging them.
              Hi cedance, did you mean splitting (instead of merging) the biological replicates in your post? Is there a standard way of doing this, or did you have to write your own script to get the replicates out of tophat's accepted_hits file?

              Comment

              • cedance
                Senior Member
                • Feb 2011
                • 108

                #8
                I meant, first merge all files, then map them. Then split them back.
                Yes, I just changed the header of each read of FASTQ (the first line of every read) to an ID that I can recognize which sample/replicate it came from. For example: From @SOLEXA1_0420:7:1:1024:4338#0/1 to @01_S1_Rep1_0420:7:1:1024:4338#0/1.
                Of course this is not sticking to the standard of FASTQ format strictly, but it served my purpose.
                Last edited by cedance; 05-17-2012, 01:26 PM.

                Comment

                • adumitri
                  Member
                  • Jan 2010
                  • 27

                  #9
                  This was very useful! Thank you again.

                  Comment

                  • chadn737
                    Senior Member
                    • Jan 2009
                    • 392

                    #10
                    For differential expression I generally run everything separately and combine bam files afterwards accordingly.

                    This gives me more flexibility as I can analyze individual lanes as well as the combined data.

                    Comment

                    • cedance
                      Senior Member
                      • Feb 2011
                      • 108

                      #11
                      chadn737, if you have biological replicates, its better to keep them rather than merging and then finding genes that are differentially expressed.

                      Comment

                      • chadn737
                        Senior Member
                        • Jan 2009
                        • 392

                        #12
                        Originally posted by cedance View Post
                        chadn737, if you have biological replicates, its better to keep them rather than merging and then finding genes that are differentially expressed.
                        I'm not sure what you are getting at. I never said I merge my bio reps....these are always kept separate. But generally we multiplex all of our samples and spread this across multiple lanes. So when I say I run separately and merge later, I mean I align the individual fastq files from individual lanes and samples and then merge the individual bam files for each bio rep.

                        Comment

                        • cedance
                          Senior Member
                          • Feb 2011
                          • 108

                          #13
                          It wasn't clear what you were combining after, from your earlier post. Now it is.

                          Comment

                          Latest Articles

                          Collapse

                          • SEQadmin2
                            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                            by SEQadmin2



                            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                            Despite this, “CRISPR helped turn genome editing from a specialized technique into
                            ...
                            07-31-2026, 11:01 AM
                          • SEQadmin2
                            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                            by SEQadmin2


                            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                            The systematic characterization of the human proteome has
                            ...
                            07-20-2026, 11:48 AM

                          ad_right_rmr

                          Collapse

                          News

                          Collapse

                          Topics Statistics Last Post
                          Started by SEQadmin2, 08-11-2026, 10:35 AM
                          0 responses
                          10 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 08-06-2026, 07:41 AM
                          0 responses
                          29 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 08-03-2026, 10:13 AM
                          0 responses
                          48 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 07-31-2026, 02:55 AM
                          0 responses
                          48 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...