Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IrisZhu
    Member
    • Jul 2010
    • 25

    #1

    need some help with Tophat

    Hello All,

    I am new to this site and also new to the field of next generation seq.
    I am trying to use Tophat (version 1.0.14) to do RNA-seq mapping. And I found it pretty slow: It took ~15 hours to finish the mapping of ~17 million pairs of reads(75bp) against a chr20 index. My reads are in fasta format and the command I used is:
    "tophat -r 250 chr20 **.lane1_1.fa **.lane1_2.fa"

    I think I installed Tophat and Bowtie properly since they passed the test. But I must have done something silly. I can't imagine how long it's gonna take if I map 400 million reads against the whole human genome.

    Could any one tell what I could do wrong?

    Thank you so much,

    Iris
    Last edited by IrisZhu; 07-29-2010, 01:34 PM.
  • john_mu
    Member
    • May 2010
    • 88

    #2
    That is not slow. It sounds about the right time.

    Also, yes 400million reads will need a powerful multi-core computer with a lot of memory.

    For example, it took me about 17 hours to map 130 million (100bp) reads with SpliceMap on 10 cores.

    The current version of SpliceMap is also about the same speed as TopHat. However, the next version will be twice as fast.

    Edit: use the -p option in TopHat if you have a multi-core machine.
    Last edited by john_mu; 07-29-2010, 01:36 PM.
    SpliceMap: De novo detection of splice junctions from RNA-seq
    Download SpliceMap Comment here

    Comment

    • IrisZhu
      Member
      • Jul 2010
      • 25

      #3
      John, thanks for your reply.

      This 15 hours for mapping 17 million pairs against a single (short) chromosome ( chr20 ) is reasonable? I am asking just to make sure you was not thinking of the whole genome :-)

      Comment

      • john_mu
        Member
        • May 2010
        • 88

        #4
        Originally posted by IrisZhu View Post
        John, thanks for your reply.

        This 15 hours for mapping 17 million pairs against a single (short) chromosome ( chr20 ) is reasonable? I am asking just to make sure you was not thinking of the whole genome :-)
        oh... a single chromosome??? That is uhhh... a bit slow.

        How did you build the index?

        EDIT: also how much free memory do you have? Maybe either bowtie or tophat is thrashing.
        Last edited by john_mu; 07-29-2010, 07:57 PM.
        SpliceMap: De novo detection of splice junctions from RNA-seq
        Download SpliceMap Comment here

        Comment

        • IrisZhu
          Member
          • Jul 2010
          • 25

          #5
          Now I am mapping the same thing against the whole genome index, seems it's not a lot more slower than just against a chr20 index ......

          Another thing, if I add option "-p" it failed immediately:
          "
          [zhuz2@cbbdev1 mapping]$ tophat -p -r 100 hg19 mate1.fa mate2.fa
          Traceback (most recent call last):
          File "/usr/local/tophat/1.0.14/bin/tophat", line 1854, in <module>
          sys.exit(main())
          File "/usr/local/tophat/1.0.14/bin/tophat", line 1746, in main
          args = params.parse_options(argv)
          File "/usr/local/tophat/1.0.14/bin/tophat", line 474, in parse_options
          self.system_params.parse_options(opts)
          File "/usr/local/tophat/1.0.14/bin/tophat", line 171, in parse_options
          self.bowtie_threads = int(value)
          ValueError: invalid literal for int() with base 10: '-r'
          "
          The command "tophat -r 100 hg19 mate1.fa mate2.fa" works well.
          Do you know why? Is it the problem of my machine or command?

          Thank you so much for your help,

          Iris

          Comment

          • john_mu
            Member
            • May 2010
            • 88

            #6
            you need to use -p followed by the number of processes.

            Originally posted by IrisZhu View Post
            Now I am mapping the same thing against the whole genome index, seems it's not a lot more slower than just against a chr20 index ......

            Another thing, if I add option "-p" it failed immediately:
            "
            [zhuz2@cbbdev1 mapping]$ tophat -p -r 100 hg19 mate1.fa mate2.fa
            Traceback (most recent call last):
            File "/usr/local/tophat/1.0.14/bin/tophat", line 1854, in <module>
            sys.exit(main())
            File "/usr/local/tophat/1.0.14/bin/tophat", line 1746, in main
            args = params.parse_options(argv)
            File "/usr/local/tophat/1.0.14/bin/tophat", line 474, in parse_options
            self.system_params.parse_options(opts)
            File "/usr/local/tophat/1.0.14/bin/tophat", line 171, in parse_options
            self.bowtie_threads = int(value)
            ValueError: invalid literal for int() with base 10: '-r'
            "
            The command "tophat -r 100 hg19 mate1.fa mate2.fa" works well.
            Do you know why? Is it the problem of my machine or command?

            Thank you so much for your help,

            Iris
            SpliceMap: De novo detection of splice junctions from RNA-seq
            Download SpliceMap Comment here

            Comment

            • IrisZhu
              Member
              • Jul 2010
              • 25

              #7
              Yes I just realized this a few minutes ago :-) so silly of me ....
              Thanks again.

              Comment

              • poisson200
                Member
                • Feb 2010
                • 63

                #8
                Hi,
                Just an observation; is there a reason to map only to chromosome 20? It is possible some reads may map to chromosome 20 but better map to a different chromosome (less mismatches). So some reads may be falsely mapped to Chromosome 20 if the others are not present in the indexes. Also you would not know if reads mapped to more than one chromosome with the same stringency. Possibly something to bare in mind.

                Comment

                • IrisZhu
                  Member
                  • Jul 2010
                  • 25

                  #9
                  Originally posted by poisson200 View Post
                  Hi,
                  Just an observation; is there a reason to map only to chromosome 20? It is possible some reads may map to chromosome 20 but better map to a different chromosome (less mismatches). So some reads may be falsely mapped to Chromosome 20 if the others are not present in the indexes. Also you would not know if reads mapped to more than one chromosome with the same stringency. Possibly something to bare in mind.
                  Thanks for your comment. Of course it doesn't make sense to map to one chromosome.
                  That's just for a test to see if the software is working.

                  Comment

                  • poisson200
                    Member
                    • Feb 2010
                    • 63

                    #10
                    In that case, it makes perfect sense.

                    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-15-2026, 10:52 AM
                    0 responses
                    22 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    27 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-13-2026, 09:56 AM
                    0 responses
                    22 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-09-2026, 11:14 AM
                    0 responses
                    28 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...