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
            Addressing Off-Target Effects in CRISPR Technologies
            by seqadmin






            The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
            08-27-2024, 04:44 AM
          • seqadmin
            Selecting and Optimizing mRNA Library Preparations
            by seqadmin



            Sequencing mRNA provides a snapshot of cellular activity, allowing researchers to study the dynamics of cellular processes, compare gene expression across different tissue types, and gain insights into the mechanisms of complex diseases. “mRNA’s central role in the dogma of molecular biology makes it a logical and relevant focus for transcriptomic studies,” stated Sebastian Aguilar Pierlé, Ph.D., Application Development Lead at Inorevia. “One of the major hurdles for...
            08-07-2024, 12:11 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 08-27-2024, 04:40 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-22-2024, 05:00 AM
          0 responses
          293 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-21-2024, 10:49 AM
          0 responses
          135 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-19-2024, 05:12 AM
          0 responses
          124 views
          0 likes
          Last Post seqadmin  
          Working...
          X