-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Knowledge-Graph-Hub/build_graphs
create all graphs for paper
- Loading branch information
Showing
1 changed file
with
10 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
|
||
# download-transforms: | ||
|
||
# wget "XXX" -O data/raw/merged-kg_nodes.tsv | ||
|
||
# merge-kg-microbe-function: | ||
# PWD=$(pwd) | ||
# poetry run kg merge -y $(PWD)/merged_yamls/kg_base_merge.yaml | ||
# poetry run kg duckdb_merge -base-n $(PWD)/data/merged/merged-kg_nodes.tsv -subset-n $(PWD)/data/transformed/nodes.tsv -base-e $(PWD)/data/merged/merged-kg_edges.tsv -subset-e $(PWD)/data/transformed/edges.tsv | ||
|
||
# merge-kg-microbe-biomedical: | ||
# PWD=$(pwd) | ||
# poetry run kg merge -y $(PWD)/merged_yamls/kg_biomedical_merge.yaml | ||
|
||
# merge-kg-microbe-biomedical-function: | ||
# PWD=$(pwd) | ||
# poetry run kg merge -y $(PWD)/merged_yamls/kg_biomedical_merge.yaml | ||
# poetry run kg duckdb_merge -base-n $(PWD)/data/merged/merged-kg_nodes.tsv -subset-n $(PWD)/data/transformed/nodes.tsv -base-e $(PWD)/data/merged/merged-kg_edges.tsv -subset-e $(PWD)/data/transformed/edges.tsv | ||
|
||
# !For testing | ||
# merge-kg-microbe-biomedical-function: | ||
# poetry run kg merge -y merge_yamls/merge.yaml -m duckdb -base-n '/Users/brooksantangelo/Documents/LozuponeLab/FRMS_2024/duckdb/merged-kg_kg-microbe-base/merged-kg_nodes.tsv' -base-e '/Users/brooksantangelo/Documents/LozuponeLab/FRMS_2024/duckdb/merged-kg_kg-microbe-base/merged-kg_edges.tsv' -subset-n '/Users/brooksantangelo/Documents/Repositories/kg-microbe/data/transformed/uniprot_genome_features/nodes.tsv' -subset-e '/Users/brooksantangelo/Documents/Repositories/kg-microbe/data/transformed/uniprot_genome_features/edges.tsv' | ||
|
||
datamodel: | ||
poetry run gen-python kg_microbe_merge/schema/merge_schema.yaml > kg_microbe_merge/schema/merge_datamodel.py | ||
|
||
kg-microbe-core: | ||
poetry run kg merge -m duckdb -s "bacdive, mediadive, madin_etal, rhea_mappings, bactotraits, chebi, ec, envo, go, ncbitaxon, upa" --merge-label $@ | ||
|
||
kg-microbe-function: | ||
poetry run kg merge -m duckdb -n 1000000 -e 100000 -s "bacdive, mediadive, madin_etal, rhea_mappings, bactotraits, chebi, ec, envo, go, ncbitaxon, upa, uniprot_functional_microbes" --merge-label $@ | ||
|
||
kg-microbe-biomedical: | ||
poetry run kg merge -m duckdb -n 1000000 -e 100000 -s "bacdive, mediadive, madin_etal, rhea_mappings, bactotraits, chebi, ec, envo, go, ncbitaxon, upa, hp, mondo, ctd, wallen_etal, uniprot_human" --merge-label $@ | ||
|
||
subset-merge: | ||
poetry run kg merge -m duckdb -s "bacdive, bactotraits, chebi, ncbitaxon" | ||
kg-microbe-biomedical-function-merge: | ||
poetry run kg merge -m duckdb -n 1000000 -e 100000 -s "bacdive, mediadive, madin_etal, rhea_mappings, bactotraits, chebi, ec, envo, go, ncbitaxon, upa, hp, mondo, ctd, wallen_etal, uniprot_human, uniprot_functional_microbes" --merge-label $@ |