create index ref
1
0
Entering edit mode
4.5 years ago

I entry

bwa index -a bwtsw /Volumes/major/DATASETS/LmjFwholegenome_20070731_V5.2.fasta

and then I have

 [bwa_index] Pack FASTA... [bns_fasta2bntseq] fail to open file 
'/Volumes/major/DATASETS/LmjFwholegenome_20070731_V5.2.fasta.pac' : Read-only file system
alignment • 844 views
ADD COMMENT
0
Entering edit mode

Add -p option to a location you have rights to write into

ADD REPLY
0
Entering edit mode
4.5 years ago

it means you don't have permission to write in that specific location. (More specifically, it seems that specific share is configured to only be read by users, not to write nor execute things there)

BWA has to create additional files when making the index, but typically (or often) this is not permitted in the folders where the software binaries are located.

Try using a different output location (or change the linux permission if you are allowed to)

ADD COMMENT

Login before adding your answer.

Traffic: 1782 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