BioClients 0.2.15__tar.gz → 0.2.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chembl/Utils.py +14 -11
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/hugo/Utils.py +23 -13
- BioClients-0.2.16/BioClients/oncotree/Client.py +73 -0
- BioClients-0.2.16/BioClients/oncotree/Utils.py +68 -0
- BioClients-0.2.16/BioClients/ubkg/Client.py +111 -0
- BioClients-0.2.16/BioClients/ubkg/Utils.py +219 -0
- BioClients-0.2.16/BioClients/wikidata/__init__.py +1 -0
- BioClients-0.2.16/BioClients/wikipathways/__init__.py +1 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients.egg-info/PKG-INFO +5 -5
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients.egg-info/SOURCES.txt +6 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/PKG-INFO +5 -5
- {BioClients-0.2.15 → BioClients-0.2.16}/README.md +4 -4
- {BioClients-0.2.15 → BioClients-0.2.16}/setup.py +1 -1
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/allen/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/allen/brain/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/allen/brain/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/allen/brain/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/amp/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/amp/t2d/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/amp/t2d/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/amp/t2d/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/bindingdb/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/bindingdb/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/bindingdb/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/biogrid/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/biogrid/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/biogrid/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/bioregistry/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/bioregistry/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/bioregistry/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/brenda/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/brenda/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/brenda/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cas/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cas/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cas/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cdc/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cdc/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cdc/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cfde/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cfde/cfchemdb/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cfde/cfchemdb/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/cfde/cfchemdb/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chebi/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chebi/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chebi/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chem2bio2rdf/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chem2bio2rdf/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chem2bio2rdf/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chem2bio2rdf/slap/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chem2bio2rdf/slap/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chem2bio2rdf/slap/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chembl/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chembl/FetchByID.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chembl/UnichemClient.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chembl/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chemidplus/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chemidplus/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/chemidplus/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/clinicaltrials/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/clinicaltrials/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/clinicaltrials/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/disgenet/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/disgenet/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/disgenet/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/dnorm/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/dnorm/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/drugcentral/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/drugcentral/Test.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/drugcentral/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/drugcentral/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/identifiers/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/identifiers/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/identifiers/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/unichem/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/unichem/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/emblebi/unichem/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ensembl/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ensembl/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ensembl/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ensembl/biomart/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ensembl/biomart/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ensembl/biomart/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/fda/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/fda/aer/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/fda/aer/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/fda/aer/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/geneontology/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/geneontology/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/geneontology/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/glygen/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/glygen/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/glygen/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/gtex/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/gtex/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/gtex/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/gwascatalog/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/gwascatalog/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/gwascatalog/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/hubmap/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/hubmap/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/hubmap/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/hugo/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/hugo/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/humanbase/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/humanbase/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/icite/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/icite/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/icite/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/pharos/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/pharos/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/pharos/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/rss/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/rss/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/rss/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tcrd/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tcrd/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tcrd/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tiga/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tiga/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tiga/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tinx/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tinx/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/idg/tinx/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/iuphar/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/iuphar/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/iuphar/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/jensenlab/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/jensenlab/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/jensenlab/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/Client_lincscloud.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/sigcom/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/sigcom/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/lincs/sigcom/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/archs4/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/archs4/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/archs4/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/harmonizome/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/harmonizome/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/maayanlab/harmonizome/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/connect/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/connect/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/connect/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/genetics/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/genetics/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/medline/genetics/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/mesh/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/mesh/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/mesh/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/monarch/Biolink.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/monarch/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/monarch/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/monarch/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/mygene/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/mygene/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/mygene/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncats/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncats/gsrs/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncats/gsrs/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncats/gsrs/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncbo/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncbo/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/ncbo/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/omim/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/omim/__init__.py +0 -0
- {BioClients-0.2.15/BioClients/openphacts → BioClients-0.2.16/BioClients/oncotree}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/openphacts/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/openphacts/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/opentargets → BioClients-0.2.16/BioClients/openphacts}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/opentargets/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/opentargets/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/pdb → BioClients-0.2.16/BioClients/opentargets}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/panther/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/panther/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pdb/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pdb/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/pubchem/ftp → BioClients-0.2.16/BioClients/pdb}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/pubchem/soap → BioClients-0.2.16/BioClients/pubchem/ftp}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_actives.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_assay_fetch.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_assay_results.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_assay_search.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_assaysim.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_compound_assaystats.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/ftp/pubchem_ftp_gini_index.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/rdf/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/rdf/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/soap/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/soap/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/pubtator → BioClients-0.2.16/BioClients/pubchem/soap}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/soap/pug_aids2assays.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/soap/pug_ids2mols.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubchem/soap/pug_substance_search.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubmed/App_XML.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubmed/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubmed/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubmed/Utils_XML.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubmed/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubtator/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/pubtator/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/rxnorm → BioClients-0.2.16/BioClients/pubtator}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/reactome/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/reactome/SMBL_utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/reactome/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/reactome/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/rxnorm/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/rxnorm/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/stringdb → BioClients-0.2.16/BioClients/rxnorm}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/stringdb/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/stringdb/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/tcga → BioClients-0.2.16/BioClients/stringdb}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/tcga/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/tcga/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/umls → BioClients-0.2.16/BioClients/tcga}/__init__.py +0 -0
- {BioClients-0.2.15/BioClients/uniprot → BioClients-0.2.16/BioClients/ubkg}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/umls/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/umls/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/db → BioClients-0.2.16/BioClients/umls}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/uniprot/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/uniprot/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/graphql → BioClients-0.2.16/BioClients/uniprot}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/db/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/hdf → BioClients-0.2.16/BioClients/util/db}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/graphql/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/igraph → BioClients-0.2.16/BioClients/util/graphql}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/hdf/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/neo4j → BioClients-0.2.16/BioClients/util/hdf}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/igraph/App.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/igraph/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/obo → BioClients-0.2.16/BioClients/util/igraph}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/neo4j/App.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/neo4j/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/owl → BioClients-0.2.16/BioClients/util/neo4j}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/obo/App.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/obo/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/pandas → BioClients-0.2.16/BioClients/util/obo}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/owl/App.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/owl/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/rdf → BioClients-0.2.16/BioClients/util/owl}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/pandas/App.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/pandas/Csv2Html.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/pandas/Csv2Markdown.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/pandas/Csv2Sql.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/pandas/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/rest → BioClients-0.2.16/BioClients/util/pandas}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/rdf/App.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/rdf/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/sparql → BioClients-0.2.16/BioClients/util/rdf}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/rest/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/xml → BioClients-0.2.16/BioClients/util/rest}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/sparql/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/sparql/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/util/yaml → BioClients-0.2.16/BioClients/util/sparql}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/xml/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/wikidata → BioClients-0.2.16/BioClients/util/xml}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/util/yaml/Utils.py +0 -0
- {BioClients-0.2.15/BioClients/wikipathways → BioClients-0.2.16/BioClients/util/yaml}/__init__.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/wikidata/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/wikidata/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/wikipathways/Client.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients/wikipathways/Utils.py +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients.egg-info/dependency_links.txt +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/BioClients.egg-info/top_level.txt +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/LICENSE +0 -0
- {BioClients-0.2.15 → BioClients-0.2.16}/setup.cfg +0 -0
|
@@ -161,32 +161,35 @@ def ListTargets(skip, nmax, api_host=API_HOST, api_base_path=API_BASE_PATH, fout
|
|
|
161
161
|
|
|
162
162
|
#############################################################################
|
|
163
163
|
def GetTarget(ids, base_url=BASE_URL, fout=None):
|
|
164
|
-
'''One row per target.
|
|
164
|
+
'''One row per target. If one-component, single protein, include UniProt accession, and gene symbol.'''
|
|
165
165
|
n_tgt=0; n_cmt=0; n_out=0; tags=None; df=None; tq=None;
|
|
166
|
+
tags_tgt = ["target_chembl_id", "target_type", "organism", "tax_id", "pref_name", "species_group_flag"]
|
|
167
|
+
tags_cmt = ["accession", "gene_symbol"]
|
|
168
|
+
|
|
166
169
|
for id_this in ids:
|
|
167
170
|
response = requests.get(f"{base_url}/target/{id_this}.json")
|
|
168
171
|
if response.status_code != 200:
|
|
169
172
|
logging.error(f"status_code: {response.status_code}")
|
|
170
173
|
continue
|
|
171
174
|
result = response.json()
|
|
175
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
172
176
|
n_tgt+=1
|
|
173
177
|
if not tq: tq = tqdm.tqdm(total=len(ids), unit="tgts")
|
|
174
178
|
tq.update()
|
|
175
|
-
if n_tgt==1
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
if type(result[tag]) in (dict, list, tuple):
|
|
179
|
-
tags.remove(tag)
|
|
180
|
-
logging.debug(f'Ignoring field ({type(result[tag])}): "{tag}"')
|
|
181
|
-
tags.extend(["component_count", "accession"])
|
|
182
|
-
fout.write('\t'.join(tags)+'\n')
|
|
183
|
-
logging.debug(json.dumps(result,sort_keys=True,indent=2))
|
|
184
|
-
vals = [str(result[tag]) if tag in result else "" for tag in tags]
|
|
179
|
+
if n_tgt==1:
|
|
180
|
+
fout.write('\t'.join(tags_tgt+["accession"]+tags_cmt)+'\n')
|
|
181
|
+
vals = [str(result[tag]) if tag in result else "" for tag in tags_tgt]
|
|
185
182
|
if "target_components" in result and result["target_components"]:
|
|
186
183
|
cmts = result["target_components"]
|
|
187
184
|
n_cmt+=len(cmts)
|
|
188
185
|
vals.append(f"{len(cmts)}")
|
|
189
186
|
vals.append(str(cmts[0]["accession"]) if len(cmts)==1 else "")
|
|
187
|
+
gene_symbol = ""
|
|
188
|
+
if "target_component_synonyms" in cmts[0]:
|
|
189
|
+
for syn in cmts[0]["target_component_synonyms"]:
|
|
190
|
+
if syn["syn_type"] == "GENE_SYMBOL":
|
|
191
|
+
gene_symbol = syn["component_synonym"]
|
|
192
|
+
vals.append(gene_symbol)
|
|
190
193
|
else:
|
|
191
194
|
logging.debug(f"no-component target: {vals[0]}")
|
|
192
195
|
vals.extend(["", ""])
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Utility functions for HUGO REST API.
|
|
4
4
|
See: https://www.genenames.org/help/rest-web-service-help
|
|
5
5
|
"""
|
|
6
|
-
import sys,os,re,requests,json,time,logging
|
|
6
|
+
import sys,os,re,requests,json,time,logging,tqdm
|
|
7
7
|
import pandas as pd
|
|
8
8
|
|
|
9
9
|
#
|
|
@@ -49,10 +49,12 @@ def ListStoredFields(base_url=BASE_URL, fout=None):
|
|
|
49
49
|
def GetGenes(qrys, ftypes, skip=0, base_url=BASE_URL, fout=None):
|
|
50
50
|
'''The API can return multiple hits for each query, though should not
|
|
51
51
|
for exact SYMBOL fetch. One case is for RPS15P5, status "Entry Withdrawn".'''
|
|
52
|
-
n_in=0; n_found=0; n_notfound=0; n_ambig=0;
|
|
53
|
-
tags=
|
|
52
|
+
n_in=0; n_found=0; n_notfound=0; n_ambig=0; n_out=0;
|
|
53
|
+
tags=None; df=None; tq=None;
|
|
54
54
|
logging.debug(f"ftypes[{len(ftypes)}]: {str(ftypes)}")
|
|
55
55
|
for qry in qrys:
|
|
56
|
+
if not tq: tq = tqdm.tqdm(total=len(qrys)-skip)
|
|
57
|
+
tq.update()
|
|
56
58
|
n_in+=1
|
|
57
59
|
if n_in<skip: continue
|
|
58
60
|
logging.debug(f"{n_in}. query: {qry}")
|
|
@@ -79,20 +81,28 @@ for exact SYMBOL fetch. One case is for RPS15P5, status "Entry Withdrawn".'''
|
|
|
79
81
|
logging.warning(f"Multiple ({len(genes)}) hits, {ftype_hit} = {qry} (Duplicate may be status=withdrawn.)")
|
|
80
82
|
n_ambig+=1
|
|
81
83
|
for gene in genes:
|
|
82
|
-
|
|
84
|
+
gene_data = {'query':[qry], 'field':[ftype_hit]}
|
|
85
|
+
for tag in gene.keys():
|
|
83
86
|
if tag in ("prev_symbol", "prev_name", "alias_symbol"):
|
|
84
|
-
|
|
87
|
+
gene_data[tag] = [";".join(gene[tag])]
|
|
85
88
|
elif type(gene[tag]) in (list, dict):
|
|
86
|
-
|
|
89
|
+
continue
|
|
90
|
+
elif tags is not None and tag not in tags:
|
|
91
|
+
continue
|
|
87
92
|
else:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
gene_data[tag] = [gene[tag]]
|
|
94
|
+
if not tags:
|
|
95
|
+
tags = gene_data.keys()
|
|
96
|
+
logging.debug(f"tags: {tags}")
|
|
97
|
+
for tag in (set(tags) - set(gene_data.keys())):
|
|
98
|
+
gene_data[tag] = [None] #add missing fields
|
|
99
|
+
df_this = pd.DataFrame(gene_data)
|
|
100
|
+
df_this = df_this[tags] #reorder cols
|
|
101
|
+
if fout: df_this.to_csv(fout, "\t", index=False, header=bool(n_out==0))
|
|
93
102
|
else: df = pd.concat([df, df_this])
|
|
94
|
-
|
|
95
|
-
|
|
103
|
+
n_out+=1
|
|
104
|
+
if tq is not None: tq.close()
|
|
105
|
+
logging.info(f"queries: {n_in-skip}; n_found: {n_found}; n_notfound: {n_notfound}; n_ambig: {n_ambig}; n_out: {n_out}")
|
|
96
106
|
return df
|
|
97
107
|
|
|
98
108
|
##############################################################################
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
See: https://oncotree.mskcc.org/
|
|
4
|
+
See: https://oncotree.mskcc.org/#/home
|
|
5
|
+
"""
|
|
6
|
+
###
|
|
7
|
+
import sys,os,re,argparse,time,json,logging
|
|
8
|
+
import pandas as pd
|
|
9
|
+
#
|
|
10
|
+
from .. import oncotree
|
|
11
|
+
#
|
|
12
|
+
##############################################################################
|
|
13
|
+
if __name__=='__main__':
|
|
14
|
+
QUERY_TYPES = ["umls", "name", "nci", "level", "code", "mainType"]
|
|
15
|
+
epilog='''\
|
|
16
|
+
'''
|
|
17
|
+
parser = argparse.ArgumentParser(description='Oncotree REST API client', epilog=epilog)
|
|
18
|
+
ops = ['search', 'get', 'info', 'list_versions', 'list_main_types', 'list_tumor_types']
|
|
19
|
+
parser.add_argument("op", choices=ops, help='OPERATION')
|
|
20
|
+
parser.add_argument("--o", dest="ofile", help="output (TSV)")
|
|
21
|
+
parser.add_argument("--i", dest="ifile", help="ID file")
|
|
22
|
+
parser.add_argument("--ids", help="IDs, comma-separated")
|
|
23
|
+
parser.add_argument("--query", help="search query")
|
|
24
|
+
parser.add_argument("--query_type", choices=QUERY_TYPES, help=f"query type, one of: {QUERY_TYPES}")
|
|
25
|
+
parser.add_argument("--exact_match", action="store_true", help="search criterion")
|
|
26
|
+
parser.add_argument("--query_levels", default="2,3,4,5", help=f"query levels, 1-5, comma-separated list")
|
|
27
|
+
parser.add_argument("--nmax", type=int, default=None, help="max records")
|
|
28
|
+
parser.add_argument("--skip", type=int, default=0, help="skip 1st SKIP queries")
|
|
29
|
+
parser.add_argument("--api_host", default=oncotree.API_HOST)
|
|
30
|
+
parser.add_argument("--api_base_path", default=oncotree.API_BASE_PATH)
|
|
31
|
+
parser.add_argument("-v", "--verbose", default=0, action="count")
|
|
32
|
+
args = parser.parse_args()
|
|
33
|
+
|
|
34
|
+
logging.basicConfig(format='%(levelname)s:%(message)s', level=(logging.DEBUG if args.verbose>1 else logging.INFO))
|
|
35
|
+
|
|
36
|
+
BASE_URL='http://'+args.api_host+args.api_base_path
|
|
37
|
+
|
|
38
|
+
fout = open(args.ofile,"w") if args.ofile else sys.stdout
|
|
39
|
+
|
|
40
|
+
t0=time.time()
|
|
41
|
+
|
|
42
|
+
ids=[];
|
|
43
|
+
if args.ifile:
|
|
44
|
+
with open(args.ifile) as fin:
|
|
45
|
+
while True:
|
|
46
|
+
line = fin.readline()
|
|
47
|
+
if not line: break
|
|
48
|
+
if line.rstrip(): ids.append(line.rstrip())
|
|
49
|
+
elif args.ids:
|
|
50
|
+
ids = re.split('[, ]+', args.ids.strip())
|
|
51
|
+
|
|
52
|
+
if args.op == "info":
|
|
53
|
+
oncotree.Info(BASE_URL, fout)
|
|
54
|
+
|
|
55
|
+
elif args.op == "get":
|
|
56
|
+
oncotree.Get(ids, args.skip, BASE_URL, fout)
|
|
57
|
+
|
|
58
|
+
elif args.op == "list_versions":
|
|
59
|
+
oncotree.ListVersions(BASE_URL, fout)
|
|
60
|
+
|
|
61
|
+
elif args.op == "list_main_types":
|
|
62
|
+
oncotree.ListMainTypes(BASE_URL, fout)
|
|
63
|
+
|
|
64
|
+
elif args.op == "list_tumor_types":
|
|
65
|
+
oncotree.ListTumorTypes(BASE_URL, fout)
|
|
66
|
+
|
|
67
|
+
elif args.op == "search":
|
|
68
|
+
oncotree.SearchTumorTypes(args.query, args.query_type, args.exact_match, args.query_levels, BASE_URL, fout)
|
|
69
|
+
|
|
70
|
+
else:
|
|
71
|
+
parser.error(f"Invalid operation: {args.op}")
|
|
72
|
+
|
|
73
|
+
logging.info(('elapsed time: %s'%(time.strftime('%Hh:%Mm:%Ss', time.gmtime(time.time()-t0)))))
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Utility functions for Oncotree REST API.
|
|
4
|
+
See: https://oncotree.mskcc.org/
|
|
5
|
+
See: https://oncotree.mskcc.org/#/home
|
|
6
|
+
"""
|
|
7
|
+
import sys,os,re,requests,urllib,json,time,logging,tqdm
|
|
8
|
+
import pandas as pd
|
|
9
|
+
|
|
10
|
+
#
|
|
11
|
+
API_HOST="oncotree.mskcc.org"
|
|
12
|
+
API_BASE_PATH="/api"
|
|
13
|
+
BASE_URL="https://"+API_HOST+API_BASE_PATH
|
|
14
|
+
#
|
|
15
|
+
HEADERS={"Accept":"application/json"}
|
|
16
|
+
#
|
|
17
|
+
##############################################################################
|
|
18
|
+
def Info(base_url=BASE_URL, fout=None):
|
|
19
|
+
response = requests.get(base_url+"/info", headers=HEADERS)
|
|
20
|
+
result = response.json()
|
|
21
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
22
|
+
|
|
23
|
+
##############################################################################
|
|
24
|
+
def ListVersions(base_url=BASE_URL, fout=None):
|
|
25
|
+
response = requests.get(base_url+'/versions', headers=HEADERS)
|
|
26
|
+
result = response.json()
|
|
27
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
28
|
+
versions = result
|
|
29
|
+
df = pd.DataFrame.from_records(versions)
|
|
30
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
31
|
+
logging.info(f"Versions: {len(versions)}")
|
|
32
|
+
return df
|
|
33
|
+
|
|
34
|
+
##############################################################################
|
|
35
|
+
def ListMainTypes(base_url=BASE_URL, fout=None):
|
|
36
|
+
response = requests.get(base_url+'/mainTypes', headers=HEADERS)
|
|
37
|
+
result = response.json()
|
|
38
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
39
|
+
maintypes = result
|
|
40
|
+
maintypes.sort()
|
|
41
|
+
df = pd.DataFrame({"main_types": maintypes})
|
|
42
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
43
|
+
logging.info(f"Main types: {len(maintypes)}")
|
|
44
|
+
return df
|
|
45
|
+
|
|
46
|
+
##############################################################################
|
|
47
|
+
def ListTumorTypes(base_url=BASE_URL, fout=None):
|
|
48
|
+
response = requests.get(base_url+'/tumorTypes', headers=HEADERS)
|
|
49
|
+
result = response.json()
|
|
50
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
51
|
+
tumortypes = result
|
|
52
|
+
df = pd.DataFrame.from_records(tumortypes)
|
|
53
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
54
|
+
logging.info(f"Tumor types: {len(tumortypes)}")
|
|
55
|
+
return df
|
|
56
|
+
|
|
57
|
+
##############################################################################
|
|
58
|
+
def SearchTumorTypes(qry, qtype, exact, levels, base_url=BASE_URL, fout=None):
|
|
59
|
+
response = requests.get(base_url+f"/tumorTypes/search/{qtype}/{qry}?exactMatch={str(exact)}&levels={urllib.parse.quote(levels)}", headers=HEADERS)
|
|
60
|
+
result = response.json()
|
|
61
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
62
|
+
tumortypes = result
|
|
63
|
+
df = pd.DataFrame.from_records(tumortypes)
|
|
64
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
65
|
+
logging.info(f"Tumor types: {len(tumortypes)}")
|
|
66
|
+
return df
|
|
67
|
+
|
|
68
|
+
##############################################################################
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
See: https://smart-api.info/ui/55be2831c69b17f6bc975ddb58cabb5e
|
|
4
|
+
"""
|
|
5
|
+
###
|
|
6
|
+
import sys,os,re,argparse,time,json,logging
|
|
7
|
+
import pandas as pd
|
|
8
|
+
#
|
|
9
|
+
from .. import ubkg
|
|
10
|
+
#
|
|
11
|
+
##############################################################################
|
|
12
|
+
if __name__=='__main__':
|
|
13
|
+
epilog='''\
|
|
14
|
+
The Data Distillery Knowledge Graph (DDKG) is an extension and instance of the Unified Biomedical Knowledge Graph (UBKG), developed by the University of Pittsburgh, Children's Hospital of Philadelphia, and the Common Fund Data Ecosystem (CFDE) Data Distillery Partnership Project.
|
|
15
|
+
'''
|
|
16
|
+
parser = argparse.ArgumentParser(description='UBKG REST API client', epilog=epilog)
|
|
17
|
+
ops = ['search',
|
|
18
|
+
'info',
|
|
19
|
+
'list_relationship_types',
|
|
20
|
+
'list_node_types',
|
|
21
|
+
'list_node_type_counts',
|
|
22
|
+
'list_property_types',
|
|
23
|
+
'list_sabs',
|
|
24
|
+
'list_semantic_types',
|
|
25
|
+
'get_concept2codes',
|
|
26
|
+
'get_concept2concepts',
|
|
27
|
+
'get_concept2definitions',
|
|
28
|
+
'get_concept2paths',
|
|
29
|
+
'get_concept2trees',
|
|
30
|
+
'get_term2concepts',
|
|
31
|
+
]
|
|
32
|
+
parser.add_argument("op", choices=ops, help='OPERATION')
|
|
33
|
+
parser.add_argument("--o", dest="ofile", help="output (TSV)")
|
|
34
|
+
parser.add_argument("--i", dest="ifile", help="UMLS CUI ID file")
|
|
35
|
+
parser.add_argument("--ids", help="UMLS CUI IDs, comma-separated")
|
|
36
|
+
parser.add_argument("--term", help="UMLS term, e.g. 'Asthma'")
|
|
37
|
+
parser.add_argument("--sab", default="SNOWMEDCT_US", help="Standard abbreviation type")
|
|
38
|
+
parser.add_argument("--relationship", default="isa", help="Relationship type")
|
|
39
|
+
parser.add_argument("--mindepth", type=int, default=1, help="min path depth")
|
|
40
|
+
parser.add_argument("--maxdepth", type=int, default=3, help="max path depth")
|
|
41
|
+
parser.add_argument("--nmax", type=int, default=None, help="max records")
|
|
42
|
+
parser.add_argument("--skip", type=int, default=0, help="skip 1st SKIP queries")
|
|
43
|
+
parser.add_argument("--api_host", default=ubkg.API_HOST)
|
|
44
|
+
parser.add_argument("--api_base_path", default=ubkg.API_BASE_PATH)
|
|
45
|
+
parser.add_argument("--api_key")
|
|
46
|
+
parser.add_argument("-v", "--verbose", default=0, action="count")
|
|
47
|
+
args = parser.parse_args()
|
|
48
|
+
|
|
49
|
+
logging.basicConfig(format='%(levelname)s:%(message)s', level=(logging.DEBUG if args.verbose>1 else logging.INFO))
|
|
50
|
+
|
|
51
|
+
BASE_URL='https://'+args.api_host+args.api_base_path
|
|
52
|
+
|
|
53
|
+
fout = open(args.ofile,"w") if args.ofile else sys.stdout
|
|
54
|
+
|
|
55
|
+
t0=time.time()
|
|
56
|
+
|
|
57
|
+
ids=[];
|
|
58
|
+
if args.ifile:
|
|
59
|
+
with open(args.ifile) as fin:
|
|
60
|
+
while True:
|
|
61
|
+
line = fin.readline()
|
|
62
|
+
if not line: break
|
|
63
|
+
if line.rstrip(): ids.append(line.rstrip())
|
|
64
|
+
elif args.ids:
|
|
65
|
+
ids = re.split('[, ]+', args.ids.strip())
|
|
66
|
+
|
|
67
|
+
if args.op == "info":
|
|
68
|
+
ubkg.Info(args.api_key, BASE_URL, fout)
|
|
69
|
+
|
|
70
|
+
elif args.op == "list_relationship_types":
|
|
71
|
+
ubkg.ListRelationshipTypes(args.api_key, BASE_URL, fout)
|
|
72
|
+
|
|
73
|
+
elif args.op == "list_node_types":
|
|
74
|
+
ubkg.ListNodeTypes(args.api_key, BASE_URL, fout)
|
|
75
|
+
|
|
76
|
+
elif args.op == "list_node_type_counts":
|
|
77
|
+
ubkg.ListNodeTypeCounts(args.api_key, BASE_URL, fout)
|
|
78
|
+
|
|
79
|
+
elif args.op == "list_property_types":
|
|
80
|
+
ubkg.ListPropertyTypes(args.api_key, BASE_URL, fout)
|
|
81
|
+
|
|
82
|
+
elif args.op == "list_semantic_types":
|
|
83
|
+
ubkg.ListSemanticTypes(args.api_key, BASE_URL, fout)
|
|
84
|
+
|
|
85
|
+
elif args.op == "list_sabs":
|
|
86
|
+
ubkg.ListSABs(args.api_key, BASE_URL, fout)
|
|
87
|
+
|
|
88
|
+
elif args.op == "get_concept2codes":
|
|
89
|
+
ubkg.GetConcept2Codes(ids, args.api_key, BASE_URL, fout)
|
|
90
|
+
|
|
91
|
+
elif args.op == "get_concept2concepts":
|
|
92
|
+
ubkg.GetConcept2Concepts(ids, args.api_key, BASE_URL, fout)
|
|
93
|
+
|
|
94
|
+
elif args.op == "get_concept2definitions":
|
|
95
|
+
ubkg.GetConcept2Definitions(ids, args.api_key, BASE_URL, fout)
|
|
96
|
+
|
|
97
|
+
elif args.op == "get_concept2paths":
|
|
98
|
+
if not args.sab: parser.error(f"--sab required for operation: {args.op}")
|
|
99
|
+
ubkg.GetConcept2Paths(ids, args.sab, args.relationship, args.mindepth, args.maxdepth, args.api_key, BASE_URL, fout)
|
|
100
|
+
|
|
101
|
+
elif args.op == "get_concept2trees":
|
|
102
|
+
if not args.sab: parser.error(f"--sab required for operation: {args.op}")
|
|
103
|
+
ubkg.GetConcept2Trees(ids, args.sab, args.relationship, args.mindepth, args.maxdepth, args.api_key, BASE_URL, fout)
|
|
104
|
+
|
|
105
|
+
elif args.op == "get_term2concepts":
|
|
106
|
+
ubkg.GetTerm2Concepts(args.term, args.api_key, BASE_URL, fout)
|
|
107
|
+
|
|
108
|
+
else:
|
|
109
|
+
parser.error(f"Invalid operation: {args.op}")
|
|
110
|
+
|
|
111
|
+
logging.info(('elapsed time: %s'%(time.strftime('%Hh:%Mm:%Ss', time.gmtime(time.time()-t0)))))
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Utility functions for UBKG REST API.
|
|
4
|
+
See: https://smart-api.info/ui/55be2831c69b17f6bc975ddb58cabb5e
|
|
5
|
+
C0006142,C0678222
|
|
6
|
+
"""
|
|
7
|
+
import sys,os,re,requests,urllib,json,time,logging,tqdm
|
|
8
|
+
import pandas as pd
|
|
9
|
+
|
|
10
|
+
#
|
|
11
|
+
API_HOST="datadistillery.api.sennetconsortium.org"
|
|
12
|
+
API_BASE_PATH=""
|
|
13
|
+
BASE_URL="https://"+API_HOST+API_BASE_PATH
|
|
14
|
+
#
|
|
15
|
+
HEADERS={"Accept":"application/json"}
|
|
16
|
+
#
|
|
17
|
+
##############################################################################
|
|
18
|
+
def Info(api_key, base_url=BASE_URL, fout=None):
|
|
19
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
20
|
+
response = requests.get(base_url+"/database/server", headers=headers)
|
|
21
|
+
result = response.json()
|
|
22
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
23
|
+
df = pd.DataFrame({"field":result.keys(), "value":result.values()})
|
|
24
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
25
|
+
return df
|
|
26
|
+
|
|
27
|
+
##############################################################################
|
|
28
|
+
def ListSABs(api_key, base_url=BASE_URL, fout=None):
|
|
29
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
30
|
+
response = requests.get(base_url+"/sabs", headers=headers)
|
|
31
|
+
result = response.json()
|
|
32
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
33
|
+
df = pd.DataFrame(result)
|
|
34
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
35
|
+
logging.info(f"SABs: {df.shape[0]}")
|
|
36
|
+
return df
|
|
37
|
+
|
|
38
|
+
##############################################################################
|
|
39
|
+
def ListNodeTypes(api_key, base_url=BASE_URL, fout=None):
|
|
40
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
41
|
+
response = requests.get(base_url+"/node-types", headers=headers)
|
|
42
|
+
result = response.json()
|
|
43
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
44
|
+
df = pd.DataFrame(result)
|
|
45
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
46
|
+
logging.info(f"Node-types: {df.shape[0]}")
|
|
47
|
+
return df
|
|
48
|
+
|
|
49
|
+
##############################################################################
|
|
50
|
+
def ListNodeTypeCounts(api_key, base_url=BASE_URL, fout=None):
|
|
51
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
52
|
+
node_types = ListNodeTypes(api_key, base_url)["node_types"]
|
|
53
|
+
n_type=0; n_out=0; df=None;
|
|
54
|
+
for node_type in node_types:
|
|
55
|
+
n_type+=1
|
|
56
|
+
response = requests.get(f"{base_url}/node-types/{node_type}/counts", headers=headers)
|
|
57
|
+
result = response.json()
|
|
58
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
59
|
+
df_this = pd.DataFrame(result)
|
|
60
|
+
df_this.insert(loc=0, column='node_type', value=node_type)
|
|
61
|
+
df_this = df_this[["node_type", "total_count"]]
|
|
62
|
+
if fout: df_this.to_csv(fout, "\t", index=False, header=bool(n_out==0))
|
|
63
|
+
else: df = pd.concat([df, df_this])
|
|
64
|
+
n_out += 1
|
|
65
|
+
return df
|
|
66
|
+
|
|
67
|
+
##############################################################################
|
|
68
|
+
def ListRelationshipTypes(api_key, base_url=BASE_URL, fout=None):
|
|
69
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
70
|
+
response = requests.get(base_url+"/relationship-types", headers=headers)
|
|
71
|
+
result = response.json()
|
|
72
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
73
|
+
df = pd.DataFrame(result)
|
|
74
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
75
|
+
logging.info(f"Relationship-types: {df.shape[0]}")
|
|
76
|
+
return df
|
|
77
|
+
|
|
78
|
+
##############################################################################
|
|
79
|
+
def ListPropertyTypes(api_key, base_url=BASE_URL, fout=None):
|
|
80
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
81
|
+
response = requests.get(base_url+"/property-types", headers=headers)
|
|
82
|
+
result = response.json()
|
|
83
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
84
|
+
df = pd.DataFrame(result)
|
|
85
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
86
|
+
logging.info(f"Property-types: {df.shape[0]}")
|
|
87
|
+
return df
|
|
88
|
+
|
|
89
|
+
##############################################################################
|
|
90
|
+
def ListSemanticTypes(api_key, base_url=BASE_URL, fout=None):
|
|
91
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
92
|
+
response = requests.get(base_url+"/semantics/semantic-types", headers=headers)
|
|
93
|
+
result = response.json()
|
|
94
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
95
|
+
semantic_types = result["semantic_types"]
|
|
96
|
+
df = pd.DataFrame.from_records(semantic_types)
|
|
97
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
98
|
+
logging.info(f"Semantic-types: {df_this.shape[0]}")
|
|
99
|
+
return df
|
|
100
|
+
|
|
101
|
+
##############################################################################
|
|
102
|
+
def GetConcept2Codes(ids, api_key, base_url=BASE_URL, fout=None):
|
|
103
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
104
|
+
n_in=0; n_out=0; n_code=0; df=None;
|
|
105
|
+
for id_this in ids:
|
|
106
|
+
n_in += 1
|
|
107
|
+
response = requests.get(f"{base_url}/concepts/{id_this}/codes", headers=headers)
|
|
108
|
+
if not response:
|
|
109
|
+
continue
|
|
110
|
+
result = response.json()
|
|
111
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
112
|
+
codes = result
|
|
113
|
+
if not codes or len(codes)==0: continue
|
|
114
|
+
df_this = pd.DataFrame({"concept":[id_this for i in range(len(codes))], "code":codes})
|
|
115
|
+
if fout: df_this.to_csv(fout, "\t", index=False, header=bool(n_out==0))
|
|
116
|
+
else: df = pd.concat([df, df_this])
|
|
117
|
+
n_out += 1
|
|
118
|
+
n_code += len(codes)
|
|
119
|
+
logging.info(f"Concepts in: {n_in}; out: {n_out}; codes out: {n_code}")
|
|
120
|
+
return df
|
|
121
|
+
|
|
122
|
+
##############################################################################
|
|
123
|
+
def GetConcept2Concepts(ids, api_key, base_url=BASE_URL, fout=None):
|
|
124
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
125
|
+
n_in=0; n_out=0; n_concept=0; df=None;
|
|
126
|
+
for id_this in ids:
|
|
127
|
+
n_in += 1
|
|
128
|
+
response = requests.get(f"{base_url}/concepts/{id_this}/concepts", headers=headers)
|
|
129
|
+
if not response:
|
|
130
|
+
continue
|
|
131
|
+
result = response.json()
|
|
132
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
133
|
+
concepts = result
|
|
134
|
+
if not concepts or len(concepts)==0: continue
|
|
135
|
+
df_this = pd.DataFrame.from_records(concepts)
|
|
136
|
+
df_this.columns = ["conceptB", "preftermB", "relationship", "sabB"]
|
|
137
|
+
df_this.insert(loc=0, column='conceptA', value=id_this)
|
|
138
|
+
if fout: df_this.to_csv(fout, "\t", index=False, header=bool(n_out==0))
|
|
139
|
+
else: df = pd.concat([df, df_this])
|
|
140
|
+
n_out += 1
|
|
141
|
+
n_concept += len(concepts)
|
|
142
|
+
logging.info(f"Concepts in: {n_in}; out: {n_out}; concepts out: {n_concept}")
|
|
143
|
+
return df
|
|
144
|
+
|
|
145
|
+
##############################################################################
|
|
146
|
+
def GetConcept2Definitions(ids, api_key, base_url=BASE_URL, fout=None):
|
|
147
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
148
|
+
n_in=0; n_out=0; n_def=0; df=None;
|
|
149
|
+
for id_this in ids:
|
|
150
|
+
n_in += 1
|
|
151
|
+
response = requests.get(f"{base_url}/concepts/{id_this}/definitions", headers=headers)
|
|
152
|
+
if not response:
|
|
153
|
+
continue
|
|
154
|
+
result = response.json()
|
|
155
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
156
|
+
defs = result
|
|
157
|
+
if not defs or len(defs)==0: continue
|
|
158
|
+
df_this = pd.DataFrame.from_records(defs)
|
|
159
|
+
df_this = df_this[["sab", "definition"]]
|
|
160
|
+
df_this.insert(loc=0, column='concept', value=id_this)
|
|
161
|
+
if fout: df_this.to_csv(fout, "\t", index=False, header=bool(n_out==0))
|
|
162
|
+
else: df = pd.concat([df, df_this])
|
|
163
|
+
n_out += 1
|
|
164
|
+
n_def += len(defs)
|
|
165
|
+
logging.info(f"Concepts in: {n_in}; out: {n_out}; defs out: {n_def}")
|
|
166
|
+
return df
|
|
167
|
+
|
|
168
|
+
##############################################################################
|
|
169
|
+
def GetConcept2Paths(ids, sab, rel, mindepth, maxdepth, api_key, base_url=BASE_URL, fout=None):
|
|
170
|
+
'''JSON output'''
|
|
171
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
172
|
+
n_in=0; n_node_out=0; n_edge_out=0;
|
|
173
|
+
for id_this in ids:
|
|
174
|
+
n_in += 1
|
|
175
|
+
response = requests.get(f"{base_url}/concepts/{id_this}/paths/expand?sab={sab}&rel={rel}&mindepth={mindepth}&maxdepth={maxdepth}&skip=0&limit=10", headers=headers)
|
|
176
|
+
if not response:
|
|
177
|
+
continue
|
|
178
|
+
result = response.json()
|
|
179
|
+
n_edge_out += len(result["edges"])
|
|
180
|
+
n_node_out += len(result["nodes"])
|
|
181
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
182
|
+
if fout: fout.write(json.dumps(result, sort_keys=True, indent=2))
|
|
183
|
+
logging.info(f"Concepts in: {n_in}; nodes out: {n_node_out}; edges out: {n_edge_out}")
|
|
184
|
+
|
|
185
|
+
##############################################################################
|
|
186
|
+
def GetConcept2Trees(ids, sab, rel, mindepth, maxdepth, api_key, base_url=BASE_URL, fout=None):
|
|
187
|
+
'''JSON output'''
|
|
188
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
189
|
+
n_in=0; n_node_out=0; n_edge_out=0;
|
|
190
|
+
for id_this in ids:
|
|
191
|
+
n_in += 1
|
|
192
|
+
response = requests.get(f"{base_url}/concepts/{id_this}/paths/trees?sab={sab}&rel={rel}&mindepth={mindepth}&maxdepth={maxdepth}&skip=0&limit=10", headers=headers)
|
|
193
|
+
if not response:
|
|
194
|
+
continue
|
|
195
|
+
result = response.json()
|
|
196
|
+
n_edge_out += len(result["edges"])
|
|
197
|
+
n_node_out += len(result["nodes"])
|
|
198
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
199
|
+
if fout: fout.write(json.dumps(result, sort_keys=True, indent=2))
|
|
200
|
+
logging.info(f"Concepts in: {n_in}; nodes out: {n_node_out}; edges out: {n_edge_out}")
|
|
201
|
+
|
|
202
|
+
##############################################################################
|
|
203
|
+
def GetTerm2Concepts(term, api_key, base_url=BASE_URL, fout=None):
|
|
204
|
+
headers = {**HEADERS, **{"X-API-KEY": api_key}}
|
|
205
|
+
response = requests.get("{}/terms/{}/concepts".format(base_url, urllib.parse.quote(term)), headers=headers)
|
|
206
|
+
if not response:
|
|
207
|
+
logging.info(f"Not found: {term}")
|
|
208
|
+
return
|
|
209
|
+
result = response.json()
|
|
210
|
+
logging.debug(json.dumps(result, sort_keys=True, indent=2))
|
|
211
|
+
concepts = result
|
|
212
|
+
if not concepts or len(concepts)==0:
|
|
213
|
+
logging.info(f"Not found: {term}")
|
|
214
|
+
return
|
|
215
|
+
df = pd.DataFrame({"term":[term for i in range(len(concepts))], "concept":concepts})
|
|
216
|
+
if fout: df.to_csv(fout, "\t", index=False)
|
|
217
|
+
logging.info(f"Concepts out: {df.shape[0]}")
|
|
218
|
+
return df
|
|
219
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .Utils import *
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .Utils import *
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioClients
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.16
|
|
4
4
|
Summary: Clients for online biomedical resources, usually via REST APIs.
|
|
5
5
|
Home-page: https://github.com/jeremyjyang/BioClients
|
|
6
6
|
Author: Jeremy Yang
|
|
@@ -31,7 +31,7 @@ releases available via `pypi.org`:
|
|
|
31
31
|
<https://pypi.org/project/BioClients/>
|
|
32
32
|
(`pip3 install BioClients`).
|
|
33
33
|
|
|
34
|
-
However, current development snapshot
|
|
34
|
+
However, current development snapshot may included additional functionality.
|
|
35
35
|
|
|
36
36
|
___(First download or clone.)___
|
|
37
37
|
```
|
|
@@ -41,12 +41,12 @@ $ python3 setup.py install
|
|
|
41
41
|
|
|
42
42
|
## Dependencies
|
|
43
43
|
|
|
44
|
-
* Python 3.
|
|
45
|
-
* Python packages: `pandas`, `requests`, `
|
|
44
|
+
* Python 3.8+
|
|
45
|
+
* Python packages: `pandas`, `requests`, `yaml`, `psycopg2`, `tqdm`, etc. (See [conda/environment.yml](conda/environment.yml)).
|
|
46
46
|
|
|
47
47
|
## Modules
|
|
48
48
|
|
|
49
|
-
[__Allen__](doc/allen.md) • [__AMP-T2D__](doc/amp__t2d.md) • [__BindingDb__](doc/bindingdb.md) • [__BioGrid__](doc/biogrid.md) • [__Bioregistry__](doc/bioregistry.md) • [__BRENDA__](doc/brenda.md) • [__CAS__](doc/cas.md) • [__CDC__](doc/cdc.md) • [__CFDE__](doc/cfde.md) • [__Chem2Bio2RDF__](doc/chem2bio2rdf.md) • [__ChEBI__](doc/chebi.md) • [__ChEMBL__](doc/chembl.md) • [__ChemIdPlus__](doc/chemidplus.md) • [__ClinicalTrials.gov__](doc/clinicaltrials.md) • [__Disease Ontology__](doc/diseaseontology.md) • [__DisGeNet__](doc/disgenet.md) • [__DNorm__](doc/dnorm.md) • [__DrugCentral__](doc/drugcentral.md) • [__EMBL-EBI__](doc/emblebi.md) • [__EnsEMBL__](doc/ensembl.md) • [__FDA__](doc/fda.md) • [__Gene Ontology__](doc/geneontology.md) • [__GTEx__](doc/gtex.md) • [__GWAS Catalog__](doc/gwascatalog.md) • [__HUGO__](doc/hugo.md) • [__HumanBase__](doc/humanbase.md) • [__iCite__](doc/icite.md) • [__IDG__](doc/idg.md) • [__JensenLab__](doc/jensenlab.md) • [__LINCS__](doc/lincs.md) • [__MaayanLab__](doc/maayanlab.md) • [__Medline__](doc/medline.md) • [__MeSH__](doc/mesh.md) • [__MONARCH__](doc/monarch.md) • [__MyGene__](doc/mygene.md) • [__NCBO__](doc/ncbo.md) • [__NCATS__](doc/ncats.md) • [__OMIM__](doc/omim.md) • [__Open Targets__](doc/opentargets.md) • [__Panther__](doc/panther.md) • [__PDB__](doc/pdb.md) • [__PubChem__](doc/pubchem.md) • [__PubMed__](doc/pubmed.md) • [__PubTator__](doc/pubtator.md) • [__Reactome__](doc/reactome.md) • [__RXNorm__](doc/rxnorm.md) • [__STRINGDB__](doc/stringdb.md) • [__TCGA__](doc/tcga.md) • [__UMLS__](doc/umls.md) • [__UniProt__](doc/uniprot.md) • [__Wikidata__](doc/wikidata.md) • [__WikiPathways__](doc/wikipathways.md)
|
|
49
|
+
[__Allen__](doc/allen.md) • [__AMP-T2D__](doc/amp__t2d.md) • [__BindingDb__](doc/bindingdb.md) • [__BioGrid__](doc/biogrid.md) • [__Bioregistry__](doc/bioregistry.md) • [__BRENDA__](doc/brenda.md) • [__CAS__](doc/cas.md) • [__CDC__](doc/cdc.md) • [__CFDE__](doc/cfde.md) • [__Chem2Bio2RDF__](doc/chem2bio2rdf.md) • [__ChEBI__](doc/chebi.md) • [__ChEMBL__](doc/chembl.md) • [__ChemIdPlus__](doc/chemidplus.md) • [__ClinicalTrials.gov__](doc/clinicaltrials.md) • [__Disease Ontology__](doc/diseaseontology.md) • [__DisGeNet__](doc/disgenet.md) • [__DNorm__](doc/dnorm.md) • [__DrugCentral__](doc/drugcentral.md) • [__EMBL-EBI__](doc/emblebi.md) • [__EnsEMBL__](doc/ensembl.md) • [__FDA__](doc/fda.md) • [__Gene Ontology__](doc/geneontology.md) • [__GTEx__](doc/gtex.md) • [__GWAS Catalog__](doc/gwascatalog.md) • [__HUGO__](doc/hugo.md) • [__HumanBase__](doc/humanbase.md) • [__iCite__](doc/icite.md) • [__IDG__](doc/idg.md) • [__JensenLab__](doc/jensenlab.md) • [__LINCS__](doc/lincs.md) • [__MaayanLab__](doc/maayanlab.md) • [__Medline__](doc/medline.md) • [__MeSH__](doc/mesh.md) • [__MONARCH__](doc/monarch.md) • [__MyGene__](doc/mygene.md) • [__NCBO__](doc/ncbo.md) • [__NCATS__](doc/ncats.md) • [__OMIM__](doc/omim.md) • [__OncoTree__](doc/oncotree.md) • [__Open Targets__](doc/opentargets.md) • [__Panther__](doc/panther.md) • [__PDB__](doc/pdb.md) • [__PubChem__](doc/pubchem.md) • [__PubMed__](doc/pubmed.md) • [__PubTator__](doc/pubtator.md) • [__Reactome__](doc/reactome.md) • [__RXNorm__](doc/rxnorm.md) • [__STRINGDB__](doc/stringdb.md) • [__TCGA__](doc/tcga.md) • [__UBKG__](doc/ubkg.md) • [__UMLS__](doc/umls.md) • [__UniProt__](doc/uniprot.md) • [__Wikidata__](doc/wikidata.md) • [__WikiPathways__](doc/wikipathways.md)
|
|
50
50
|
|
|
51
51
|
Miscellaneous utilities: [__UTIL__](doc/util.md)
|
|
52
52
|
|
|
@@ -169,6 +169,9 @@ BioClients/ncbo/Utils.py
|
|
|
169
169
|
BioClients/ncbo/__init__.py
|
|
170
170
|
BioClients/omim/Client.py
|
|
171
171
|
BioClients/omim/__init__.py
|
|
172
|
+
BioClients/oncotree/Client.py
|
|
173
|
+
BioClients/oncotree/Utils.py
|
|
174
|
+
BioClients/oncotree/__init__.py
|
|
172
175
|
BioClients/openphacts/Client.py
|
|
173
176
|
BioClients/openphacts/Utils.py
|
|
174
177
|
BioClients/openphacts/__init__.py
|
|
@@ -222,6 +225,9 @@ BioClients/stringdb/__init__.py
|
|
|
222
225
|
BioClients/tcga/Client.py
|
|
223
226
|
BioClients/tcga/Utils.py
|
|
224
227
|
BioClients/tcga/__init__.py
|
|
228
|
+
BioClients/ubkg/Client.py
|
|
229
|
+
BioClients/ubkg/Utils.py
|
|
230
|
+
BioClients/ubkg/__init__.py
|
|
225
231
|
BioClients/umls/Client.py
|
|
226
232
|
BioClients/umls/Utils.py
|
|
227
233
|
BioClients/umls/__init__.py
|