genepi / haplogrep3

Free mtDNA Haplogroup Classification Service
https://haplogrep.i-med.ac.at/
MIT License
20 stars 1 forks source link

Incomplete installation documentation or release packaging error. #37

Open vruano opened 3 months ago

vruano commented 3 months ago

Hi, recently I downloaded v3.2.1 for linux a and followed the simple instruction given in docs/installation.md.

However when executing haplogrep3 (without argument at least) it complains it cannot find tree.yaml.

$ ./haplogrep3

Haplogrep 3 3.2.1                                                                                           
(c) 2022-2023 Sebastian Schönherr, Hansi Weissensteiner, Lukas Forer                                                                                                     
Loading configuration from file 'haplogrep3.yaml' failed.                        
/..../haplogrep3-3.2.1/trees/phylotree-fu-rcrs/1.2/tree.yaml (No such file or directory) `

It turns out that there is another zip file ./trees/phylotree-fu-rcrs/1.2/package.zip that when unzipped at its parent directory produces the missing yaml together with other files that overwrite some files that are already "unzip".

I guess the best course of action would be remove the second unzip step and include every needed file directly in the main zip file.

seppinho commented 1 month ago

Hi, can you please try again with the latest version (v3.2.2) and see if the problem still persists?

Thanks! Sebastian