Now I get a different error:
> Could not open index file GCF_000001405.26_GRCh38_genomic.fna.index.rev.1.bt2
> Could not open index file GCF_000001405.26_GRCh38_genomic.fna.index.rev.2.bt2
(ERR): bowtie2-align died with signal 11 (SEGV)
I have no reverse index files
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-buildcommand may have failed part-way. You should capture the stdout/stderr to capture those messages. You are missingrevfiles 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