WGLab / PhenoSV

PhenoSV: Interpretable phenotype-aware model for the prioritization of genes affected by structural variants.
MIT License
16 stars 4 forks source link

`setup.sh` downloads full set even if 'light' is selected #3

Closed jsquaredosquared closed 8 months ago

jsquaredosquared commented 8 months ago

Thanks for this helpful tool :grinning:

Can you please update the link in the setup.sh file from: https://www.openbioinformatics.org/PhenoSV/PhenosvFile.tar to: https://www.openbioinformatics.org/PhenoSV/PhenosvlightFile.tar?

Currently, regardless of whether the 'light' option is specified, the link is the same.

Thanks :smile:

Code excerpt ```bash if [[ -z "$version" ]] then if ! test -f "$fpath/PhenosvFile.tar"; then echo "downloading PhenoSV files........" wget https://www.openbioinformatics.org/PhenoSV/PhenosvFile.tar fi echo "unzipping PhenosvFile.tar........" tar -xvf "$fpath/PhenosvFile.tar" rm "$fpath/PhenosvFile.tar" else if ! test -f "$fpath/PhenosvlightFile.tar"; then echo "downloading PhenoSV-light files........" wget https://www.openbioinformatics.org/PhenoSV/PhenosvFile.tar # <------- OFFENDING LINE fi echo "unzipping PhenosvlightFile.tar........" tar -xvf "$fpath/PhenosvlightFile.tar" rm "$fpath/PhenosvlightFile.tar" fi ```
kaichop commented 8 months ago

Done, thank you.