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

            • kinpict.com
              Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by kinpict.com
              The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
              Today, 06:37 PM
            • SEQadmin2
              16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
              by SEQadmin2





              NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
              10-30-2026, 06:46 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 11-12-2026, 07:59 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-05-2026, 09:25 AM
            0 responses
            35 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 11-03-2026, 11:54 AM
            2 responses
            56 views
            0 reactions
            Last Post kinpict.com  
            Started by SEQadmin2, 10-28-2026, 09:57 AM
            0 responses
            175 views
            0 reactions
            Last Post SEQadmin2  
            Working...