Unconfigured Ad

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

    #1

    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
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:13 AM
            0 responses
            19 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...