- class co.organism.FeatureView(components)¶
Iterates over all features in a set of components – not necessarily in order – and provides search access to these features.
Searches all components and yields features matching the constraints.
- class co.organism.HaploidOrganism(id, parent=None)¶
ID of the organism
Parameters: other (HaploidOrganism) – Returns: A Diff object with added, changed, and removed component names.
Returns: A Diff object with added and removed features.
A read-only view of all the features present in all components of the organism.
Iterate over all ancestors of this organism
Parameters: inclusive (bool) – whether to include the organism itself in the lineage Returns: iterator over HaploidOrganism objects
Parameters: name (str) – key of the component to remove
- set(name, component)¶
- name (str) – key for this component e.g. 'genome', 'chr1', or 'pLASMID'
- component (Component) –