Error: Could not find Bowtie 2 index files (Reference.fas.*.bt2l)
1
0
Entering edit mode
8.3 years ago

My tophat2 seems to look for something it does not need.

I have a fasta file of my very small reference genome which is just a small plasmid (~800bp). Of this reference genome I created a bowtie index with the following command:

bowtie2-build -f pJF686.fas pJF686.fas.index

Which nicely results in the expected 6 index files. I have two fasta files (in .txt) of paired-end reads that were the returns from an ilumina sequencing of a plant genome that has fragments of the plasmid supposedly existing at some sites in it. Then I want to align my reads to my reference with the following command:

tophat2 pJF686.fas C49E6ACXX_EP_17_14s002318-1-1_Ibberson_lane814s002318_1_sequence.txt, C49E6ACXX_EP_17_14s002318-1-1_Ibberson_lane814s002318_2_sequence.txt

This returns the following:

[2016-07-28 11:10:38] Beginning TopHat run (v2.1.1)
-----------------------------------------------
[2016-07-28 11:10:38] Checking for Bowtie
          Bowtie version:    2.2.9.0
[2016-07-28 11:10:38] Checking for Bowtie index files (genome)..
Error: Could not find Bowtie 2 index files (pJF686.fas.*.bt2l)

I looked up what a .bt2l file is and found out, that it merely labels bowtie indeces that are large. Since my plasmid is small, bowtie does not make a .bt2l file but a .bt2 file. This .bt2 should be fine. So I guess the error is unspecific.

What could be the problem?

alignment tophat bowtie sequencing software error • 6.4k views
ADD COMMENT
4
Entering edit mode
8.3 years ago
GenoMax 147k

You can't use a comma to separate the file names that you are providing to TopHat when you are using only two files (if the above command line is correct).

If you used pJF686.fas.index (i.e. your index files are pJF686.fas.index.b*) as the basename for the index then you need to use that same name with TopHat command.

ADD COMMENT
0
Entering edit mode

Aha! the basename was the problem. The comma was incorrect, too. Thank you.

ADD REPLY

Login before adding your answer.

Traffic: 2572 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6