Skip to content

Commit

Permalink
fix CTD chemical edges, remove some redundant OLS props
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Nov 2, 2024
1 parent 71a195d commit 3d205df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configs/datasource_configs/ctd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ ingests:
--json-inject-key-prefix ctd:
--json-inject-value-prefix PubMedIDs:pmid:
--json-inject-value-prefix OmimIDs:omim:
--json-inject-value-prefix ChemicalID:mesh:
| grebi_nodes2edges
--from-field ctd:ChemicalID
--to-field ctd:DiseaseID
Expand All @@ -61,6 +62,7 @@ ingests:
--tsv-columns ChemicalName,ChemicalID,CasRN,PathwayName,PathwayID,PValue,CorrectedPValue,TargetMatchQty,TargetTotalQty,BackgroundMatchQty,BackgroundTotalQty
| grebi_transform_jsonl
--json-inject-key-prefix ctd:
--json-inject-value-prefix ChemicalID:mesh:
| grebi_nodes2edges
--from-field ctd:ChemicalID
--to-field ctd:PathwayID
Expand All @@ -74,6 +76,7 @@ ingests:
| grebi_transform_jsonl
--json-inject-type ctd:Chemical
--json-inject-value-prefix CasRN:cas:
--json-inject-value-prefix ChemicalID:mesh:
| grebi_transform_jsonl
--json-rename-field ChemicalID:id
--json-rename-field CasRN:grebi:equivalentTo'
Expand Down
6 changes: 6 additions & 0 deletions configs/subgraph_configs/ebi_full_monarch.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
"ols:iri",
"ols:uri",
"ols:imported",
"ols:hasHierarchicalParents",
"ols:hasHierarchicalChildren",
"ols:hasDirectParents",
"ols:hasDirectChildren",
"ols:numDescendants",
"ols:numHierarchicalDescendants",
"oboinowl:id",
"oboinowl:url",
"monarch:iri",
Expand Down

0 comments on commit 3d205df

Please sign in to comment.