Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • feralBiologist
    Member
    • Jun 2011
    • 61

    Weird tophat2 error message

    I am trying to run tophat2 on a set of SE reads:

    Code:
    tophat2 ../../../references/genomes/xen-trop/ens71/xen-trop-4-2-71 CO1_CGATGT_L008.fastq --min-intron-length 6 --max-insertion-length 3 --max-deletion-length 3 --b2-seed 73 --solexa1.3-quals --microexon-search --num-threads 32 --library-type fr-unstranded --no-coverage-search --GTF ../../../references/gtf/xen-trop/ens71/Xenopus_tropicalis.JGI_4.2.71.gtf
    But I am getting a weird error message:

    Code:
    [2013-08-10 14:34:22] Beginning TopHat run (v2.0.9)
    [2013-08-10 14:34:22] Checking for Bowtie
                  Bowtie version:        2.1.0.0
    [2013-08-10 14:34:22] Checking for Samtools
                Samtools version:        0.1.19.0
    [2013-08-10 14:34:22] Checking for Bowtie index files (genome)..
    [2013-08-10 14:34:22] Checking for reference FASTA file 
    [2013-08-10 14:34:22] Generating SAM header for ../../../references/genomes/xen-trop/ens71/xen-trop-4-2-71
    Traceback (most recent call last): File "/galaxy/software/tophat2/2.0.9/tophat", line 4072, in ?
    sys.exit(main())
    File "/galaxy/software/tophat2/2.0.9/tophat", line 3926, in main
    params.read_params = check_reads_format(params, reads_list)
    File "/galaxy/software/tophat2/2.0.9/tophat", line 1829, in check_reads_format
    zf = ZReader(f_name, params)
    File "/galaxy/software/tophat2/2.0.9/tophat", line 1782, in __init__
    self.file=open(filename)
    IOError: [Errno 2] No such file or directory: '--min-intron-length'
    What is going on here? It seems tophat2 is looking for a file/directory when it encounters "--min-intron-length" yet I don't understand why. Can you help?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Are you running this command from the directory where the "CO1_CGATGT_L008.fastq" file is located?

    Try explicitly specifying the file location as: "./CO1_CGATGT_L008.fastq" (without quotes)

    Comment

    • feralBiologist
      Member
      • Jun 2011
      • 61

      #3
      @GenoMax: Yes, I do. I tried "./", too. Interestingly, If I put just:

      Code:
      tophat2 ../../../references/genomes/xen-trop/ens71/xen-trop-4-2-71 CO1_CGATGT_L008.fastq
      than it works. Adding the additional parameters leads to the error. Also, if I submit

      Code:
      tophat2 ../../../references/genomes/xen-trop/ens71/xen-trop-4-2-71 CO1_CGATGT_L008_1.fastq CO1_CGATGT_L008_2.fastq --min-intron-length 6 --max-insertion-length 3 --max-deletion-length 3 --b2-seed 73 --solexa1.3-quals --microexon-search --num-threads 32 --library-type fr-unstranded --no-coverage-search --GTF ../../../references/gtf/xen-trop/ens71/Xenopus_tropicalis.JGI_4.2.71.gtf
      than it works, too. Somehow only the combination of using a single file and additional parameters is leading to the error. But this is a SE sample, so it is a single file so right now my options are to either submitted it with no additional parameters or not submit it at all. It is really bizarre.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        I just commented on this over at biostars, but I'll do so here as well. In short, try:
        Code:
        tophat2 --min-intron-length 6 --max-insertion-length 3 --max-deletion-length 3 --b2-seed 73 --solexa1.3-quals --microexon-search --num-threads 32 --library-type fr-unstranded --no-coverage-search --GTF ../../../references/gtf/xen-trop/ens71/Xenopus_tropicalis.JGI_4.2.71.gtf ../../../references/genomes/xen-trop/ens71/xen-trop-4-2-71 CO1_CGATGT_L008.fastq
        since that's likely to be parsed correctly (write a few programs and you'll start to get a good feeling for why this might occur).

        Comment

        • feralBiologist
          Member
          • Jun 2011
          • 61

          #5
          Thank you dpryan - this was, indeed, the problem. I responded with more detail on biostar: http://www.biostars.org/p/78628/#78704

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            Cool, glad that was an easy fix. You'd be surprised how many programs are affected by this sort of issue.

            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
              ...
              Yesterday, 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:10 AM
            0 responses
            9 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            30 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            41 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Working...