Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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

    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      Yesterday, 07:01 AM
    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    59 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    57 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    47 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    55 views
    0 likes
    Last Post seqadmin  
    Working...
    X