Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • papori
    Senior Member
    • Dec 2010
    • 181

    #1

    Tophat - Error: gtf_to_fasta returned an error.

    Hi all,
    i am trying to use tophat with annotation file.
    i am working on zv9 annotations from UCSC.
    i fixed the original gtf file to match the first column in it to reference sequence in the bowtie index.
    for example:
    GTF - (2 first lines)
    #chrom strand txStart txEnd cdsStart cdsEnd exonCount exonStarts exonEnds score name2 cdsStartStat cdsEndStat exonFrames
    chr1 + 50321633 50410568 50322024 50393582 11 50321633,50323684,50327722,50376641,50384688,50384995,50387281,50388021,50392530,50393547,50409289, 50322231,50323751,50327850,50376774,50384782,50385109,50387444,50388129,50392579,50393588,50410568, 0 lef1 cmplcmpl 0,0,1,0,1,2,2,0,0,1,-1,

    REFERENCE - (2 first lines)
    >chr1
    TTCTTCTGGGGAAAGTCTGATTTGATTTATTTCCCTTTTAAGATCAATATTATTAGCCCC

    when i execute tophat without the GTF it all run well.
    now i am having this error:
    Error: gtf_to_fasta returned an error.

    My command:
    nohup ./tophat -r 430 -p 10 -z 0 -G ../annotation /mnt/FILE/index/zvgenome ../ex1/R1_001.fastq ../ex1/R2_001.fastq &

    Does anyone familiar with this?

    Best,
    Pap
  • papori
    Senior Member
    • Dec 2010
    • 181

    #2
    this is all the output

    [Thu Feb 9 06:59:47 2012] Beginning TopHat run (v1.4.0)
    -----------------------------------------------
    [Thu Feb 9 06:59:47 2012] Preparing output location ./tophat_out/
    [Thu Feb 9 06:59:47 2012] Checking for Bowtie index files
    [Thu Feb 9 06:59:47 2012] Checking for reference FASTA file
    [Thu Feb 9 06:59:47 2012] Checking for Bowtie
    Bowtie version: 0.12.7.0
    [Thu Feb 9 06:59:47 2012] Checking for Samtools
    Samtools Version: 0.1.18
    [Thu Feb 9 06:59:47 2012] Generating SAM header for /mnt/FILE/index/zvgenome
    format: fastq
    quality scale: phred33 (default)
    [Thu Feb 9 06:59:51 2012] Reading known junctions from GTF file
    Warning: TopHat did not find any junctions in GTF file
    [Thu Feb 9 06:59:51 2012] Preparing reads
    left reads: min. length=101, count=21379580
    right reads: min. length=101, count=21310206
    [Thu Feb 9 07:08:54 2012] Creating transcriptome data files..
    [FAILED]
    Error: gtf_to_fasta returned an error.

    Comment

    • lakshmaa
      Member
      • Jun 2010
      • 11

      #3
      I get the same error and I working with zv9(zebra Fish genome) . Can anyone please help me with this?

      Comment

      • yingzhang
        Junior Member
        • Feb 2012
        • 9

        #4
        I don't think your GTF file is in the right format.

        According to UCSC, GTF file contains 9 column:
        <seqname> <source> <feature> <start> <end> <score> <strand> <frame> [attributes]



        Originally posted by papori View Post
        Hi all,
        i am trying to use tophat with annotation file.
        i am working on zv9 annotations from UCSC.
        i fixed the original gtf file to match the first column in it to reference sequence in the bowtie index.
        for example:
        GTF - (2 first lines)
        #chrom strand txStart txEnd cdsStart cdsEnd exonCount exonStarts exonEnds score name2 cdsStartStat cdsEndStat exonFrames
        chr1 + 50321633 50410568 50322024 50393582 11 50321633,50323684,50327722,50376641,50384688,50384995,50387281,50388021,50392530,50393547,50409289, 50322231,50323751,50327850,50376774,50384782,50385109,50387444,50388129,50392579,50393588,50410568, 0 lef1 cmplcmpl 0,0,1,0,1,2,2,0,0,1,-1,

        REFERENCE - (2 first lines)
        >chr1
        TTCTTCTGGGGAAAGTCTGATTTGATTTATTTCCCTTTTAAGATCAATATTATTAGCCCC

        when i execute tophat without the GTF it all run well.
        now i am having this error:
        Error: gtf_to_fasta returned an error.

        My command:
        nohup ./tophat -r 430 -p 10 -z 0 -G ../annotation /mnt/FILE/index/zvgenome ../ex1/R1_001.fastq ../ex1/R2_001.fastq &

        Does anyone familiar with this?

        Best,
        Pap

        Comment

        • paula123
          Junior Member
          • May 2012
          • 3

          #5
          Genome file of Entamoeba in GTF format

          Hi,
          I am working with entamoeba histolytica data. I need entamoeba histolytica reference genome data in GTF format. I got the file in genebank format but unable to find out in GTF format. If any one can provide me the appropriate link, I would be very grateful.

          Comment

          • havard
            Junior Member
            • Apr 2010
            • 2

            #6
            Hi,

            I had the same problem, but think I have solved it now. I believe the error occurs because the fasta file name is different from the index files and/or gtf file. So if your index and gtf base is Danio_rerio. then your fasta file should be Danio_rerio.fa.

            Comment

            • xfh
              Member
              • Jan 2011
              • 26

              #7
              hi, i also have that problem. here the chromosome name is same between index and gtf. the file name of index, fa, gtf is hg18_ref. anyone can help me?

              Comment

              • tulipnandu
                Junior Member
                • Feb 2013
                • 4

                #8
                Tophat problem gtf to fasta

                Many have faced the same problem. Actually I just overcame the problem. Follow the steps and see if you can too.
                1. 1.Go on the following link and select the genome you want to download. In my case I downloaded the mm10 mouse genome UCSC. (http://cufflinks.cbcb.umd.edu/igenomes.html)
                2. 2. Unzip the file. You will see mm10/Annotation mm10/Sequence. These folders inside them have all the files required for the tophat run. Just make sure the paths while running the tophat command are directed to them.
                3. 3.Here is the code I used:
                  tophat -p 8 --keep-fasta-order --no-coverage-search --library-type fr-firststrand -G Mus_musculus/UCSC/mm10/Annotation/Archives/archive-2014-05-23-16-05-10/Genes/genes.gtf --transcriptome-index Mus_musculus/UCSC/mm10/Annotation/Genes/transcriptome_index_bt2/genes -g 10 --output-dir shP1_4hr_n1 Mus_musculus/UCSC/mm10/Sequence/Bowtie2Index/genome *.fastq.gz


                In the above case the archive has the UCSC genes.gtf file which already has the chr annotation to it and the gene names. Make sure you don't rename those files. Also then the output file to the transcriptome index has to be something like Mus_musculus/UCSC/mm10/Annotation/Genes/transcriptome_index_bt2/genes , I don't know somehow that worked. Then the index files are in the Sequence/Bowtie2Index folder, you can also use the bowtie1 Index file. Last is the input.

                Hope this helps. If it doesn't let me know and I can help you further.

                Tulip.

                Comment

                • tulipnandu
                  Junior Member
                  • Feb 2013
                  • 4

                  #9
                  Many have faced the same problem. Actually I just overcame the problem. Follow the steps and see if you can too.
                  1. 1.Go on the following link and select the genome you want to download. In my case I downloaded the mm10 mouse genome UCSC. (http://cufflinks.cbcb.umd.edu/igenomes.html)
                  2. 2. Unzip the file. You will see mm10/Annotation mm10/Sequence. These folders inside them have all the files required for the tophat run. Just make sure the paths while running the tophat command are directed to them.
                  3. 3.Here is the code I used:
                    tophat -p 8 --keep-fasta-order --no-coverage-search --library-type fr-firststrand -G Mus_musculus/UCSC/mm10/Annotation/Archives/archive-2014-05-23-16-05-10/Genes/genes.gtf --transcriptome-index Mus_musculus/UCSC/mm10/Annotation/Genes/transcriptome_index_bt2/genes -g 10 --output-dir shP1_4hr_n1 Mus_musculus/UCSC/mm10/Sequence/Bowtie2Index/genome *.fastq.gz


                  In the above case the archive has the UCSC genes.gtf file which already has the chr annotation to it and the gene names. Make sure you don't rename those files. Also then the output file to the transcriptome index has to be something like Mus_musculus/UCSC/mm10/Annotation/Genes/transcriptome_index_bt2/genes , I don't know somehow that worked. Then the index files are in the Sequence/Bowtie2Index folder, you can also use the bowtie1 Index file. Last is the input.

                  Hope this helps. If it doesn't let me know and I can help you further.

                  Tulip.

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