kg_covid_19.transform_utils.gocam_transform package¶
Submodules¶
kg_covid_19.transform_utils.gocam_transform.gocam_transform module¶
-
class
kg_covid_19.transform_utils.gocam_transform.gocam_transform.
GocamTransform
(input_dir: str = None, output_dir: str = None)¶ Bases:
kg_covid_19.transform_utils.transform.Transform
GocamTransform parses GO-CAMs that have been subjected to RDF edge project (REP) pattern.
-
parse
(data_file: str, input_format: str, compression: Optional[str] = None) → None¶ Processes the data_file.
- Args:
data_file: data file to parse input_format: format of input file compression: compression
- Returns:
None
-
run
(data_file: Optional[str] = None, **kwargs) → None¶ Method is called and performs needed transformations to process an ontology.
- Args:
data_file: data file to parse
- Returns:
None.
-
Module contents¶
-
class
kg_covid_19.transform_utils.gocam_transform.
GocamTransform
(input_dir: str = None, output_dir: str = None)¶ Bases:
kg_covid_19.transform_utils.transform.Transform
GocamTransform parses GO-CAMs that have been subjected to RDF edge project (REP) pattern.
-
parse
(data_file: str, input_format: str, compression: Optional[str] = None) → None¶ Processes the data_file.
- Args:
data_file: data file to parse input_format: format of input file compression: compression
- Returns:
None
-
run
(data_file: Optional[str] = None, **kwargs) → None¶ Method is called and performs needed transformations to process an ontology.
- Args:
data_file: data file to parse
- Returns:
None.
-