Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bwa errors during local installtion #69

Open
ranelmalka100 opened this issue Aug 7, 2024 · 5 comments
Open

bwa errors during local installtion #69

ranelmalka100 opened this issue Aug 7, 2024 · 5 comments

Comments

@ranelmalka100
Copy link

ranelmalka100 commented Aug 7, 2024

Hello :)

I'm trying to locally install crispor, I've started by installing all the required packages according to the requirments.txt file, and it ended successfully :)

Next, I tried to run crispor.py script, using one of my desired sequences as example, as mentioned here -
python ../crispor.py h38 ../ENST00000009589.8.fasta exampleout.tsv.
I also followed the instructions in 'Adding a genome'.

I've got these messages and error -

INFO:root: * running on sequence 'ENST00000009589.8', guideLen=20, seqLen=519
INFO:root:Progress G0QukS5zrvfbiD5rGwRh - bwasw - Searching genome for one 100% identical match to input sequence
[E::bwa_idx_load_from_disk] fail to locate the index files
ERROR:root:Error: could not run command set -o pipefail; true G0QukS5zrvfbiD5rGwRh noIp&&/aldemaslab/nofar/crisporWebsite/bin/Linux/bwa bwasw -b 100 -q 100 -T 20 /aldemasla b/nofar/crisporWebsite/genomes/h38/h38.fa /var/tmp/primer3Inmd623rvl.txt > /var/tmp/primer3In78bghbla.txt.

I manually downloaded all the index files of the human genome from the proposed link, and tried to run the script, but still got the same error.

Can you please help and explain me what am I doing wrong ><

Thanks in advance,
Nofar :-]

@maximilianh
Copy link
Owner

maximilianh commented Aug 7, 2024 via email

@ranelmalka100
Copy link
Author

Thank you for the quick reply!
bwa is indeed working on the machine.
Is there anything else you would recommend to test?

@maximilianh
Copy link
Owner

maximilianh commented Aug 7, 2024 via email

@ranelmalka100
Copy link
Author

ranelmalka100 commented Aug 7, 2024

After adding the the -d flag as you suggested, the command

 set -o pipefail; true G0QukS5zrvfbiD5rGwRh noIp&&/aldemaslab/nofar/crisporWebsite/bin/Linux/bwa bwasw -d -b 100 -q 100 -T 20 /aldemasla b/nofar/crisporWebsite/genomes/h38/h38.fa /var/tmp/primer3Inmd623rvl.txt

Ended successfully.

@ranelmalka100
Copy link
Author

I just found out that the error was a typo in the first command. Instead of hg38 I wrote h38.
After fixing the typo the code ran successfully. Thank you very much for the quick replies and helpful support! :-]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants