Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • archaeogen
    Junior Member
    • Mar 2016
    • 4

    #1

    Tophat Indexing Help (VM) cmd & bowtie index files

    Hi everyone,

    new to tophat indexing...
    I have 2 fastq files and a fa. reference genome and gtf. gene annotations file.
    I am trying to use tophat to align the fastq files to the reference genome. I have created an index with bowtie and stored it in /home/guest/Index with the name 'athal'.

    I am running tophat from my text editor nano
    sh assign.tophat >& com.tophat.log

    My nano text editor script is the following.
    DATADIR=/file/path/for/fastq files (*not the actual file path name)
    WORKDIR=/file/path/for/output/alignment/file*
    ANNOT=/file/path/for/gtf/gene annotations*
    BWT2IDX=/home/guest/Index/athal (my bowtie index)

    tophat -o $WORKDIR -p 10 -G $ANNOT $BWT2IDX $DATADIR/Day16.fastq $DATADIR/Day8.fastq


    I get the following errors reported in com.tophat.log

    assign.tophat: line 1: Line: command not found
    * this is the same for line 2 & 3
    Then...
    Beginning TopHat run (v2.0.14)
    ------
    checking for Bowtie
    Bowtie version: 2.2.5.0
    Checking Bowtie index files (genome)..
    Error: Could not find Bowtie 2 index files (10.*.bt2)

    I have seen a previous post that could not locate the bowtie index and followed the steps (I had already put the index file path into a line in the text file) but to no success.

    Really at a loss here for answers. Any tips would be amazing!
    I am running ubuntu from a virtual machine (Windows 10)
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    1. $WORKDIR needs to be a directory. It appears to be pointing to files as written above. It can be a new name (generally good to put results from a sample in new dir since all TopHat output files for any sample are named the same).

    If that is not it then check

    2. if TopHat is not in the directory you are running this from them provide the full path to the executable.
    3. In case of the index files you need to provide the "basename" of the index. e.g. are your index files named athal.* (then athal would be the base name).
    Last edited by GenoMax; 04-10-2016, 03:55 AM.

    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, 10-22-2026, 11:13 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    20 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...