Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mixter
    Member
    • May 2010
    • 22

    Tophat 2.0.4 and GTF conversion failure -- bug?

    Hello,

    I'm experiencing the following problem with tophat2 and haven't seen it described before nor able to debug it yet. I hope someone can make suggestions. Note that I can use my tophat installation normally when not supplying the option -G annotation.gtf

    I ran tophat as follows:

    Code:
    $ tophat -G hg19.igenomeAnnotation2012.gtf -o TophatOut -p 4 --b2-sensitive genomes/hg19/hg19 Bcell.1.RNAseq.txt
    
    [2012-07-09 15:17:50] Beginning TopHat run (v2.0.4)
    -----------------------------------------------
    [2012-07-09 15:17:50] Checking for Bowtie
                      Bowtie version:        2.0.0.6
    [2012-07-09 15:17:50] Checking for Samtools
                    Samtools version:        0.1.18.0
    [2012-07-09 15:17:50] Checking for Bowtie index files
    [2012-07-09 15:17:50] Checking for reference FASTA file
    [2012-07-09 15:17:50] Generating SAM header for /genomes/hg19/hg19
            format:          fastq
            quality scale:   phred33 (default)
    [2012-07-09 15:18:39] Reading known junctions from GTF file
            Warning: TopHat did not find any junctions in GTF file
    [2012-07-09 15:18:39] Preparing reads
             left reads: min. length=36, max. length=36, 24797173 kept reads (41782 discarded)
    [2012-07-09 15:26:55] Creating transcriptome data files..
    [2012-07-09 15:27:50] Building Bowtie index from hg19.igenomeAnnotation2012.fa
            [FAILED]
    Error: Couldn't build bowtie index with err = 1
    I then looked at the converted GTF file, which was empty:

    Code:
    $ ls -la TophatOut/tmp
    -rw-rw-r--. 1 me me       864  9. Jul 15:18 hg19_genome.bwt.samheader.sam
    -rw-rw-r--. 1 me me         0  9. Jul 15:26 hg19.igenomeAnnotation2012.fa
    -rw-rw-r--. 1 me me         0  9. Jul 15:18 hg19.juncs
    -rw-rw-r--. 1 me me 817177304  9. Jul 15:26 left_kept_reads.bam
    -rw-rw-r--. 1 me me    579376  9. Jul 15:26 left_kept_reads.bam.index
    -rw-rw-r--. 1 me me       690  9. Jul 15:18 temp.samheader.sam
    I then tried to convert the GTF to fasta manually, and it seems to just crash:

    Code:
    $ tophat/gtf_to_fasta genomes/hg19.igenomeAnnotation2012.gtf hg19.test.fa
    tophat/gtf_to_fasta: /lib64/libz.so.1: no version information available (required by tophat/gtf_to_fasta)
    terminate called after throwing an instance of 'std::logic_error'
      what():  basic_string::_S_construct NULL not valid
    Due to the libz warning, I also tried compiling tophat from source (x64 linux system here, Scientific Linux 6.1 to be exact). This eliminated the warning, but I still got the error:

    Code:
    $ tophat-2.0.4/src/gtf_to_fasta genomes/hg19.igenomeAnnotation2012.gtf 
    terminate called after throwing an instance of 'std::logic_error'
      what():  basic_string::_S_construct NULL not valid
    Abgebrochen
    Any suggestions would be much appreciated!
  • mixter
    Member
    • May 2010
    • 22

    #2
    Addendum: This seems to be a non-issue. I found that the GTF file in question was actually corrupted.

    Nicer error reporting to spot errors from tophat's utilities would be appreciated in future releases, though

    Comment

    • adamhfreedman
      Junior Member
      • Oct 2010
      • 8

      #3
      I am getting the same error msg with gtf_to_fasta when run as a stand alone, i.e.

      /lib64/libz.so.1: no version information available (required by /n/home05/afreedman/minreq/tophat-2.0.8.Linux_x86_64/gtf_to_fasta)
      terminate called after throwing an instance of 'std::logic_error'
      what(): basic_string::_S_construct NULL not valid



      but when using the -G option with tophat, it runs just fine. In other words, the problem isn't with the format of the gtf file.

      anyone have a sense of what might be going on and how to fix it?
      Adam H. Freedman
      Dept. of OEB, Harvard University

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM
      • SEQadmin2
        From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
        by SEQadmin2


        Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


        The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
        ...
        06-02-2026, 10:05 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      30 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      44 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      49 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      50 views
      0 reactions
      Last Post SEQadmin2  
      Working...