alinja / snipsa

Tools for analyzing raw DNA test data files. Shows Y chromosome and mitochondrial mtDNA haplogroups. LGPLv3 - use freely but share improvements.
GNU Lesser General Public License v3.0
11 stars 3 forks source link

No such file or directory #6

Closed byposeidon closed 3 years ago

byposeidon commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Thank you so much.