metakb.transformers.civic#
A module for to transform CIViC.
- class metakb.transformers.civic.CivicTransformer(src_data_store, normalizers=None)[source]#
A class for transforming CIViC to the common data model.
- async transform(harvested_data_path)[source]#
Transform CIViC evidence and assertions to common data model.
Store result in
transformed_datainstance variable.For each statement: * Build its base GKS equivalent :rtype:
TransformedDataTry to normalize variant, disease, gene(, drug)
If they all normalize, also build the aggregate statement, supported by an evidence line to the base statement