-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
161 additions
and
163 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
all: | ||
(cd cat-vrs; make all) | ||
|
||
clean: | ||
(cd cat-vrs; make clean) |
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,11 +1,44 @@ | ||
all: core-build profiles-build | ||
.SECONDARY: | ||
.DELETE_ON_ERROR: | ||
|
||
core-build: | ||
(cd core; make all) | ||
BUILD_DIR := build | ||
DEF_DIR := def | ||
JSON_DIR := json | ||
IMPORT_DIR := import | ||
|
||
profiles-build: | ||
(cd profiles; make all) | ||
vpath %tag $(BUILD_DIR) | ||
vpath %.classes $(BUILD_DIR) | ||
|
||
SOURCES := $(wildcard *-source.yaml) | ||
TAGS := $(SOURCES:-source.yaml=.tag) | ||
IMPORTS := $(wildcard $(IMPORT_DIR)/*-source.yaml) | ||
|
||
all: build-ordered ${TAGS} prune-tag | ||
|
||
build-ordered: | $(BUILD_DIR) | ||
|
||
$(BUILD_DIR): | ||
mkdir $(BUILD_DIR) | ||
|
||
%.tag: %.classes %.json-tag %.defs-tag | ||
touch $(BUILD_DIR)/$@ | ||
|
||
%.classes: %-source.yaml | ||
source2classes $< >${BUILD_DIR}/$@ | ||
|
||
%.json-tag: %-source.yaml ${IMPORTS} | ||
source2splitjs $< | ||
touch $(BUILD_DIR)/$@ | ||
|
||
%.defs-tag: %-source.yaml ${IMPORTS} | ||
y2t $< | ||
touch $(BUILD_DIR)/$@ | ||
|
||
prune-tag: ${TAGS} | ||
$(MAKE) -f prune.mk | ||
touch $(BUILD_DIR)/$@ | ||
|
||
clean: | ||
(cd core; make clean) | ||
(cd profiles; make clean) | ||
rm $(BUILD_DIR)/* | ||
rm $(DEF_DIR)/* | ||
rm $(JSON_DIR)/* |
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
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
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
.../cat-vrs/profiles/def/CanonicalAllele.rst → schema/cat-vrs/def/CanonicalAllele.rst
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
6 changes: 6 additions & 0 deletions
6
...rofiles/def/CanonicalAlleleProperties.rst → ...cat-vrs/def/CanonicalAlleleProperties.rst
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
6 changes: 6 additions & 0 deletions
6
...a/cat-vrs/profiles/def/CategoricalCnv.rst → schema/cat-vrs/def/CategoricalCnv.rst
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
6 changes: 6 additions & 0 deletions
6
...profiles/def/CategoricalCnvProperties.rst → .../cat-vrs/def/CategoricalCnvProperties.rst
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
8 changes: 7 additions & 1 deletion
8
...a/cat-vrs/core/def/CategoricalVariant.rst → schema/cat-vrs/def/CategoricalVariant.rst
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
6 changes: 6 additions & 0 deletions
6
schema/cat-vrs/core/def/Constraint.rst → schema/cat-vrs/def/Constraint.rst
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
6 changes: 6 additions & 0 deletions
6
...cat-vrs/core/def/CopyChangeConstraint.rst → schema/cat-vrs/def/CopyChangeConstraint.rst
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
6 changes: 6 additions & 0 deletions
6
.../cat-vrs/core/def/CopyCountConstraint.rst → schema/cat-vrs/def/CopyCountConstraint.rst
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
6 changes: 6 additions & 0 deletions
6
...rs/core/def/DefiningContextConstraint.rst → ...cat-vrs/def/DefiningContextConstraint.rst
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
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
.../ProteinSequenceConsequenceProperties.rst → .../ProteinSequenceConsequenceProperties.rst
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
6 changes: 3 additions & 3 deletions
6
schema/cat-vrs/profiles/json/CanonicalAllele → schema/cat-vrs/json/CanonicalAllele
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,16 +1,16 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://w3id.org/ga4gh/schema/cat-vrs/1.x/profiles/json/CanonicalAllele", | ||
"$id": "https://w3id.org/ga4gh/schema/cat-vrs/1.x/json/CanonicalAllele", | ||
"title": "CanonicalAllele", | ||
"type": "object", | ||
"maturity": "draft", | ||
"description": "A canonical allele is defined by an [Allele](https://vrs.ga4gh.org/en/2.x/concepts/MolecularVariation/Allele.html#) that is representative of a collection of congruent Alleles, each of which depict the same nucleic acid change on different underlying reference sequences. Congruent representations of an Allele often exist across different genome assemblies and associated cDNA transcript representations.", | ||
"allOf": [ | ||
{ | ||
"$ref": "/ga4gh/schema/cat-vrs/1.x/profiles/json/CanonicalAlleleProperties" | ||
"$ref": "/ga4gh/schema/cat-vrs/1.x/json/CanonicalAlleleProperties" | ||
}, | ||
{ | ||
"$ref": "/ga4gh/schema/cat-vrs/1.x/core/json/CategoricalVariant" | ||
"$ref": "/ga4gh/schema/cat-vrs/1.x/json/CategoricalVariant" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.