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
            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
          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Working...
          X