CLI interface for Ensembl queries
The objective is to implement the possibilities offered by Ensembl's REST API in a command line application.
git clone https://github.com/W43GVG/Ensembl-CLI
python ensembl-cli.py COMMANDS
python ensembl-cli.py COMMAND --help
Multiple ontologies can be obtained (gene ontology: GO
, sequence ontology: SO
, protein ontology: PR
, uberon: UBERON
).
python ensembl-cli.py onto_id 0000370 SO json
Search ontological terms:
python ensembl-cli.py onto_name TERM FORMAT
Example:
python ensembl-cli.py onto_name tubulin json
W43GVG under the MIT License.
Yates, Andrew et al. “The Ensembl REST API: Ensembl Data for Any Language.” Bioinformatics 31.1 (2014): 143–145.