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

    • kinpict.com
      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by kinpict.com
      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
      Today, 06:37 PM
    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2





      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    27 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-03-2026, 11:54 AM
    2 responses
    56 views
    0 reactions
    Last Post kinpict.com  
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    175 views
    0 reactions
    Last Post SEQadmin2  
    Working...