Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions migrate_templates.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rm -f src/data/templates/*/templates/*backup.json
python -m opencloning_linkml.migrations.migrate --target-version 0.4.9 src/data/templates/*/templates/*.json
rm -f src/data/templates/*/templates/*backup.json
Binary file modified project/excel/opencloning_linkml.xlsx
Binary file not shown.
54 changes: 24 additions & 30 deletions project/graphql/opencloning_linkml.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,6 @@ enum GatewayReactionType
BP
}

enum RepositoryName
{
addgene
genbank
benchling
snapgene
euroscarf
igem
wekwikgene
seva
open_dna_collections
}

enum SequenceFileFormat
{
fasta
Expand All @@ -62,7 +49,6 @@ type AddgeneIdSource
databaseId: Integer
input: [SourceInput]
repositoryId: String!
repositoryName: RepositoryName!
sequenceFileUrl: String
addgeneSequenceType: AddgeneSequenceType
}
Expand Down Expand Up @@ -118,7 +104,6 @@ type BenchlingUrlSource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
repositoryId: String!
}

Expand Down Expand Up @@ -200,7 +185,6 @@ type EuroscarfSource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
repositoryId: String!
}

Expand All @@ -223,13 +207,12 @@ type GenomeCoordinatesSource
outputName: String
databaseId: Integer
input: [SourceInput]
coordinates: SimpleSequenceLocation
repositoryId: String!
assemblyAccession: String
sequenceAccession: String!
locusTag: String
geneId: Integer
start: Integer!
end: Integer!
strand: Integer!
location: String!
}

type GibsonAssemblySource
Expand Down Expand Up @@ -259,7 +242,6 @@ type IGEMSource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
sequenceFileUrl: String!
repositoryId: String!
}
Expand Down Expand Up @@ -294,24 +276,41 @@ type LigationSource
circular: Boolean
}

type ManuallyTypedSequence
{
id: Integer!
type: String
overhangCrick3prime: Integer
overhangWatson3prime: Integer
sequence: String!
circular: Boolean
}

type ManuallyTypedSource
{
id: Integer!
type: String
outputName: String
databaseId: Integer
input: [SourceInput]
overhangCrick3prime: Integer
overhangWatson3prime: Integer
userInput: String!
circular: Boolean
}

type NamedThing
{
id: Integer!
}

type NCBISequenceSource
{
id: Integer!
type: String
outputName: String
databaseId: Integer
input: [SourceInput]
coordinates: SimpleSequenceLocation
repositoryId: String!
}

type OligoHybridizationSource
{
id: Integer!
Expand All @@ -329,7 +328,6 @@ type OpenDNACollectionsSource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
sequenceFileUrl: String
repositoryId: String!
}
Expand Down Expand Up @@ -400,7 +398,6 @@ type RepositoryIdSource
databaseId: Integer
input: [SourceInput]
repositoryId: String!
repositoryName: RepositoryName!
}

type RestrictionAndLigationSource
Expand Down Expand Up @@ -480,7 +477,6 @@ type SEVASource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
sequenceFileUrl: String
repositoryId: String!
}
Expand All @@ -492,7 +488,6 @@ type SnapGenePlasmidSource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
repositoryId: String!
}

Expand Down Expand Up @@ -550,7 +545,6 @@ type WekWikGeneIdSource
outputName: String
databaseId: Integer
input: [SourceInput]
repositoryName: RepositoryName!
sequenceFileUrl: String
repositoryId: String!
}
53 changes: 20 additions & 33 deletions project/jsonld/opencloning_linkml.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2025-11-27T13:31:19",
"generation_date": "2025-12-06T00:30:23",
"source": "opencloning_linkml.yaml"
},
"@context": {
Expand Down Expand Up @@ -163,35 +163,27 @@
"assembly_accession": {
"@id": "assembly_accession"
},
"end": {
"@type": "xsd:integer",
"@id": "end"
},
"gene_id": {
"@type": "xsd:integer",
"@id": "gene_id"
},
"locus_tag": {
"@id": "locus_tag"
},
"sequence_accession": {
"@id": "sequence_accession"
},
"start": {
"@type": "xsd:integer",
"@id": "start"
},
"strand": {
"@type": "xsd:integer",
"@id": "strand"
},
"id": "@id",
"user_input": {
"@id": "user_input"
"location": {
"@id": "location"
},
"sequence": {
"@type": "@id",
"@id": "sequence"
},
"name": {
"@id": "schema:name"
},
"coordinates": {
"@id": "coordinates"
},
"output_name": {
"@id": "output_name"
},
Expand Down Expand Up @@ -240,31 +232,23 @@
"@type": "xsd:float",
"@id": "percent_match_length"
},
"sequence": {
"@type": "@id",
"@id": "sequence"
},
"sseqid": {
"@id": "sseqid"
},
"start_location": {
"@type": "xsd:integer",
"@id": "start_location"
},
"strand": {
"@type": "xsd:integer",
"@id": "strand"
},
"Type": {
"@id": "Type"
},
"repository_id": {
"@id": "repository_id"
},
"repository_name": {
"@context": {
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "repository_name"
},
"restriction_enzyme": {
"@id": "restriction_enzyme"
},
Expand Down Expand Up @@ -315,9 +299,6 @@
"@type": "xsd:boolean",
"@id": "circularize"
},
"coordinates": {
"@id": "coordinates"
},
"index_in_file": {
"@type": "xsd:integer",
"@id": "index_in_file"
Expand Down Expand Up @@ -391,12 +372,18 @@
"LigationSource": {
"@id": "LigationSource"
},
"ManuallyTypedSequence": {
"@id": "ManuallyTypedSequence"
},
"ManuallyTypedSource": {
"@id": "ManuallyTypedSource"
},
"NamedThing": {
"@id": "schema:Thing"
},
"NCBISequenceSource": {
"@id": "NCBISequenceSource"
},
"OligoHybridizationSource": {
"@id": "OligoHybridizationSource"
},
Expand Down
Loading