Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • deepsea
    Member
    • Jan 2010
    • 12

    Tophat's bowtie parameters

    Hi folks,

    I am using tophat in my RNA-seq of a high polymorphic genome. I think Tophat calls bowtie with '-v 2', but I found many reads with more than 2 mismatches were mapped to the genome. I took one as the test, it has 5 mismatches with good phred quality scores:

    13:C>T,27:C>A,38:T>C,57:G>A,64:C>A

    Using -v 3, or default -n 2 -l 28 -e 70 cannot map it, but using -n 2 -l 28 -e 150 can map it.

    Why can tophat map these kind of reads?

    Thanks!
  • Gangcai
    Member
    • Nov 2009
    • 30

    #2
    I also have a quite similar question: How to set the other bowtie parameters in tophat(such as "-a --best --strata")?

    Comment

    • Xi Wang
      Senior Member
      • Oct 2009
      • 317

      #3
      Originally posted by Gangcai View Post
      I also have a quite similar question: How to set the other bowtie parameters in tophat(such as "-a --best --strata")?
      I did it just by editing the python script of tophat.
      Xi Wang

      Comment

      • thinkRNA
        Member
        • Jan 2010
        • 94

        #4
        Originally posted by Xi Wang View Post
        I did it just by editing the python script of tophat.
        How exactly did you do this? Which line and what is the name of the script?

        I appreciate your help in advance. Thanks !

        Comment

        • Gangcai
          Member
          • Nov 2009
          • 30

          #5
          you can modify the tophat bin file

          The file you should modify is tophat-1.0.13/bin/tophat. I have an example file in the attached file for my question(add --best, --strata and --seedmms)(the modified line have #by gangcai)

          After modification, you can run tophat like this:

          $tophat --best --strata --seedmms 3 ......

          Originally posted by thinkRNA View Post
          How exactly did you do this? Which line and what is the name of the script?

          I appreciate your help in advance. Thanks !
          Attached Files

          Comment

          • Xi Wang
            Senior Member
            • Oct 2009
            • 317

            #6
            Originally posted by Gangcai View Post
            The file you should modify is tophat-1.0.13/bin/tophat. I have an example file in the attached file for my question(add --best, --strata and --seedmms)(the modified line have #by gangcai)

            After modification, you can run tophat like this:

            $tophat --best --strata --seedmms 3 ......
            Great! I think tophat developers should also take those options into consideration.
            Xi Wang

            Comment

            • peromhc
              Senior Member
              • Sep 2009
              • 108

              #7
              I agree, one of the strengths of BOWTIE is being able to modify the way it works via its options- but all of this customizability is lost when using TOPHAT..

              Comment

              • joseph
                Member
                • Feb 2008
                • 39

                #8
                help with Tophat's bowtie parameters

                Originally posted by Gangcai View Post
                The file you should modify is tophat-1.0.13/bin/tophat. I have an example file in the attached file for my question(add --best, --strata and --seedmms)(the modified line have #by gangcai)

                After modification, you can run tophat like this:

                $tophat --best --strata --seedmms 3 ......

                Hi
                If it is not too much trouble, can you post a tophat file with modification to the the latest version (1.2). My data maps better when I set my own -n/--seedmms and -l/--seedlen parameters.
                As you can tell, I don't know how to write scripts.

                Thank you in advance

                Joseph Dhahbi

                Comment

                • Xi Wang
                  Senior Member
                  • Oct 2009
                  • 317

                  #9
                  Originally posted by joseph View Post
                  Hi
                  If it is not too much trouble, can you post a tophat file with modification to the the latest version (1.2). My data maps better when I set my own -n/--seedmms and -l/--seedlen parameters.
                  As you can tell, I don't know how to write scripts.

                  Thank you in advance

                  Joseph Dhahbi
                  I think the authors of Tophat don't want users to run Tophat in this way. One of the reasons should be that those parameters also apply to segment mapping in Tophat. A segment is an arbitrary part of a read, not necessarily from the left end of a read. So the seed region of a segment could be different from the seed of a whole read. This may cause some biases, I guess.
                  Xi Wang

                  Comment

                  • shrutiisarda
                    Junior Member
                    • Jun 2011
                    • 2

                    #10
                    TopHat source code modification to include --best

                    Hi all,

                    I want to use TopHat for my mRNA Seq analysis, but I am unable to include --best..

                    I tried modifying the code to include best (similar to what's given above), but I was not successful..

                    Could someone please provide a modification in the latest version (1.3.1)? *I wish tophat did not make it impossible to edit bowtie options on the command line*

                    Comment

                    • blue mood
                      Member
                      • Jul 2011
                      • 21

                      #11
                      i have another problem about tophat.
                      i mapped 90bp pair-end reads twice with tophat of different versions with same arguments -g 10 -r 20 --solexa1.3-quals .The default segment-mismatch is 2. in the otput of the older version(1.0.12),the minimum match length is 75bp,why?. in the output of the latest version(1.3.1) it is mostly 90bp, is it because the -v 2 ?
                      is there anyone facing the same problem?

                      Comment

                      • DineshCyanam
                        Compendia Bio
                        • Oct 2010
                        • 35

                        #12
                        Shrutii,
                        U can try a different approach... Might work... If u have already run tophat... there is a log folder in the output directory. Open run.log file. It lists the sequence of commands tophat executes... I think there are 29 steps totally. U can modify the steps in which bowtie is called and give the --best flag... and then run all the commands as a bash script but as Xi Wang mentioned above, I too feel Cole or the other authors of Tophat do not want users to run it this way. I might be wrong tho...

                        Dinesh

                        Originally posted by shrutiisarda View Post
                        Hi all,

                        I want to use TopHat for my mRNA Seq analysis, but I am unable to include --best..

                        I tried modifying the code to include best (similar to what's given above), but I was not successful..

                        Could someone please provide a modification in the latest version (1.3.1)? *I wish tophat did not make it impossible to edit bowtie options on the command line*

                        Comment

                        Latest Articles

                        Collapse

                        • 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
                        • SEQadmin2
                          From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                          by SEQadmin2


                          Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                          The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                          ...
                          06-02-2026, 10:05 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, 06-17-2026, 06:09 AM
                        0 responses
                        34 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-09-2026, 11:58 AM
                        0 responses
                        99 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-05-2026, 10:09 AM
                        0 responses
                        120 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-04-2026, 08:59 AM
                        0 responses
                        112 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...