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
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM
          • 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...
            04-22-2024, 07:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:57 AM
          0 responses
          12 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-06-2024, 07:17 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-02-2024, 08:06 AM
          0 responses
          19 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-30-2024, 12:17 PM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Working...
          X