opencloning-linkml 0.2a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. opencloning_linkml-0.2a0/LICENSE +22 -0
  2. opencloning_linkml-0.2a0/PKG-INFO +64 -0
  3. opencloning_linkml-0.2a0/README.md +39 -0
  4. opencloning_linkml-0.2a0/project/excel/opencloning_linkml.xlsx +0 -0
  5. opencloning_linkml-0.2a0/project/graphql/opencloning_linkml.graphql +488 -0
  6. opencloning_linkml-0.2a0/project/jsonld/opencloning_linkml.context.jsonld +448 -0
  7. opencloning_linkml-0.2a0/project/jsonld/opencloning_linkml.jsonld +3326 -0
  8. opencloning_linkml-0.2a0/project/jsonschema/opencloning_linkml.schema.json +2552 -0
  9. opencloning_linkml-0.2a0/project/owl/opencloning_linkml.owl.ttl +1961 -0
  10. opencloning_linkml-0.2a0/project/prefixmap/opencloning_linkml.yaml +13 -0
  11. opencloning_linkml-0.2a0/project/protobuf/opencloning_linkml.proto +422 -0
  12. opencloning_linkml-0.2a0/project/python/opencloning_linkml.py +2760 -0
  13. opencloning_linkml-0.2a0/project/shacl/opencloning_linkml.shacl.ttl +1848 -0
  14. opencloning_linkml-0.2a0/project/shex/opencloning_linkml.shex +506 -0
  15. opencloning_linkml-0.2a0/project/sqlschema/opencloning_linkml.sql +1017 -0
  16. opencloning_linkml-0.2a0/pyproject.toml +55 -0
  17. opencloning_linkml-0.2a0/src/opencloning_linkml/__init__.py +0 -0
  18. opencloning_linkml-0.2a0/src/opencloning_linkml/_version.py +7 -0
  19. opencloning_linkml-0.2a0/src/opencloning_linkml/datamodel/__init__.py +1 -0
  20. opencloning_linkml-0.2a0/src/opencloning_linkml/datamodel/_models.py +2582 -0
  21. opencloning_linkml-0.2a0/src/opencloning_linkml/datamodel/models.py +1 -0
  22. opencloning_linkml-0.2a0/src/opencloning_linkml/schema/opencloning_linkml.yaml +852 -0
@@ -0,0 +1,22 @@
1
+
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2023 Manuel Lera-Ramirez
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,64 @@
1
+ Metadata-Version: 2.3
2
+ Name: opencloning-linkml
3
+ Version: 0.2a0
4
+ Summary: A LinkML data model for OpenCloning
5
+ License: MIT
6
+ Author: Manuel Lera-Ramirez
7
+ Author-email: manuel.lera-ramirez@ucl.ac.uk
8
+ Requires-Python: >=3.9,<4.0
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Provides-Extra: docs
19
+ Requires-Dist: pydantic (>=2.7.1,<3.0.0)
20
+ Project-URL: Documentation, https://genestorian.github.io/OpenCloning_LinkML
21
+ Project-URL: Homepage, https://github.com/genestorian/OpenCloning_LinkML
22
+ Project-URL: Repository, https://github.com/genestorian/OpenCloning_LinkML
23
+ Description-Content-Type: text/markdown
24
+
25
+ # OpenCloning_LinkML
26
+
27
+ A LinkML data model for OpenCloning, a standardized schema for describing molecular cloning strategies and DNA assembly protocols.
28
+
29
+ ## Website
30
+
31
+ [https://genestorian.github.io/OpenCloning_LinkML](https://genestorian.github.io/OpenCloning_LinkML)
32
+
33
+ ## Repository Structure
34
+
35
+ * [examples/](examples/) - example data
36
+ * [project/](project/) - project files (do not edit these)
37
+ * [src/](src/) - source files (edit these)
38
+ * [opencloning_linkml](src/opencloning_linkml)
39
+ * [schema](src/opencloning_linkml/schema) -- LinkML schema
40
+ (edit this)
41
+ * [datamodel](src/opencloning_linkml/datamodel) -- generated
42
+ Python datamodel
43
+ * [tests/](tests/) - Python tests
44
+
45
+ ## Developer Documentation
46
+
47
+ The python package can be installed from PyPI:
48
+
49
+ ```bash
50
+ pip install opencloning-linkml
51
+ ```
52
+
53
+ <details>
54
+ Use the `make` command to generate project artefacts:
55
+
56
+ * `make all`: make everything
57
+ * `make deploy`: deploys site
58
+ </details>
59
+
60
+ ## Credits
61
+
62
+ This project was made with
63
+ [linkml-project-cookiecutter](https://github.com/linkml/linkml-project-cookiecutter).
64
+
@@ -0,0 +1,39 @@
1
+ # OpenCloning_LinkML
2
+
3
+ A LinkML data model for OpenCloning, a standardized schema for describing molecular cloning strategies and DNA assembly protocols.
4
+
5
+ ## Website
6
+
7
+ [https://genestorian.github.io/OpenCloning_LinkML](https://genestorian.github.io/OpenCloning_LinkML)
8
+
9
+ ## Repository Structure
10
+
11
+ * [examples/](examples/) - example data
12
+ * [project/](project/) - project files (do not edit these)
13
+ * [src/](src/) - source files (edit these)
14
+ * [opencloning_linkml](src/opencloning_linkml)
15
+ * [schema](src/opencloning_linkml/schema) -- LinkML schema
16
+ (edit this)
17
+ * [datamodel](src/opencloning_linkml/datamodel) -- generated
18
+ Python datamodel
19
+ * [tests/](tests/) - Python tests
20
+
21
+ ## Developer Documentation
22
+
23
+ The python package can be installed from PyPI:
24
+
25
+ ```bash
26
+ pip install opencloning-linkml
27
+ ```
28
+
29
+ <details>
30
+ Use the `make` command to generate project artefacts:
31
+
32
+ * `make all`: make everything
33
+ * `make deploy`: deploys site
34
+ </details>
35
+
36
+ ## Credits
37
+
38
+ This project was made with
39
+ [linkml-project-cookiecutter](https://github.com/linkml/linkml-project-cookiecutter).
@@ -0,0 +1,488 @@
1
+ # metamodel_version: 1.7.0
2
+ enum AddGeneSequenceType
3
+ {
4
+ depositor__HYPHEN_MINUS__full
5
+ addgene__HYPHEN_MINUS__full
6
+ }
7
+
8
+ enum AnnotationTool
9
+ {
10
+ plannotate
11
+ }
12
+
13
+ enum AssociatedFileType
14
+ {
15
+ Sanger_sequencing
16
+ }
17
+
18
+ enum Collection
19
+ {
20
+ AddGenePlasmid
21
+ OligoPair
22
+ }
23
+
24
+ enum CollectionOptionType
25
+ {
26
+ OligoPair
27
+ AddGenePlasmid
28
+ }
29
+
30
+ enum GatewayReactionType
31
+ {
32
+ LR
33
+ BP
34
+ }
35
+
36
+ enum RepositoryName
37
+ {
38
+ addgene
39
+ genbank
40
+ benchling
41
+ snapgene
42
+ euroscarf
43
+ igem
44
+ }
45
+
46
+ enum SequenceFileFormat
47
+ {
48
+ fasta
49
+ genbank
50
+ snapgene
51
+ embl
52
+ }
53
+
54
+ type AddGeneIdSource
55
+ {
56
+ id: Integer!
57
+ input: [Sequence]
58
+ output: Sequence
59
+ type: String
60
+ outputName: String
61
+ repositoryId: String!
62
+ repositoryName: RepositoryName!
63
+ sequenceFileUrl: String
64
+ addgeneSequenceType: AddGeneSequenceType
65
+ }
66
+
67
+ type AnnotationReport
68
+ {
69
+ type: String
70
+ }
71
+
72
+ type AnnotationSource
73
+ {
74
+ id: Integer!
75
+ input: [Sequence]
76
+ output: Sequence
77
+ type: String
78
+ outputName: String
79
+ annotationTool: AnnotationTool!
80
+ annotationToolVersion: String
81
+ annotationReport: [AnnotationReport]
82
+ }
83
+
84
+ type AssemblyFragment
85
+ {
86
+ sequence: Sequence!
87
+ leftLocation: SimpleSequenceLocation
88
+ rightLocation: SimpleSequenceLocation
89
+ reverseComplemented: Boolean!
90
+ }
91
+
92
+ type AssemblySource
93
+ {
94
+ id: Integer!
95
+ input: [Sequence]
96
+ output: Sequence
97
+ type: String
98
+ outputName: String
99
+ circular: Boolean
100
+ assembly: [AssemblyFragment]
101
+ }
102
+
103
+ type AssociatedFile
104
+ {
105
+ type: String
106
+ sequenceId: Sequence!
107
+ fileName: String!
108
+ fileType: AssociatedFileType!
109
+ }
110
+
111
+ type BenchlingUrlSource
112
+ {
113
+ id: Integer!
114
+ input: [Sequence]
115
+ output: Sequence
116
+ type: String
117
+ outputName: String
118
+ repositoryName: RepositoryName!
119
+ repositoryId: String!
120
+ }
121
+
122
+ type CloningStrategy
123
+ {
124
+ sequences: [Sequence]!
125
+ sources: [Source]!
126
+ primers: [Primer]
127
+ description: String
128
+ files: [AssociatedFile]
129
+ }
130
+
131
+ type CollectionOption
132
+ {
133
+ name: String!
134
+ source: Source!
135
+ info: CollectionOptionInfo
136
+ }
137
+
138
+ type CollectionOptionInfo
139
+ {
140
+ name: String
141
+ description: String
142
+ type: CollectionOptionType
143
+ resistance: String
144
+ well: String
145
+ }
146
+
147
+ type CollectionSource
148
+ {
149
+ id: Integer!
150
+ input: [Sequence]
151
+ output: Sequence
152
+ type: String
153
+ outputName: String
154
+ categoryId: String
155
+ title: String!
156
+ description: String
157
+ image: [String]
158
+ options: [CollectionOption]
159
+ }
160
+
161
+ type CRISPRSource
162
+ {
163
+ id: Integer!
164
+ input: [Sequence]
165
+ output: Sequence
166
+ type: String
167
+ outputName: String
168
+ circular: Boolean
169
+ assembly: [AssemblyFragment]
170
+ guides: [Primer]!
171
+ }
172
+
173
+ type EuroscarfSource
174
+ {
175
+ id: Integer!
176
+ input: [Sequence]
177
+ output: Sequence
178
+ type: String
179
+ outputName: String
180
+ repositoryName: RepositoryName!
181
+ repositoryId: String!
182
+ }
183
+
184
+ type GatewaySource
185
+ {
186
+ id: Integer!
187
+ input: [Sequence]
188
+ output: Sequence
189
+ type: String
190
+ outputName: String
191
+ circular: Boolean
192
+ assembly: [AssemblyFragment]
193
+ reactionType: GatewayReactionType!
194
+ greedy: Boolean
195
+ }
196
+
197
+ type GenomeCoordinatesSource
198
+ {
199
+ id: Integer!
200
+ input: [Sequence]
201
+ output: Sequence
202
+ type: String
203
+ outputName: String
204
+ assemblyAccession: String
205
+ sequenceAccession: String!
206
+ locusTag: String
207
+ geneId: Integer
208
+ start: Integer!
209
+ end: Integer!
210
+ strand: Integer!
211
+ }
212
+
213
+ type GibsonAssemblySource
214
+ {
215
+ id: Integer!
216
+ input: [Sequence]
217
+ output: Sequence
218
+ type: String
219
+ outputName: String
220
+ circular: Boolean
221
+ assembly: [AssemblyFragment]
222
+ }
223
+
224
+ type HomologousRecombinationSource
225
+ {
226
+ id: Integer!
227
+ input: [Sequence]
228
+ output: Sequence
229
+ type: String
230
+ outputName: String
231
+ circular: Boolean
232
+ assembly: [AssemblyFragment]
233
+ }
234
+
235
+ type IGEMSource
236
+ {
237
+ id: Integer!
238
+ input: [Sequence]
239
+ output: Sequence
240
+ type: String
241
+ outputName: String
242
+ repositoryName: RepositoryName!
243
+ sequenceFileUrl: String!
244
+ repositoryId: String!
245
+ }
246
+
247
+ type InFusionSource
248
+ {
249
+ id: Integer!
250
+ input: [Sequence]
251
+ output: Sequence
252
+ type: String
253
+ outputName: String
254
+ circular: Boolean
255
+ assembly: [AssemblyFragment]
256
+ }
257
+
258
+ type LigationSource
259
+ {
260
+ id: Integer!
261
+ input: [Sequence]
262
+ output: Sequence
263
+ type: String
264
+ outputName: String
265
+ circular: Boolean
266
+ assembly: [AssemblyFragment]
267
+ }
268
+
269
+ type ManuallyTypedSource
270
+ {
271
+ id: Integer!
272
+ input: [Sequence]
273
+ output: Sequence
274
+ type: String
275
+ outputName: String
276
+ overhangCrick3prime: Integer
277
+ overhangWatson3prime: Integer
278
+ userInput: String!
279
+ circular: Boolean
280
+ }
281
+
282
+ type NamedThing
283
+ {
284
+ id: Integer!
285
+ }
286
+
287
+ type OligoHybridizationSource
288
+ {
289
+ id: Integer!
290
+ input: [Sequence]
291
+ output: Sequence
292
+ type: String
293
+ outputName: String
294
+ overhangCrick3prime: Integer
295
+ forwardOligo: Primer!
296
+ reverseOligo: Primer!
297
+ }
298
+
299
+ type OverlapExtensionPCRLigationSource
300
+ {
301
+ id: Integer!
302
+ input: [Sequence]
303
+ output: Sequence
304
+ type: String
305
+ outputName: String
306
+ circular: Boolean
307
+ assembly: [AssemblyFragment]
308
+ }
309
+
310
+ type PCRSource
311
+ {
312
+ id: Integer!
313
+ input: [Sequence]
314
+ output: Sequence
315
+ type: String
316
+ outputName: String
317
+ circular: Boolean
318
+ assembly: [AssemblyFragment]
319
+ addPrimerFeatures: Boolean
320
+ }
321
+
322
+ type PlannotateAnnotationReport
323
+ {
324
+ type: String
325
+ sseqid: String
326
+ startLocation: Integer
327
+ endLocation: Integer
328
+ strand: Integer
329
+ percentIdentity: Float
330
+ fullLengthOfFeatureInDb: Integer
331
+ lengthOfFoundFeature: Integer
332
+ percentMatchLength: Float
333
+ fragment: Boolean
334
+ database: String
335
+ feature: String
336
+ type: String
337
+ description: String
338
+ sequence: String
339
+ }
340
+
341
+ type PolymeraseExtensionSource
342
+ {
343
+ id: Integer!
344
+ input: [Sequence]
345
+ output: Sequence
346
+ type: String
347
+ outputName: String
348
+ }
349
+
350
+ type Primer
351
+ {
352
+ id: Integer!
353
+ type: String
354
+ name: String
355
+ sequence: String
356
+ }
357
+
358
+ type RepositoryIdSource
359
+ {
360
+ id: Integer!
361
+ input: [Sequence]
362
+ output: Sequence
363
+ type: String
364
+ outputName: String
365
+ repositoryId: String!
366
+ repositoryName: RepositoryName!
367
+ }
368
+
369
+ type RestrictionAndLigationSource
370
+ {
371
+ id: Integer!
372
+ input: [Sequence]
373
+ output: Sequence
374
+ type: String
375
+ outputName: String
376
+ circular: Boolean
377
+ assembly: [AssemblyFragment]
378
+ restrictionEnzymes: [String]!
379
+ }
380
+
381
+ type RestrictionEnzymeDigestionSource
382
+ {
383
+ id: Integer!
384
+ input: [Sequence]
385
+ output: Sequence
386
+ type: String
387
+ outputName: String
388
+ leftEdge: RestrictionSequenceCut
389
+ rightEdge: RestrictionSequenceCut
390
+ }
391
+
392
+ type RestrictionSequenceCut
393
+ {
394
+ cutWatson: Integer!
395
+ overhang: Integer!
396
+ restrictionEnzyme: String!
397
+ }
398
+
399
+ interface Sequence
400
+ {
401
+ id: Integer!
402
+ type: String
403
+ }
404
+
405
+ type SequenceCut
406
+ {
407
+ cutWatson: Integer!
408
+ overhang: Integer!
409
+ }
410
+
411
+ type SequenceCutSource
412
+ {
413
+ id: Integer!
414
+ input: [Sequence]
415
+ output: Sequence
416
+ type: String
417
+ outputName: String
418
+ leftEdge: SequenceCut
419
+ rightEdge: SequenceCut
420
+ }
421
+
422
+ type SequencingFile
423
+ {
424
+ type: String
425
+ sequenceId: Sequence!
426
+ fileName: String!
427
+ fileType: AssociatedFileType!
428
+ alignment: [String]!
429
+ }
430
+
431
+ type SimpleSequenceLocation
432
+ {
433
+ start: Integer!
434
+ end: Integer!
435
+ strand: Integer
436
+ }
437
+
438
+ type SnapGenePlasmidSource
439
+ {
440
+ id: Integer!
441
+ input: [Sequence]
442
+ output: Sequence
443
+ type: String
444
+ outputName: String
445
+ repositoryName: RepositoryName!
446
+ repositoryId: String!
447
+ }
448
+
449
+ interface Source
450
+ {
451
+ id: Integer!
452
+ input: [Sequence]
453
+ output: Sequence
454
+ type: String
455
+ outputName: String
456
+ }
457
+
458
+ type TemplateSequence
459
+ {
460
+ id: Integer!
461
+ type: String
462
+ circular: Boolean
463
+ primerDesign: String
464
+ }
465
+
466
+ type TextFileSequence
467
+ {
468
+ id: Integer!
469
+ type: String
470
+ sequenceFileFormat: SequenceFileFormat!
471
+ overhangCrick3prime: Integer
472
+ overhangWatson3prime: Integer
473
+ fileContent: String
474
+ }
475
+
476
+ type UploadedFileSource
477
+ {
478
+ id: Integer!
479
+ input: [Sequence]
480
+ output: Sequence
481
+ type: String
482
+ outputName: String
483
+ sequenceFileFormat: SequenceFileFormat!
484
+ fileName: String
485
+ indexInFile: Integer
486
+ circularize: Boolean
487
+ }
488
+