Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sindrle
    Senior Member
    • Aug 2013
    • 266

    #1

    Optimise TopHat2 speed and results

    Hi!
    I have some questions about optimising the speed when using TopHat2 for mRNA analysis.

    As a testrun I used this command:

    tophat hg19 /path/to/x.fastq

    hg19 was manually indexes using Bowtie2.

    Here you see the Activity Monitor during the run:

    Click image for larger version

Name:	Screen Shot 2013-08-16 at 2.07.45 PM.png
Views:	1
Size:	48.1 KB
ID:	308215

    Click image for larger version

Name:	Screen Shot 2013-08-16 at 2.08.08 PM.png
Views:	1
Size:	59.7 KB
ID:	308216

    So, my questions:

    1. Is it normal to use so little of the total capacity?

    2. I have downloaded the iGenome hg19 as well as the not pre-built, the BT2 index files are not the same size as the ones I made myself, should I switch to using the pre-buildt hg19?

    3. What is the "AbundantSequences" included in the pre-built hg19 and how can I use it in my mRNA analysis?

    4. Is there something else I should note when working with mRNA analysis, like exclude all introns in hg19, or something?

    Thank you very much!!
    Last edited by sindrle; 08-16-2013, 04:38 AM.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    1. You might tell tophat to use more threads. It'll take a lot longer to get results when using only a single thread.

    2. It doesn't much matter. I recall someone saying that the iGenomes indexes are missing somethings (perhaps it was mitochondria). When in doubt, always make your own (it doesn't take that long).

    3. Abundant species would be things like rRNAs, that are often present in VERY high amounts but not of interest. These are useful to give to cufflinks or similar to tell it to ignore those areas of the genome.

    4. For most common uses, the defaults are fine (just give it more threads).
    Last edited by dpryan; 08-16-2013, 04:54 AM. Reason: formatting

    Comment

    • sindrle
      Senior Member
      • Aug 2013
      • 266

      #3
      Thank you very much for fast answers!

      Do you have a link describing thread settings for TopHat2?

      Also, one final question, when downloaded pre-built hg19 all annotations are included, how may I use this with Tophat2?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Originally posted by sindrle View Post
        Do you have a link describing thread settings for TopHat2?

        Also, one final question, when downloaded pre-built hg19 all annotations are included, how may I use this with Tophat2?
        From the TopHat manual:

        -p/--num-threads <int> Use this many threads to align reads. The default is 1.
        Start with 2 or 4 threads. It does not mean that even if your computer has 8 "cores" you will get an equivalent speedup since disk read speeds start being the limiting factor.

        If you happen to get pre-built indexes from the iGenomes site then you can specify the location of the Bowtie2Index's while running TopHat by specifying the path to the "genome.fa" file in the index folder.

        Comment

        • sindrle
          Senior Member
          • Aug 2013
          • 266

          #5
          Hi again!
          Thank you for input. I aborted the first run, but before Im running the second test, can you control that this code is correct?

          I want to use 8 threads: -p 8
          I want use the genes.gtf included in the iGenomes hg19: -G path/to/genes.gtf
          Since I use the -G, I also need: transcriptome-index=transcriptome_data
          I dont want coverage-search: --no-coverage-search
          My hg19 genome and Bowtie2 indexes (genome.fa and .bt2 files) is in my PATH (usr/bin/indexes) as aliases, does this work?
          Finally I have my fastq I want to analyse.

          So is this correct?

          tophat2 -p 8 -G
          /path/to/genes.gtf --transcriptome-index=transcriptome_data --no-coverage-search *
          genome /path/to/x.fastq

          "path/to" is just for simplicity.

          Im also curious about the "*" after all the option codes. Also I wonder where the "transcriptome_data" folder will be created.
          Last edited by sindrle; 08-17-2013, 01:09 PM.

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            The "transcriptome_data" folder will be created wherever you specify after "--transcriptome-index=". I have no clue what you're trying to achieve with the random asterisk, but I suspect it won't do whatever it is that you want. Aside from that, it should work.

            Comment

            • sindrle
              Senior Member
              • Aug 2013
              • 266

              #7
              I cant get the -G and --transcriptome-index=
              transcriptome_data/know option to work.

              Also I have to cd to where my bowtie2 indexes are to type the tophat2 command even though I have the indexes in my PATH.
              Last edited by sindrle; 08-17-2013, 03:20 PM.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Having the indexes in your path won't work since they are not executable files. You will be better off providing full paths for them. There is no harm in providing full file paths (e.g. for tophat2 executable, indexes, output directories) in your command lines.

                Check the detailed tutorial at the end of this article for examples of various command lines for the TopHat/Cufflinks suite of programs: http://www.nature.com/nprot/journal/....2012.016.html

                Comment

                • sindrle
                  Senior Member
                  • Aug 2013
                  • 266

                  #9
                  Thanks! I fiddled around for some hours yesterday and it all works like a charm now!

                  Next step is to run Cufflinks2.


                  Thank you everyone!

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                    by SEQadmin2



                    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                    ...
                    10-14-2026, 09:55 AM
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-22-2026, 11:13 AM
                  0 responses
                  42 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  33 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  44 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  45 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...