Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • genome1
    Member
    • Oct 2013
    • 12

    Tophat2: OSError: [Errno 2] No such file or directory

    I am having a trouble while running tophat2.
    I am using tophat2 (v2.0.11), Bowtie2 (v2.2.2) and samtools (v0.1.19).
    The command line that I am using is as follows:
    $ tophat -G /path/to/Homo_sapiens/Ensembl/GRCh37/Annotation/Genes/genes.gtf --transcriptome-index /path/to/transcriptome_data/known -o /path/to/out -p 8 /path/to/Homo_sapiens/Ensembl/GRCh37/Sequence/Bowtie2Index/genome /path/to/read_1.fastq.gz /path/to/read_2.fastq.gz

    The last few lines of the error message is:

    [2014-04-18 01:59:45] Resuming TopHat pipeline with unmapped reads
    Traceback (most recent call last):
    File "./tophat", line 4084, in <module>
    sys.exit(main())
    File "./tophat", line 4050, in main
    user_supplied_deletions)
    File "./tophat", line 3452, in spliced_alignment
    if not nonzeroFile(initial_reads[0]) and \
    File "./tophat", line 1159, in nonzeroFile
    samtools_view = subprocess.Popen(samtools_view_cmd, stdout=subprocess.PIPE)
    File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
    errread, errwrite)
    File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory

    Can anyone of you help me to solve the problem.
    Thank you.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Was the disk you were using full? It's trying to open a file that it should have just created but can't. The most likely explanation is that the disk is full.

    Comment

    • genome1
      Member
      • Oct 2013
      • 12

      #3
      No there were enough space in the disk. Now the problem has been resolved.
      I have replaced tophat with tophat2 in the command line.

      Comment

      • konika
        Member
        • Sep 2010
        • 14

        #4
        Tophat error about samtools version

        Hi
        I have tried using tophat2 but still got a similar error
        tophat2 -r 20 test_ref reads_1.fq reads_2.fq

        [2014-10-15 12:50:45] Beginning TopHat run (v2.0.11)
        -----------------------------------------------
        [2014-10-15 12:50:45] Checking for Bowtie
        Bowtie version: 2.1.0.0
        [2014-10-15 12:50:45] Checking for Samtools
        Traceback (most recent call last):
        File "/appl/bio/tophat/tophat-2.0.11.Linux_x86_64/tophat", line 4084, in <module>
        sys.exit(main())
        File "/appl/bio/tophat/tophat-2.0.11.Linux_x86_64/tophat", line 3882, in main
        check_samtools()
        File "/appl/bio/tophat/tophat-2.0.11.Linux_x86_64/tophat", line 1556, in check_samtools
        samtools_version_str, samtools_version_arr = get_samtools_version()
        File "/appl/bio/tophat/tophat-2.0.11.Linux_x86_64/tophat", line 1538, in get_samtools_version
        samtools_version_arr = [int(version_match.group(x)) for x in [1,2,3]]
        AttributeError: 'NoneType' object has no attribute 'group'


        Any ideas?
        Thanks

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Are you using new samtools (v.1.x) by chance? TopHat is likely incompatible with the latest samtools (they are now bundling an older version of samtools in TopHat downloads).

          You are running an old Tophat version BTW (current is v.2.0.13).

          Comment

          • konika
            Member
            • Sep 2010
            • 14

            #6
            Thanks, I used the older version of samtools and it fixed.

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
              by SEQadmin2


              Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

              The systematic characterization of the human proteome has
              ...
              07-20-2026, 11:48 AM
            • 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.
              ...
              07-09-2026, 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:41 AM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-20-2026, 11:10 AM
            0 responses
            23 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            45 views
            0 reactions
            Last Post SEQadmin2  
            Working...