Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • panagiotis
    Junior Member
    • Sep 2012
    • 7

    #1

    Possible tophat 2.0.6 bug?

    Hi all,

    I am trying to use tophat to map SOLiD colorspace pair-end (50x35) reads with tophat. However, when I tried with the standard procedure which looks something like:

    Code:
    tophat --color --quals --num-threads 8 --coverage-search --library-type fr-secondstrand --output-dir ./tophat_out --prefilter-multihits --keep-tmp --GTF /opt/iGenomes/Homo_sapiens/UCSC/hg19/Annotation/Genes/genes.gtf --bowtie1 /opt/NGSTools/Bowtie/indexes/hg19_c ./CON_BR1_F3.csfasta ./CON_BR1_F5.csfasta ./CON_BR1_F3_QV.qual ./CON_BR1_F5_QV.qual
    I got the following error:

    Code:
    [2012-12-20 16:07:24] Beginning TopHat run (v2.0.6)
    -----------------------------------------------
    [2012-12-20 16:07:24] Checking for Bowtie
    		  Bowtie version:	 0.12.8.0
    [2012-12-20 16:07:24] Checking for Samtools
    		Samtools version:	 0.1.18.0
    [2012-12-20 16:07:24] Checking for Bowtie index files
    [2012-12-20 16:07:24] Checking for reference FASTA file
    	Warning: Could not find FASTA file /opt/NGSTools/Bowtie/indexes/hg19_c.fa
    [2012-12-20 16:07:24] Reconstituting reference FASTA file from Bowtie index
      Executing: /opt/NGSTools/Bowtie/bowtie-inspect /opt/NGSTools/Bowtie/indexes/hg19_c > ./tophat_out/tmp/hg19_c.fa
    [2012-12-20 16:11:08] Generating SAM header for /opt/NGSTools/Bowtie/indexes/hg19_c
    	format:		 fasta
    [2012-12-20 16:11:30] Reading known junctions from GTF file
    [2012-12-20 16:11:36] Pre-filtering multi-mapped left reads
    [2012-12-20 16:11:36] Mapping CON_BR1_F3 to genome hg19_c with Bowtie 
    	[FAILED]
    Error running bowtie:
    Error: reads file does not look like a FASTA file
    terminate called after throwing an instance of 'int'
    I checked and re-checked many things regarding my file formats and checked the logs. Eventually, I found that the tophat wrapper is launching prep_reads which does not produce fasta output (rather fastq output), while the subsequent bowtie command assumes fasta format from stdin. So what I did was to edit tophat.py, and commented out the lines 2164-2165

    Code:
            #elif reads_format == "fasta":
            #    bowtie_cmd += ["-f"]
    and saved to my_tophat.py in order to use specifically with my data.

    This was not of course the right way to do, so my question is, am I doing something wrong, or somebody else here has encountered this before. Is it a tophat bug?

    Thanks!
  • panagiotis
    Junior Member
    • Sep 2012
    • 7

    #2
    My workaround fixes the problem but I also just noticed that the problem does not appear without the --prefilter-multihits option and the untouched tophat python script. So it is quite possible that it is a tophat 2.0.6 bug with csfasta input and the --prefilter-multihits option...

    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
    21 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...