kauwelab / PolyRiskScore

PRSKB is a website and command-line interface tool for calculating polygenic risk scores using GWA studies from the NHGRI-EBI Catalog.
26 stars 1 forks source link

Offline Mode #432

Closed ngslabex closed 4 months ago

ngslabex commented 6 months ago

Is it possible to run offline mode? Thanks.

mfasold commented 6 months ago

Maybe I did just run in the same issue.

Do you actually have internet available? PRSKB checks for an existing internet connection in this line. However, that line does not work as intended. I have internet, and the check fails. The tool will continue to run if you comment the line out.

miller34 commented 4 months ago

Yes. You can run the PRSKB in offline mode using the -s option. -s 1 requires internet to pull the database locally, while -s 2 does not require an internet connection. https://polyriskscore.readthedocs.io/en/latest/#step-number-s