-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parse target ontology from mappings header, add nextflow tests
- Loading branch information
1 parent
62c96df
commit e4cbf9a
Showing
18 changed files
with
8,083 additions
and
12 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
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Extract target ontology from mappings file header. Defaults to EFO if missing. | ||
*/ | ||
process getTargetOntology { | ||
input: | ||
path mappingsFile | ||
|
||
output: | ||
env ONTOLOGY, emit: targetOntology | ||
|
||
script: | ||
""" | ||
ONTOLOGY=\$(grep '^#ontology=' ${mappingsFile} | sed 's/#ontology=//g') | ||
ONTOLOGY=\${ONTOLOGY:-EFO} | ||
""" | ||
} |
638 changes: 638 additions & 0 deletions
638
tests/pipelines/resources/expected/automated_trait_mappings.tsv
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
gc1/gc2 polymorphism Test comment |
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
tests/pipelines/resources/expected/google_sheets_table.tsv
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,18 @@ | ||
nephronophthisis 2 NT expansion http://purl.obolibrary.org/obo/MONDO_0019005|nephronophthisis|NOT_SPECIFIED|previously-used|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0019005|nephronophthisis|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0019005|nephronophthisis|GOOD|eva-clinvar|EFO_CURRENT | ||
gc1/gc2 polymorphism 1 NT expansion http://purl.obolibrary.org/obo/MONDO_0010739|Taqi polymorphism|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|NOT_CONTAINED http://www.orpha.net/ORDO/Orphanet_118803|solute carrier family 25 member 22|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED http://purl.obolibrary.org/obo/MONDO_0009826|PA polymorphism of alpha-2-globulin|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|NOT_CONTAINED http://www.orpha.net/ORDO/Orphanet_122340|guanylate cyclase 2D, retinal|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED | ||
inherited immunodeficiency diseases 2 http://identifiers.org/medgen/C5197805|Inherited Immunodeficiency Diseases|HIGH|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/C5197805|Inherited Immunodeficiency Diseases|HIGH|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/mesh/D000081207|Inherited Immunodeficiency Diseases|HIGH|clinvar-xrefs|NOT_CONTAINED | ||
peroxisome biogenesis disorder 5a (zellweger) 2 http://www.orpha.net/ORDO/Orphanet_912|Zellweger syndrome|NOT_SPECIFIED|previously-used|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0013932|peroxisome biogenesis disorder 5A (Zellweger)|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0013932|peroxisome biogenesis disorder 5A (Zellweger)|GOOD|eva-clinvar|EFO_CURRENT http://www.orpha.net/ORDO/Orphanet_912|Zellweger syndrome|GOOD|cttv|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0013932|peroxisome biogenesis disorder 5A (Zellweger)|GOOD|clinvar-xrefs|EFO_CURRENT http://www.orpha.net/ORDO/Orphanet_912|Zellweger syndrome|GOOD|clinvar-xrefs|EFO_CURRENT https://www.omim.org/entry/614866|Peroxisome biogenesis disorder 5A (Zellweger)|GOOD|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/C3553940|Peroxisome biogenesis disorder 5A (Zellweger)|GOOD|clinvar-xrefs|NOT_CONTAINED | ||
frontometaphyseal dysplasia 2 http://purl.obolibrary.org/obo/MONDO_0015942|frontometaphyseal dysplasia|NOT_SPECIFIED|previously-used|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0015942|frontometaphyseal dysplasia|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0015942|frontometaphyseal dysplasia|GOOD|eva-clinvar|EFO_CURRENT | ||
chitotriosidase deficiency 1 http://purl.obolibrary.org/obo/MONDO_0013586|Chitotriosidase deficiency|NOT_SPECIFIED|previously-used|EFO_OBSOLETE | ||
congenital muscular dystrophy, alpha-dystroglycan related 1 http://identifiers.org/medgen/CN239202|Congenital Muscular Dystrophy, alpha-dystroglycan related|HIGH|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/CN239202|Congenital Muscular Dystrophy, alpha-dystroglycan related|HIGH|clinvar-xrefs|NOT_CONTAINED | ||
corneal dystrophy, recessive 1 http://identifiers.org/medgen/CN239343|Corneal Dystrophy, Recessive|HIGH|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/CN239343|Corneal Dystrophy, Recessive|HIGH|clinvar-xrefs|NOT_CONTAINED | ||
peroxisome biogenesis disorder 10a (zellweger) 1 http://purl.obolibrary.org/obo/MONDO_0013948|peroxisome biogenesis disorder 10A (Zellweger)|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0013948|peroxisome biogenesis disorder 10A (Zellweger)|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0013948|peroxisome biogenesis disorder 10A (Zellweger)|GOOD|clinvar-xrefs|EFO_CURRENT http://www.orpha.net/ORDO/Orphanet_912|Zellweger syndrome|GOOD|clinvar-xrefs|EFO_CURRENT http://identifiers.org/medgen/C3553999|Peroxisome biogenesis disorder 10A (Zellweger)|GOOD|clinvar-xrefs|NOT_CONTAINED https://www.omim.org/entry/614882|Peroxisome biogenesis disorder 10A (Zellweger)|GOOD|clinvar-xrefs|NOT_CONTAINED | ||
severe myoclonic epilepsy in infancy 1 http://www.orpha.net/ORDO/Orphanet_33069|Dravet syndrome|NOT_SPECIFIED|previously-used|EFO_OBSOLETE http://purl.obolibrary.org/obo/MONDO_0014960|encephalopathy, progressive, early-onset, with brain edema and/or leukoencephalopathy|NOT_SPECIFIED|replacement|NOT_CONTAINED http://www.ebi.ac.uk/efo/EFO_1001900|myoclonic epilepsy|2|Orphanet:33069|EFO_CURRENT http://purl.obolibrary.org/obo/HP_0002123|Generalized myoclonic seizure|2|Orphanet:33069|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0100079|developmental and epileptic encephalopathy, 6|2|Orphanet:33069|EFO_CURRENT http://purl.obolibrary.org/obo/HP_0011170|Generalized myoclonic-atonic seizure|2|Orphanet:33069|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0100135|Dravet syndrome|2|Orphanet:33069|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0014328|developmental and epileptic encephalopathy, 19|2|Orphanet:33069|NOT_CONTAINED http://purl.obolibrary.org/obo/MONDO_0012812|developmental and epileptic encephalopathy, 4|2|Orphanet:33069|NOT_CONTAINED http://purl.obolibrary.org/obo/MONDO_0100062|developmental and epileptic encephalopathy|3|Orphanet:33069|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0016022|early myoclonic encephalopathy|3|Orphanet:33069|EFO_CURRENT | ||
isolated nonsyndromic congenital heart disease 1 http://identifiers.org/medgen/CN239319|Isolated Nonsyndromic Congenital Heart Disease|HIGH|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/CN239319|Isolated Nonsyndromic Congenital Heart Disease|HIGH|clinvar-xrefs|NOT_CONTAINED | ||
hypogonadotropic hypogonadism 3 with or without anosmia 1 http://purl.obolibrary.org/obo/MONDO_0009482|hypogonadotropic hypogonadism 3 with or without anosmia|GOOD|clinvar-xrefs|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0009482|hypogonadotropic hypogonadism 3 with or without anosmia|GOOD|clinvar-xrefs|EFO_CURRENT http://identifiers.org/medgen/C3550478|Hypogonadotropic hypogonadism 3 with or without anosmia|GOOD|clinvar-xrefs|NOT_CONTAINED https://www.omim.org/entry/244200|Hypogonadotropic hypogonadism 3 with or without anosmia|GOOD|clinvar-xrefs|NOT_CONTAINED | ||
elfn1-related condition 1 http://purl.obolibrary.org/obo/MONDO_0045054|cancer-related condition|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0021074|precancerous condition|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|EFO_CURRENT http://purl.obolibrary.org/obo/HP_0025256|Ameliorated by heat|MEDIUM|http://purl.obolibrary.org/obo/hp/hp-international.owl|NOT_CONTAINED http://purl.obolibrary.org/obo/HP_0032522|Ameliorated by immunosuppresion|MEDIUM|http://purl.obolibrary.org/obo/hp/hp-international.owl|NOT_CONTAINED http://www.orpha.net/ORDO/Orphanet_568065|EPHB4-related lymphatic-related hydrops fetalis|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED http://www.orpha.net/ORDO/Orphanet_471012|RAS related|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED | ||
chédiak-higashi syndrome 1 http://www.orpha.net/ORDO/Orphanet_167|Chédiak-Higashi syndrome|NOT_SPECIFIED|previously-used|EFO_CURRENT | ||
2-aminoadipic 2-oxoadipic aciduria 1 http://purl.obolibrary.org/obo/MONDO_0008774|2-aminoadipic 2-oxoadipic aciduria|NOT_SPECIFIED|previously-used|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0008774|2-aminoadipic 2-oxoadipic aciduria|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0008774|2-aminoadipic 2-oxoadipic aciduria|GOOD|eva-clinvar|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0008774|2-aminoadipic 2-oxoadipic aciduria|GOOD|clinvar-xrefs|EFO_CURRENT https://www.omim.org/entry/204750|2-aminoadipic 2-oxoadipic aciduria|GOOD|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/C1859817|2-aminoadipic 2-oxoadipic aciduria|GOOD|clinvar-xrefs|NOT_CONTAINED | ||
tp63-related spectrum disorders 1 http://identifiers.org/medgen/CN239305|TP63-Related Spectrum Disorders|HIGH|clinvar-xrefs|NOT_CONTAINED http://identifiers.org/medgen/CN239305|TP63-Related Spectrum Disorders|HIGH|clinvar-xrefs|NOT_CONTAINED | ||
autosomal dominant kcnq1-related disease 1 http://purl.obolibrary.org/obo/MONDO_0018832|HTRA1-related autosomal dominant cerebral small vessel disease|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|EFO_CURRENT http://purl.obolibrary.org/obo/MONDO_0000426|autosomal dominant disease|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|EFO_CURRENT http://www.orpha.net/ORDO/Orphanet_482077|HTRA1-related autosomal dominant cerebral small vessel disease|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED http://www.orpha.net/ORDO/Orphanet_497757|MME-related autosomal dominant Charcot Marie Tooth disease type 2|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED http://purl.obolibrary.org/obo/HP_0000006|Autosomal dominant inheritance|MEDIUM|http://purl.obolibrary.org/obo/hp/hp-international.owl|NOT_CONTAINED http://purl.obolibrary.org/obo/HP_0003743|Genetic anticipation|MEDIUM|http://purl.obolibrary.org/obo/hp/hp-international.owl|NOT_CONTAINED | ||
simvastatin response - toxicity 1 http://www.orpha.net/ORDO/Orphanet_240913|OBSOLETE: Simvastatin toxicity|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED http://www.orpha.net/ORDO/Orphanet_529831|Letrozole toxicity|MEDIUM|https://www.orphadata.com/data/ontologies/ordo/last_version/ORDO_en_4.3.owl|NOT_CONTAINED http://purl.obolibrary.org/obo/MONDO_0027653|abacavir toxicity|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|NOT_CONTAINED http://purl.obolibrary.org/obo/MONDO_0023176|formaldehyde poisoning|MEDIUM|http://purl.obolibrary.org/obo/mondo.owl|NOT_CONTAINED |
Oops, something went wrong.