[x] Move many globals in schema module that touch KLIFS field names/types to a new fields.Fields class (there was a bit too much redundancy here and the old setup was hard to maintain when new fields come in because we had to touch too many different globals in sync)
Description
The KLIFS maintainers added a few new features to the KLIFS Swagger API, many many thanks!
Changes available at https://dev.klifs.net/swagger_v2/ --- changes include:
In this PR, I would like to integrate the new definitions in our
opencadd
package.Todos
schema
module that touch KLIFS field names/types to a newfields.Fields
class (there was a bit too much redundancy here and the old setup was hard to maintain when new fields come in because we had to touch too many different globals in sync)kinase.hgnc_name
>kinase.gene_name
kinase.class
>kinase.subfamily
Kinases.all_kinase_families(group, species)
toKinases.all_kinase_families(groups, species)
Kinases.all_kinases(group, family, species)
toKinases.all_kinases(groups, families, species)
--- KLIFS allows for multiple inputs nowkinase.klifs_name
andkinase.uniprot
kinase.chembl_id
andligand.chembl_id
ligand.klifs_id
opencadd.databases.klifs
tutorial notebook!Questions
Status