Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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


      • #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


        • #5
          Hi guys,

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

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin


            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
            Yesterday, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          49 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          50 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          43 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          55 views
          0 likes
          Last Post seqadmin  
          Working...
          X