-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Associate EnvO classes with NMDC environmental context subset properties #1596
Comments
related? MODS = entity_attribute_location entity_quality_location entity_attribute process_attribute chemical_concentration
ALL_MODS_OWL = $(patsubst %, modules/%.owl, $(MODS))
$(SRC): $(PRE_SRC)
$(OWLTOOLS) $(USECAT) $< $(patsubst %, --remove-import-declaration $(OBO)/envo/modules/%.owl, $(MODS)) -o $@.tmp
$(OWLTOOLS) $(USECAT) $@.tmp $(ALL_MODS_OWL) --merge-support-ontologies -o $@
modules/%.owl: modules/%.csv patterns/%.yaml curie_map.yaml
@perl -pe 's/\r\n/\n/' $< > $<.tmp && mv $<.tmp $< # replace crlf with lf
if [ true = true ]; then dosdp-tools generate --table-format=csv --template=./patterns/$*.yaml --outfile=modules/$*.tmp.owl --obo-prefixes=true --infile=modules/$*.csv; fi
$(ROBOT) annotate --input modules/$*.tmp.owl -O http://purl.obolibrary.org/obo/envo/modules/$*.owl --output modules/$*.owl && rm modules/$*.tmp.owl
modules/%.obo: modules/%.owl
$(OWLTOOLS) $< -o -f obo $@.tmp && grep -v ^owl-axioms $@.tmp > $@
modules/ebi_biomes.owl: modules/ebi_biomes.csv
$(ROBOT) template --template $< -i imports/ro_import.owl -o $@.tmp.owl && mv $@.tmp.owl $@ this seems most relevant: $(SRC): $(PRE_SRC)
$(OWLTOOLS) $(USECAT) $< $(patsubst %, --remove-import-declaration $(OBO)/envo/modules/%.owl, $(MODS)) -o $@.tmp
$(OWLTOOLS) $(USECAT) $@.tmp $(ALL_MODS_OWL) --merge-support-ontologies -o $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
via ROBOT templates
for example
The text was updated successfully, but these errors were encountered: