Skip to content

Commit 5ed1100

Browse files
authored
plannotate annotation (#23)
* plannotate annotation * add type to allow Union of classes * multivalued report
1 parent fd536fe commit 5ed1100

13 files changed

Lines changed: 2899 additions & 963 deletions
1.68 KB
Binary file not shown.

project/graphql/shareyourcloning_linkml.graphql

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@ type AddGeneIdSource
1212
addgeneSequenceType: AddGeneSequenceType
1313
}
1414

15+
type AnnotationReport
16+
{
17+
type: String
18+
}
19+
20+
type AnnotationSource
21+
{
22+
id: Integer!
23+
input: [Sequence]
24+
output: Sequence
25+
type: String
26+
outputName: String
27+
annotationTool: AnnotationTool!
28+
annotationToolVersion: String
29+
annotationReport: [AnnotationReport]
30+
}
31+
1532
type AssemblyFragment
1633
{
1734
sequence: Sequence!
@@ -199,6 +216,25 @@ type PCRSource
199216
addPrimerFeatures: Boolean
200217
}
201218

219+
type PlannotateAnnotationReport
220+
{
221+
type: String
222+
sseqid: String
223+
startLocation: Integer
224+
endLocation: Integer
225+
strand: Integer
226+
percentIdentity: Float
227+
fullLengthOfFeatureInDb: Integer
228+
lengthOfFoundFeature: Integer
229+
percentMatchLength: Float
230+
fragment: Boolean
231+
database: String
232+
feature: String
233+
type: String
234+
description: String
235+
sequence: String
236+
}
237+
202238
type PolymeraseExtensionSource
203239
{
204240
id: Integer!

project/jsonld/shareyourcloning_linkml.context.jsonld

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"comments": {
33
"description": "Auto generated by LinkML jsonld context generator",
4-
"generation_date": "2024-11-22T18:08:08",
4+
"generation_date": "2024-11-26T16:51:08",
55
"source": "shareyourcloning_linkml.yaml"
66
},
77
"@context": {
@@ -29,6 +29,21 @@
2929
},
3030
"@id": "addgene_sequence_type"
3131
},
32+
"annotation_report": {
33+
"@type": "@id",
34+
"@id": "annotation_report"
35+
},
36+
"annotation_tool": {
37+
"@context": {
38+
"text": "skos:notation",
39+
"description": "skos:prefLabel",
40+
"meaning": "@id"
41+
},
42+
"@id": "annotation_tool"
43+
},
44+
"annotation_tool_version": {
45+
"@id": "annotation_tool_version"
46+
},
3247
"left_location": {
3348
"@type": "@id",
3449
"@id": "left_location"
@@ -146,6 +161,49 @@
146161
"@type": "xsd:boolean",
147162
"@id": "add_primer_features"
148163
},
164+
"database": {
165+
"@id": "database"
166+
},
167+
"Description": {
168+
"@id": "Description"
169+
},
170+
"end_location": {
171+
"@type": "xsd:integer",
172+
"@id": "end_location"
173+
},
174+
"Feature": {
175+
"@id": "Feature"
176+
},
177+
"fragment": {
178+
"@type": "xsd:boolean",
179+
"@id": "fragment"
180+
},
181+
"full_length_of_feature_in_db": {
182+
"@type": "xsd:integer",
183+
"@id": "full_length_of_feature_in_db"
184+
},
185+
"length_of_found_feature": {
186+
"@type": "xsd:integer",
187+
"@id": "length_of_found_feature"
188+
},
189+
"percent_identity": {
190+
"@type": "xsd:float",
191+
"@id": "percent_identity"
192+
},
193+
"percent_match_length": {
194+
"@type": "xsd:float",
195+
"@id": "percent_match_length"
196+
},
197+
"sseqid": {
198+
"@id": "sseqid"
199+
},
200+
"start_location": {
201+
"@type": "xsd:integer",
202+
"@id": "start_location"
203+
},
204+
"Type": {
205+
"@id": "Type"
206+
},
149207
"repository_id": {
150208
"@id": "repository_id"
151209
},
@@ -210,6 +268,12 @@
210268
"AddGeneIdSource": {
211269
"@id": "AddGeneIdSource"
212270
},
271+
"AnnotationReport": {
272+
"@id": "AnnotationReport"
273+
},
274+
"AnnotationSource": {
275+
"@id": "AnnotationSource"
276+
},
213277
"AssemblyFragment": {
214278
"@id": "AssemblyFragment"
215279
},
@@ -261,6 +325,9 @@
261325
"PCRSource": {
262326
"@id": "PCRSource"
263327
},
328+
"PlannotateAnnotationReport": {
329+
"@id": "PlannotateAnnotationReport"
330+
},
264331
"PolymeraseExtensionSource": {
265332
"@id": "PolymeraseExtensionSource"
266333
},

0 commit comments

Comments
 (0)