Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • E_w
    Junior Member
    • May 2014
    • 1

    #1

    Tophat2 and hg19 - fail to generate fasta from indexes

    Hi!

    I just wanted to do a test run with Tophat2 but it appears more difficult than anticipated...
    So I installed SAMtools and Bowtie2 in the required versions and then used the "make_hg19.sh" script from Bowtie to get the hg19 indexes. So far so good. But now when I run Tophat2 I get this:

    Code:
    tophat2 /usr/bin/bowtie2-2.2.2/indexes/hg19 FASTQ11_1.fq FASTQ12_2.fq 
    
    [2014-05-23 09:56:35] Beginning TopHat run (v2.0.11)
    -----------------------------------------------
    [2014-05-23 09:56:35] Checking for Bowtie
    		  Bowtie version:	 2.2.2.0
    [2014-05-23 09:56:35] Checking for Samtools
    		Samtools version:	 0.1.18.0
    [2014-05-23 09:56:35] Checking for Bowtie index files (genome)..
    [2014-05-23 09:56:35] Checking for reference FASTA file
    	Warning: Could not find FASTA file /usr/bin/bowtie2-2.2.2/indexes/hg19.fa
    [2014-05-23 09:56:35] Reconstituting reference FASTA file from Bowtie index
      Executing: /usr/bin/bowtie2-2.2.2/bowtie2-inspect /usr/bin/bowtie2-2.2.2/indexes/hg19 > ./tophat_out/tmp/hg19.fa
    	[FAILED]
    Error: bowtie-inspect returned an error
    bowtie-inspect: reference.cpp:471: int BitPairReference::getStretch(uint32_t*, size_t, size_t, size_t, SStringExpandable<unsigned int, 1024, 2>&) const: Assertion `0' failed.
    So it doesn't recognize the fasta files in that folder. Possibly because these are by chromosome and do not carry the same name as the index files. Eitherway Tophat2 should be able to reconstruct the fasta file from the index. Can anyone tell me where I went wrong?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Generally you would want to concetenate the chromosome files into a single "genome" fasta and then build indexes from that. Indexes consist of several files and it is conventional that they get the same "base name" as the genome file. (i.e. if your genome file was hg19.fa then the index files would have hg19.* prefix.)

    If you are using standard Hg19 genome then there is no need to build the indexes/fasta file yourself. You can download an archive with these files (and more) along with the annotations from the iGenomes page: http://support.illumina.com/sequenci...e/igenome.ilmn

    Comment

    • WhatsOEver
      Senior Member
      • Apr 2012
      • 215

      #3
      Is there a hg19.fa file in the folder where the bowtie index files have been created? Because this is required by bowtie. If you have it somewhere else, create a symlink in the folder to its location (from within the bowtie index directory: ln -s /path/to/hg19.fa ./hg19.fa). If you have the individual chromosomes as separate fasta file, combine in a single file using "cat ./* > ./hg19.fa" from within a folder where only your chromsome-fastas are in.

      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
        ...
        Yesterday, 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, 05:39 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-13-2026, 09:56 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-09-2026, 11:14 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 09-29-2026, 09:51 AM
      0 responses
      77 views
      0 reactions
      Last Post SEQadmin2  
      Working...