@@ -12,10 +12,12 @@ ONTBASE= $(URIBASE)/pcl
1212
1313TSV_CLASS_FILES = $(patsubst % , ../patterns/data/default/% _class.tsv, $(JOBS ) )
1414TSV_CLASS_HOMOLOGOUS_FILES = $(patsubst % , ../patterns/data/default/% _class_homologous.tsv, $(JOBS ) )
15+ TSV_MARKER_SET_FILES = $(patsubst % , ../patterns/data/default/% _marker_set.tsv, $(JOBS ) )
1516
1617OWL_FILES = $(patsubst % , components/% .owl, $(JOBS ) )
1718OWL_CLASS_FILES = $(patsubst % , components/% _class.owl, $(JOBS ) )
1819OWL_CLASS_HOMOLOGOUS_FILES = $(patsubst % , components/% _class_homologous.owl, $(JOBS ) )
20+ OWL_MARKER_SET_FILES = $(patsubst % , components/% _marker_set.owl, $(JOBS ) )
1921GENE_FILES = $(patsubst % , mirror/% .owl, $(GENE_LIST ) )
2022OWL_APP_SPECIFIC_FILES = $(patsubst % , components/% _app_specific.owl, $(JOBS ) )
2123OWL_DATASET_FILES = $(patsubst % , components/% _dataset.owl, $(JOBS ) )
@@ -62,6 +64,9 @@ $(PATTERNDIR)/data/default/%_class_curation.txt: $(PATTERNDIR)/data/default/%_cl
6264$(PATTERNDIR ) /data/default/% _class_homologous.txt : $(PATTERNDIR ) /data/default/% _class_homologous.tsv $(TSV_CLASS_FILES ) .FORCE
6365 if [ $( PAT) = true ]; then $( DOSDPT) terms --infile=$< --template=$( PATTERNDIR) /dosdp-patterns/taxonomy_class_homologous.yaml --obo-prefixes=true --prefixes=template_prefixes.yaml --outfile=$@ ; fi
6466
67+ $(PATTERNDIR ) /data/default/% _marker_set.txt : $(PATTERNDIR ) /data/default/% _marker_set.tsv $(TSV_MARKER_SET_FILES ) .FORCE
68+ if [ $( PAT) = true ]; then $( DOSDPT) terms --infile=$< --template=$( PATTERNDIR) /dosdp-patterns/taxonomy_marker_set.yaml --obo-prefixes=true --prefixes=template_prefixes.yaml --outfile=$@ ; fi
69+
6570$(PATTERNDIR ) /data/default/Protein2GeneExpression.txt : $(PATTERNDIR ) /data/default/Protein2GeneExpression.tsv .FORCE
6671 if [ $( PAT) = true ]; then $( DOSDPT) terms --infile=$< --template=$( PATTERNDIR) /dosdp-patterns/Protein2GeneExpression.yaml --obo-prefixes=true --prefixes=template_prefixes.yaml --outfile=$@ ; fi
6772
@@ -93,7 +98,7 @@ mirror/ensmusg.owl: ../templates/ensmusg.tsv .FORCE
9398.PRECIOUS : imports/simple_marmoset_import.owl
9499
95100# merge all templates except application specific ones
96- components/all_templates.owl : $(OWL_FILES ) $(OWL_CLASS_FILES ) $(OWL_MIN_MARKER_FILES ) $(OWL_TAXONOMY_FILE ) $(OWL_PROTEIN2GENE_FILE ) $(OWL_APP_SPECIFIC_FILES ) $(PCL_LEGACY_FILE ) $(OWL_CLASS_HOMOLOGOUS_FILES ) $(OWL_DATASET_FILES )
101+ components/all_templates.owl : $(OWL_FILES ) $(OWL_CLASS_FILES ) $(OWL_MIN_MARKER_FILES ) $(OWL_TAXONOMY_FILE ) $(OWL_PROTEIN2GENE_FILE ) $(OWL_APP_SPECIFIC_FILES ) $(PCL_LEGACY_FILE ) $(OWL_CLASS_HOMOLOGOUS_FILES ) $(OWL_DATASET_FILES ) $( OWL_MARKER_SET_FILES )
97102 $(ROBOT ) merge $(patsubst % , -i % , $(filter-out $(OWL_APP_SPECIFIC_FILES ) , $^ ) ) \
98103 --collapse-import-closure false \
99104 annotate --ontology-iri ${BDS_BASE} $@ \
@@ -118,6 +123,11 @@ components/%_class_homologous.owl: $(PATTERNDIR)/data/default/%_class_homologous
118123 --infile =$< --template=$(PATTERNDIR ) /dosdp-patterns/taxonomy_class_homologous.yaml \
119124 --ontology=$(SRC ) --obo-prefixes=true --outfile=$@
120125
126+ components/% _marker_set.owl : $(PATTERNDIR ) /data/default/% _marker_set.tsv $(SRC ) $(PATTERNDIR ) /dosdp-patterns/taxonomy_marker_set.yaml $(SRC ) all_imports .FORCE
127+ $(DOSDPT ) generate --catalog=catalog-v001.xml --prefixes=template_prefixes.yaml \
128+ --infile =$< --template=$(PATTERNDIR ) /dosdp-patterns/taxonomy_marker_set.yaml \
129+ --ontology=$(SRC ) --obo-prefixes=true --outfile=$@
130+
121131components/taxonomies.owl : ../templates/Taxonomies.tsv $(SRC )
122132 $(ROBOT ) template --input $(SRC ) --template $< \
123133 --add-prefixes template_prefixes.json \
0 commit comments