Skip to content

Commit 0c92952

Browse files
authored
Merge pull request #3 from ielis/release-0.2.1
Release `0.2.1`
2 parents d381b56 + 09749f7 commit 0c92952

29 files changed

+3264
-171
lines changed

Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[package]
22
name = "phenopackets-dev"
3-
version = "0.2.0"
4-
authors = [
5-
"Daniel Danis", "Daniel Danis <daniel.gordon.danis@protonmail.com>",
6-
]
3+
version = "0.2.1"
4+
authors = ["Daniel Danis", "Daniel Danis <daniel.gordon.danis@protonmail.com>"]
75
edition = "2021"
86
description = "Rust bindings for Phenopacket Schema"
97
readme = "README.md"
@@ -18,4 +16,4 @@ prost = "0.13"
1816
prost-types = "0.13"
1917

2018
[build-dependencies]
21-
prost-build = "0.13"
19+
prost-build = "0.13"

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
# Phenopacket Schema
1+
[![Continuous Integration](https://github.com/ielis/phenopackets-dev/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/ielis/phenopackets-dev/actions/workflows/ci.yml?query=branch%3Amaster)
2+
[![Documentation](https://docs.rs/phenopackets-dev/badge.svg)](https://docs.rs/phenopackets-dev/)
3+
[![Crate](https://img.shields.io/crates/v/phenopackets-dev.svg)](https://crates.io/crates/phenopackets-dev)
24

3-
Rust bindings for Phenopacket Schema.
5+
6+
# Rust bindings for Phenopacket Schema
7+
8+
See the documentation on [docs.rs](https://docs.rs/phenopackets-dev/latest/phenopackets_dev/)
9+
for usage examples and more info.

data/v1/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# README
2+
3+
The files in this folder correspond to comprehensive, albeit medically invalid, phenopacket elements:
4+
- phenopacket
5+
- family, or
6+
- cohort.
7+
8+
The content corresponds to the output of `TestData.V1.comprehensive*()` as of Oct 27th, 2022
9+
(see [TestData](https://github.com/phenopackets/phenopacket-tools/blob/main/phenopacket-tools-test/src/main/java/org/phenopackets/phenopackettools/test/TestData.java) in phenopacket-tools).

data/v1/cohort.json

Lines changed: 251 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,251 @@
1+
{
2+
"id": "comprehensive-cohort-id",
3+
"description": "A description of the example cohort.",
4+
"members": [{
5+
"id": "comprehensive-phenopacket-id",
6+
"subject": {
7+
"id": "14 year-old boy",
8+
"alternateIds": ["boy", "patient", "proband"],
9+
"dateOfBirth": "1970-01-02T10:17:36.000000100Z",
10+
"ageAtCollection": {
11+
"age": "P14Y"
12+
},
13+
"sex": "MALE",
14+
"karyotypicSex": "XY",
15+
"taxonomy": {
16+
"id": "NCBITaxon:9606",
17+
"label": "homo sapiens"
18+
}
19+
},
20+
"phenotypicFeatures": [{
21+
"type": {
22+
"id": "HP:0001558",
23+
"label": "Decreased fetal movement"
24+
},
25+
"classOfOnset": {
26+
"id": "HP:0011461",
27+
"label": "Fetal onset"
28+
},
29+
"evidence": [{
30+
"evidenceCode": {
31+
"id": "ECO:0000033",
32+
"label": "author statement supported by traceable reference"
33+
},
34+
"reference": {
35+
"id": "PMID:30808312",
36+
"description": "COL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report."
37+
}
38+
}]
39+
}, {
40+
"type": {
41+
"id": "HP:0031910",
42+
"label": "Abnormal cranial nerve physiology"
43+
},
44+
"negated": true,
45+
"evidence": [{
46+
"evidenceCode": {
47+
"id": "ECO:0000033",
48+
"label": "author statement supported by traceable reference"
49+
},
50+
"reference": {
51+
"id": "PMID:30808312",
52+
"description": "COL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report."
53+
}
54+
}]
55+
}, {
56+
"type": {
57+
"id": "HP:0011463",
58+
"label": "Macroscopic hematuria"
59+
},
60+
"modifiers": [{
61+
"id": "HP:0031796",
62+
"label": "Recurrent"
63+
}],
64+
"ageOfOnset": {
65+
"age": "P14Y"
66+
},
67+
"evidence": [{
68+
"evidenceCode": {
69+
"id": "ECO:0000033",
70+
"label": "author statement supported by traceable reference"
71+
},
72+
"reference": {
73+
"id": "PMID:30808312",
74+
"description": "COL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report."
75+
}
76+
}]
77+
}, {
78+
"type": {
79+
"id": "HP:0001270",
80+
"label": "Motor delay"
81+
},
82+
"severity": {
83+
"id": "HP:0012825",
84+
"label": "Mild"
85+
},
86+
"classOfOnset": {
87+
"id": "HP:0011463",
88+
"label": "Childhood onset"
89+
}
90+
}],
91+
"biosamples": [{
92+
"id": "biosample-id",
93+
"individualId": "14 year-old boy",
94+
"description": "Muscle biopsy of 14 year-old boy",
95+
"sampledTissue": {
96+
"id": "UBERON:0003403",
97+
"label": "skin of forearm"
98+
},
99+
"taxonomy": {
100+
"id": "NCBITaxon:9606",
101+
"label": "homo sapiens"
102+
},
103+
"ageOfIndividualAtCollection": {
104+
"age": "P14Y"
105+
},
106+
"histologicalDiagnosis": {
107+
"id": "NCIT:C38757",
108+
"label": "Negative Finding"
109+
},
110+
"tumorProgression": {
111+
"id": "NCIT:C3677",
112+
"label": "Benign Neoplasm"
113+
},
114+
"tumorGrade": {
115+
"id": "NCIT:C28076",
116+
"label": "Disease Grade Qualifier"
117+
},
118+
"diagnosticMarkers": [{
119+
"id": "NCIT:C68748",
120+
"label": "HER2/Neu Positive"
121+
}]
122+
}],
123+
"genes": [{
124+
"id": "HGNC1:3688",
125+
"symbol": "FGFR1"
126+
}],
127+
"variants": [{
128+
"hgvsAllele": {
129+
"hgvs": "NM_001848.2:c.877G\u003eA"
130+
},
131+
"zygosity": {
132+
"id": "GENO:0000135",
133+
"label": "heterozygous"
134+
}
135+
}],
136+
"diseases": [{
137+
"term": {
138+
"id": "OMIM:101600",
139+
"label": "PFEIFFER SYNDROME"
140+
},
141+
"classOfOnset": {
142+
"id": "HP:0003577",
143+
"label": "Congenital onset"
144+
}
145+
}],
146+
"htsFiles": [{
147+
"uri": "file://data/genomes/P000001C",
148+
"description": "Whole genome sequencing VCF output",
149+
"htsFormat": "VCF",
150+
"genomeAssembly": "GRCh38.p13",
151+
"individualToSampleIdentifiers": {
152+
"14 year-old boy": "P000001C"
153+
}
154+
}],
155+
"metaData": {
156+
"created": "2022-10-03T16:39:04.000123456Z",
157+
"createdBy": "Peter R.",
158+
"submittedBy": "PhenopacketLab",
159+
"resources": [{
160+
"id": "hp",
161+
"name": "human phenotype ontology",
162+
"url": "http://purl.obolibrary.org/obo/hp.owl",
163+
"version": "2018-03-08",
164+
"namespacePrefix": "HP",
165+
"iriPrefix": "http://purl.obolibrary.org/obo/HP_"
166+
}, {
167+
"id": "geno",
168+
"name": "Genotype Ontology",
169+
"url": "http://purl.obolibrary.org/obo/geno.owl",
170+
"version": "19-03-2018",
171+
"namespacePrefix": "GENO",
172+
"iriPrefix": "http://purl.obolibrary.org/obo/GENO_"
173+
}, {
174+
"id": "pubmed",
175+
"name": "PubMed",
176+
"namespacePrefix": "PMID",
177+
"iriPrefix": "https://www.ncbi.nlm.nih.gov/pubmed/"
178+
}, {
179+
"id": "ncit",
180+
"name": "NCI Thesaurus",
181+
"url": "http://purl.obolibrary.org/obo/ncit.owl",
182+
"version": "20-03-2020",
183+
"namespacePrefix": "NCIT",
184+
"iriPrefix": "http://purl.obolibrary.org/obo/NCIT_"
185+
}],
186+
"phenopacketSchemaVersion": "1.0.0",
187+
"externalReferences": [{
188+
"id": "PMID:30808312",
189+
"description": "COL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report."
190+
}]
191+
}
192+
}, {
193+
"subject": {
194+
"id": "MOTHER",
195+
"sex": "FEMALE"
196+
}
197+
}, {
198+
"subject": {
199+
"id": "FATHER",
200+
"sex": "MALE"
201+
}
202+
}],
203+
"htsFiles": [{
204+
"uri": "file://data/genomes/FAM000001",
205+
"description": "Whole genome sequencing VCF output",
206+
"htsFormat": "VCF",
207+
"genomeAssembly": "GRCh38.p13",
208+
"individualToSampleIdentifiers": {
209+
"14 year-old boy": "P000001C",
210+
"MOTHER": "P000001M",
211+
"FATHER": "P000001F"
212+
}
213+
}],
214+
"metaData": {
215+
"created": "2022-10-03T16:39:04.000123456Z",
216+
"createdBy": "Peter R.",
217+
"submittedBy": "PhenopacketLab",
218+
"resources": [{
219+
"id": "hp",
220+
"name": "human phenotype ontology",
221+
"url": "http://purl.obolibrary.org/obo/hp.owl",
222+
"version": "2018-03-08",
223+
"namespacePrefix": "HP",
224+
"iriPrefix": "http://purl.obolibrary.org/obo/HP_"
225+
}, {
226+
"id": "geno",
227+
"name": "Genotype Ontology",
228+
"url": "http://purl.obolibrary.org/obo/geno.owl",
229+
"version": "19-03-2018",
230+
"namespacePrefix": "GENO",
231+
"iriPrefix": "http://purl.obolibrary.org/obo/GENO_"
232+
}, {
233+
"id": "pubmed",
234+
"name": "PubMed",
235+
"namespacePrefix": "PMID",
236+
"iriPrefix": "https://www.ncbi.nlm.nih.gov/pubmed/"
237+
}, {
238+
"id": "ncit",
239+
"name": "NCI Thesaurus",
240+
"url": "http://purl.obolibrary.org/obo/ncit.owl",
241+
"version": "20-03-2020",
242+
"namespacePrefix": "NCIT",
243+
"iriPrefix": "http://purl.obolibrary.org/obo/NCIT_"
244+
}],
245+
"phenopacketSchemaVersion": "1.0.0",
246+
"externalReferences": [{
247+
"id": "PMID:30808312",
248+
"description": "COL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report."
249+
}]
250+
}
251+
}

data/v1/cohort.pb

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
comprehensive-cohort-id$A description of the example cohort.�
3+
comprehensive-phenopacket-id\
4+
14 year-old boyboypatientproband��d"
5+
P14Y08B
6+
NCBITaxon:9606 homo sapiens�&
7+
8+
HP:0001558Decreased fetal movementJ
9+
10+
HP:0011461 Fetal onsetR�
11+
@
12+
ECO:00000331author statement supported by traceable referencee
13+
PMID:30808312TCOL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report.�/
14+
15+
HP:0031910!Abnormal cranial nerve physiologyR�
16+
@
17+
ECO:00000331author statement supported by traceable referencee
18+
PMID:30808312TCOL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report.�#
19+
20+
HP:0011463Macroscopic hematuria*
21+
22+
HP:0031796 Recurrent2
23+
P14YR�
24+
@
25+
ECO:00000331author statement supported by traceable referencee
26+
PMID:30808312TCOL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report.N
27+
28+
HP:0001270 Motor delay"
29+
30+
HP:0012825MildJ
31+
32+
HP:0011463Childhood onset"�
33+
biosample-id14 year-old boy Muscle biopsy of 14 year-old boy"!
34+
UBERON:0003403skin of forearm2
35+
NCBITaxon:9606 homo sapiens:
36+
P14YJ
37+
NCIT:C38757Negative FindingR
38+
39+
NCIT:C3677Benign NeoplasmZ&
40+
NCIT:C28076Disease Grade Qualifierb
41+
NCIT:C68748HER2/Neu Positive*
42+
43+
HGNC1:3688FGFR126NM_001848.2:c.877G>A2
44+
GENO:0000135 heterozygous:B
45+
46+
OMIM:101600PFEIFFER SYNDROME"
47+
48+
HP:0003577Congenital onsetBm
49+
file://data/genomes/P000001C"Whole genome sequencing VCF output"
50+
GRCh38.p13*
51+
14 year-old boyP000001CJ�
52+
53+
�����Peter R.PhenopacketLab"y
54+
hphuman phenotype ontology%http://purl.obolibrary.org/obo/hp.owl"
55+
2018-03-08*HP2"http://purl.obolibrary.org/obo/HP_"z
56+
genoGenotype Ontology'http://purl.obolibrary.org/obo/geno.owl"
57+
19-03-2018*GENO2$http://purl.obolibrary.org/obo/GENO_"<
58+
pubmedPubMed*PMID2$https://www.ncbi.nlm.nih.gov/pubmed/"v
59+
ncitNCI Thesaurus'http://purl.obolibrary.org/obo/ncit.owl"
60+
20-03-2020*NCIT2$http://purl.obolibrary.org/obo/NCIT_21.0.0:e
61+
PMID:30808312TCOL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report. 
62+
63+
MOTHER0 
64+
65+
FATHER0"�
66+
file://data/genomes/FAM000001"Whole genome sequencing VCF output"
67+
GRCh38.p13*
68+
14 year-old boyP000001C*
69+
MOTHERP000001M*
70+
FATHERP000001F*�
71+
72+
�����Peter R.PhenopacketLab"y
73+
hphuman phenotype ontology%http://purl.obolibrary.org/obo/hp.owl"
74+
2018-03-08*HP2"http://purl.obolibrary.org/obo/HP_"z
75+
genoGenotype Ontology'http://purl.obolibrary.org/obo/geno.owl"
76+
19-03-2018*GENO2$http://purl.obolibrary.org/obo/GENO_"<
77+
pubmedPubMed*PMID2$https://www.ncbi.nlm.nih.gov/pubmed/"v
78+
ncitNCI Thesaurus'http://purl.obolibrary.org/obo/ncit.owl"
79+
20-03-2020*NCIT2$http://purl.obolibrary.org/obo/NCIT_21.0.0:e
80+
PMID:30808312TCOL6A1 mutation leading to Bethlem myopathy with recurrent hematuria: a case report.

0 commit comments

Comments
 (0)