Mygene

Latest version: v3.1.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

3.1.0

MyGene.py client is now a thin wrapper of underlying biothings_client.py package, a universal Python client for all BioThings APIs, including MyGene.info.

3.0.0

Migrated to use MyGene.info v3 API (For API changes, see here: http://docs.mygene.info/en/latest/doc/migration_from_v2.html).
Added caching functions (using requests-cache) for all query types except when using "fetch_all". Can turn request caching on with set_caching(), off with stop_caching(). The cache can be cleared with clear_cache().
Made "fetch_all" feature compatible with Elasticsearch v2.x scroll changes.

2.3.0

Return None when input geneid does not exist for getgene method.
Switched to using requests for GET and POST from httplib2.
New "get_fields" method to search for matching field names.
New "fetch_all" parameter for query method to retrieve large query.

2.2.0

Support returning gene hits as a Pandas DataFrame (if Pandas is available)
Included "alwayslist" helper function

2.1.0

Python3 support.
Python2 support on v2.6 and up.

2.0.1

"fields" parameter in "querymany" method now accepts a list as well, besides a comma-separated string.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.