Skip to content

Instantly share code, notes, and snippets.

@cx0
Last active October 1, 2020 07:17
Show Gist options
  • Save cx0/d674e31df226199cff49fe6305dc1685 to your computer and use it in GitHub Desktop.
Save cx0/d674e31df226199cff49fe6305dc1685 to your computer and use it in GitHub Desktop.
Fetch a single file (EGAF) or download an entire dataset (EGAD) using EGA credentials.
# check the ports
# openssl s_client -connect ega.ebi.ac.uk:8443
# openssl s_client -connect ega.ebi.ac.uk:8052
# pyEGA3 - EGA python client version 3.4.0
# Python version - 3.7.3
pyega3 -cf default_credential_file.json fetch EGAF00001383154
pyega3 -cf default_credential_file.json fetch EGAD00001000440 --saveto Desktop/ega_output/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment