This is a test version of Biostars. For the public version, visit https://www.biostars.org.
bowtie2-build error: Could not open index file for writing

I was running bowtie2-build and encountered the following error. Thanks for help!

bowtie2-build final.contigs.fa final.contigs

Input files DNA, FASTA:

final.contigs.fa

Building a SMALL index

Reading reference sizes

Could not open index file for writing: "final.contigs.3.bt2"

Please make sure the directory exists and that permissions allow writing by Bowtie.

Time reading reference sizes: 00:00:00

Total time for call to driver() for forward index: 00:00:00

Error: Encountered internal Bowtie 2 exception (#1)

bowtie2 index

Please make sure the directory exists and that permissions allow writing by Bowtie.

Are your running this in a directory where you have write permission?

Yes I have write permission. I just figured out the reason. My disk is full. Thanks for help!

Srry Can somebody help me? My problem is in bowtie, i used ubuntu by subsystem of Linux in Windows10. Pls help me :C I was running bowtie-build genomes/NC_008253.fna e_coli_index

Input files DNA,FASTA: genomes/NC_008253.fna Unable to open genomes/NC_008253.fna Total time for call to driver() for forward index: 00:00:00 Command: bowtie-build --wrapper basic-0 genomes/NC_008253.fna e_coli_index

1 answer

Hi, I had the same problem. Bowtie2-build cannot create the folder, I created it and ran again without problems 'bowtie2-build ref.fna foldercreate / xxname'

Log in to answer this question.