Hello
I am trying to learn Bowtie and I couldn't figure out the error.
First, I downloaded GRCH38 build from NCBI assembly (https://www.ncbi.nlm.nih.gov/assembly/GCF_000001405.39) and using the command bowtie2-build, built indexes of the reference sequence. Got four index bt2 files Then downloaded fasta sequence from NCBI SRA (http://ftp.sra.ebi.ac.uk/vol1/run/ERR235/ERR2356727/24_1.fastq.gz) (http://ftp.sra.ebi.ac.uk/vol1/run/ERR235/ERR2356727/24_2.fastq.gz)
Then aligned with reference sequence using the command: bowtie2 -x GCF_000001405.26_GRCh38_genomic.fna.fna -U 24_1.fastq,24_2.fastq -S eg1.sam
I get the following error: "GCF_000001405.26_GRCh38_genomic.fna.fna" does not exist or is not a Bowtie 2 index
I used the bowtie2 commands to align the sequence but still getting an error. Can someone help with the error here? Is there a way to make sure that I have Bowtie 2 index files
Thanks
Priya
Can you provide the command you used to build your bowtie2 indexes and also provide a listing of
ls -lh GCF*
. Are you sure the indexes were properly made without any errors at the end of that process?Possible multiple issues. Do you have a file with no readable name that is 3.1G? It looks like your
bowtie-build
command may have failed part-way. You should capture the stdout/stderr to capture those messages. You are missingrev
files as you have already discovered.Then look at the log files produced.
The 3.1 GB is the reference file downloaded from NCBI assembly
log.error
log.out
Is that all you get? At least in this part there is no error. Perhaps the process is not yet complete? Assuming you re-ran the command just now it should not take < 5 min to complete the indexing.
Yes. Is there a way to get pre-built indexes for bowtie2?
You can get pre-built indexes from Bowtie SF page. Look in the right column as you scroll down.
I have downloaded fastq files of the reference sequence which created a problem in building indexes. fasta files have to used for building indexes (http://seqanswers.com/forums/showthread.php?t=14673). I downloaded prebuilt indexes for GRCh38 from ftp://ftp.ccb.jhu.edu/pub/data/bowtie2_indexes/grch38_1kgmaj_bt2.zip and I had no issues with alignment. Thank you everyone for their suggestions, it was very helpful