Unconfigured Ad

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

    Tophat v1.1.4 bug - cannot handle non-numeric versions of Samtools

    Hi,

    I was just using the new version of Tophat with Samtools-0.1.12a and got the following error:

    [Wed Dec 8 16:56:42 2010] Beginning TopHat run (v1.1.4)
    -----------------------------------------------
    [Wed Dec 8 16:56:42 2010] Preparing output location ./tophat_out/
    [Wed Dec 8 16:56:42 2010] Checking for Bowtie index files
    [Wed Dec 8 16:56:42 2010] Checking for reference FASTA file
    [Wed Dec 8 16:56:42 2010] Checking for Bowtie
    Bowtie version: 0.12.7.0
    [Wed Dec 8 16:56:42 2010] Checking for Samtools
    Traceback (most recent call last):
    File "/share/apps/alignment/tophat/default/bin/tophat", line 2223, in ?
    sys.exit(main())
    File "/share/apps/alignment/tophat/default/bin/tophat", line 2136, in main
    check_samtools()
    File "/share/apps/alignment/tophat/default/bin/tophat", line 877, in check_samtools
    samtools_version = get_samtools_version()
    File "/share/apps/alignment/tophat/default/bin/tophat", line 864, in get_samtools_version
    samtools_version = [int(x.split('-')[0]) for x in version_val.split('.')]
    ValueError: invalid literal for int(): 12a


    Tophat v1.1.4 does work with the previous version of Samtools (Samtools-0.1.11).

    Hopefully this bug will be solved.
    Alexandra
  • HTS
    Member
    • Nov 2009
    • 24

    #2
    Yes, I am having the same problem after upgrading to "samtools-0.1.12a". I guess it should be an easy fix, just hope the TopHat guys can find time to do it soon (or if the samtools guys can stick to the old convention). Thanks!

    Comment

    • elizzybethy
      Junior Member
      • Sep 2009
      • 8

      #3
      Comment out check samtools in tophat script

      I ran into this problem and I just commented the relevant lines out in the get_samtools_version() and check_samtools() functions of the tophat script and it seems to work fine now.

      Comment

      • seqfast
        Member
        • Aug 2008
        • 16

        #4
        i just edited the version number in bamtk.c in the samtools folder to 1.12 and did a:

        make clean

        make

        and we seem to be all set.

        Comment

        • Daehwan
          Member
          • Oct 2010
          • 27

          #5
          Hi guys,

          I fixed this problem, and we will release TopHat 1.2.0 soon!

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            Yesterday, 11:10 AM
          • 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...
            07-08-2026, 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 10:04 AM
          0 responses
          10 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          15 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Working...