compomics / ms2pip

MS²PIP: Fast and accurate peptide spectrum prediction for multiple fragmentation methods, instruments, and labeling techniques.
https://ms2pip.readthedocs.io
Apache License 2.0
35 stars 18 forks source link

download models ahead of time #163

Closed Seb-Leb closed 2 years ago

Seb-Leb commented 2 years ago

hello my HPC platform doesn't allow connection to the internet. How do I simply download the models without running ms2pip. I can't seem to import predict_xgboost.py module because of circular import? I thought I would use the download_model function? thanks

RalfG commented 2 years ago

Hi @Seb-Leb,

You can download the models manually from our share: http://genesis.ugent.be/uvpublicdata/ms2pip/ and place them in the ~/.ms2pip directory.

Do you have access to the home directory on your HPC platform? If not, we will have to add an option to MS²PIP to configure a custom model file. This is something I now realize we should do anyway.

Seb-Leb commented 2 years ago

I do have a home directory on our HPC. Ok, so I just put the models in $HOME/.ms2pip/ ?

RalfG commented 2 years ago

Indeed, all the models you'll be using can be downloaded and added to $HOME/.ms2pip/