kg_covid_19.transform_utils.intact package¶
Submodules¶
kg_covid_19.transform_utils.intact.intact module¶
-
class
kg_covid_19.transform_utils.intact.intact.
IntAct
(input_dir: str = None, output_dir: str = None)¶ Bases:
kg_covid_19.transform_utils.transform.Transform
-
interaction_to_edge
(interaction: object, nodes_dict: dict, exp_dict: dict) → list¶
-
interactor_to_node
(interactor) → List[Union[int, list]]¶
-
parse_experiment_info
(xmldoc: object) → Dict[int, str]¶ Extract info about experiment from miXML doc
- Parameters
self – IntAct instance
xmldoc – a minidom object containing a miXML doc
- Returns
dictionary with parsed info about experiments (publication, exp type)
-
parse_xml_to_nodes_edges
(xml_file: str) → dict¶
-
participant_experimental_role
(participant: object) → str¶
-
participant_to_node
(participant: object, nodes_dict: dict) → Optional[str]¶
-
run
(data_file: Optional[str] = None)¶ Method to run transform to ingest data from IntAct for viral/human PPIs
-