Skip to content

Commit

Permalink
Merge pull request #34 from microbiomedata/19-ensure-that-envo-terms-…
Browse files Browse the repository at this point in the history
…requested-by-nmdc-in-the-past-year-make-it-into-nmdco

report of EnvO classes in NMDCO by id owner
  • Loading branch information
turbomam authored Feb 16, 2024
2 parents 74a4ce3 + 678219c commit 740bc8d
Show file tree
Hide file tree
Showing 5 changed files with 3,655 additions and 7 deletions.
16 changes: 12 additions & 4 deletions data-vs-ontology-reports.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ ENVO_SEMSQL=downlaods/envo.db


data-vs-ontology-all: data-vs-ontology-clean \
data-vs-ontology-reports/report-class-ids.tsv \
downloads/envo.db \
data-vs-ontology-reports/report-id-ranges.tsv \
data-vs-ontology-reports/envo-id-ranges-report.tsv \
data-vs-ontology-reports/fma-usage-report.tsv \
data-vs-ontology-reports/report-class-ids.tsv \
data-vs-ontology-reports/report-id-ranges.tsv

data-vs-ontology-reports/nmdco-envo-classes-with-id-owner.tsv

data-vs-ontology-clean:
rm -rf data-vs-ontology-reports/*
Expand Down Expand Up @@ -80,4 +81,11 @@ data-vs-ontology-reports/biosample-triad-counts.tsv:
--counts-output $@

data-vs-ontology-reports/fma-usage-report.tsv: data-vs-ontology-reports/biosample-triad-counts.tsv
grep 'FMA:' $< > $@
grep 'FMA:' $< > $@

data-vs-ontology-reports/nmdco-envo-classes-with-id-owner.tsv: data-vs-ontology-reports/envo-id-ranges-report.tsv nmdco-classes.json
$(RUN) report-nmdco-envo-classes-by-id-owners \
--id-range-tsv-input $(word 1,$^) \
--nmdco-classes-json-input $(word 2,$^) \
--output $@

Loading

0 comments on commit 740bc8d

Please sign in to comment.