pypath.core.complex.AbstractComplexResource§
- class pypath.core.complex.AbstractComplexResource(name, ncbi_tax_id=9606, input_method=None, input_args=None, dump=None, **kwargs)[source]§
Bases:
AbstractResourceA resource which provides information about molecular complexes.
- __init__(name, ncbi_tax_id=9606, input_method=None, input_args=None, dump=None, **kwargs)[source]§
- namestr
Custom name for the resource.
- input_methodcallable
Method providing the input data.
- process_methodcallable
Method processing the data and yielding
intera.Complexinstances.
Methods
__init__(name[, ncbi_tax_id, input_method, ...])name : str
from_dump()load()Loads the data by calling
input_method.make_df()process()Calls the
_process_method.save_to_pickle(pickle_file)Sets the data input method by looking up in
inputsmodule if necessary.update_index()Attributes
all_sourcescuration_efforthas_stoichiometryheteromershomomersnumof_referencessummarysummary_str- load_data()§
Loads the data by calling
input_method.
- process()§
Calls the
_process_method.
- set_method()§
Sets the data input method by looking up in
inputsmodule if necessary.