The ihm.source Python module

Classes for describing the source of an entity.

class ihm.source.Source[source]

Base class to describe the source of an ihm.Entity. See Manipulated, Natural and Synthetic.

class ihm.source.Details(ncbi_taxonomy_id=None, scientific_name=None, common_name=None, strain=None)[source]

Identifying information for an entity source. See Manipulated, Natural or Synthetic.

Parameters:
  • ncbi_taxonomy_id – NCBI taxonomy identifier, e.g. “469008”
  • scientific_name – Scientific name, e.g. “Escherichia coli”
  • common_name – Common name
  • strain – Strain, e.g. “BL21(DE3)PLYSS”
class ihm.source.Manipulated(gene=None, host=None)[source]

An entity isolated from a genetically manipulated source. See Entity.

Parameters:
  • gene (Details) – Details about the gene source.
  • host (Details) – Details about the host organism.
class ihm.source.Natural(ncbi_taxonomy_id=None, scientific_name=None, common_name=None, strain=None)[source]

An entity isolated from a natural source. See Entity. See Details for a description of the parameters.

class ihm.source.Synthetic(ncbi_taxonomy_id=None, scientific_name=None, common_name=None, strain=None)[source]

An entity obtained synthetically. See Entity. See Details for a description of the parameters.