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

No such file or directory #6

Closed
byposeidon opened this issue Sep 28, 2021 · 2 comments
Closed

No such file or directory #6

byposeidon opened this issue Sep 28, 2021 · 2 comments

Comments

@byposeidon
Copy link

byposeidon commented Sep 28, 2021

Hello,
The application gives error as below.

ubuntu@ubuntu:~/snipsa$ python3 haploy_find.py raw.csv
Loading DB2...
Traceback (most recent call last):
File "haploy_find.py", line 54, in
haploy.load_db2j(min_tree_load_level=min_tree_load_level)
File "/home/ubuntu/snipsa/haploy.py", line 732, in load_db2j
with open(fname, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'haploy_map2j.txt'

ubuntu@ubuntu:~/snipsa$ sudo python3 haploy_db_import.py
Loading SNP DB from ISOGG csv...
Traceback (most recent call last):
File "haploy_db_import.py", line 11, in
haploy.load_snp()
File "/home/ubuntu/snipsa/haploy.py", line 474, in load_snp
with open('SNP Index - Human.csv') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'SNP Index - Human.csv'

@alinja
Copy link
Owner

alinja commented Sep 28, 2021

The first parameter is a 23andme or such file, or one imported from a bam file. Try the GUI.

You need to import the database first. The easy way is to use the imported database in the release zip, but if you want to import yourself, you need to read the source code to see the input file requirements and where to get them.

@byposeidon
Copy link
Author

Thank you so much.

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