@apollo-annotation/shared 0.3.7 → 0.3.9

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 (66) hide show
  1. package/dist/Changes/AddAssemblyAndFeaturesFromFileChange.d.ts +3 -0
  2. package/dist/Changes/AddAssemblyAndFeaturesFromFileChange.js +6 -5
  3. package/dist/Changes/AddAssemblyAndFeaturesFromFileChange.js.map +1 -1
  4. package/dist/Changes/AddAssemblyFromFileChange.js +1 -1
  5. package/dist/Changes/AddAssemblyFromFileChange.js.map +1 -1
  6. package/dist/Changes/AddFeatureChange.js +14 -2
  7. package/dist/Changes/AddFeatureChange.js.map +1 -1
  8. package/dist/Changes/AddFeaturesFromFileChange.d.ts +3 -0
  9. package/dist/Changes/AddFeaturesFromFileChange.js +5 -2
  10. package/dist/Changes/AddFeaturesFromFileChange.js.map +1 -1
  11. package/dist/Changes/AddRefSeqAliasesChange.js +2 -7
  12. package/dist/Changes/AddRefSeqAliasesChange.js.map +1 -1
  13. package/dist/Changes/FromFileBaseChange.js +6 -6
  14. package/dist/Changes/FromFileBaseChange.js.map +1 -1
  15. package/dist/Changes/ImportJBrowseConfigChange.js +1 -1
  16. package/dist/Changes/ImportJBrowseConfigChange.js.map +1 -1
  17. package/dist/Changes/MergeExonsChange.d.ts +0 -1
  18. package/dist/Changes/MergeExonsChange.js +14 -30
  19. package/dist/Changes/MergeExonsChange.js.map +1 -1
  20. package/dist/Changes/MergeTranscriptsChange.d.ts +1 -3
  21. package/dist/Changes/MergeTranscriptsChange.js +55 -56
  22. package/dist/Changes/MergeTranscriptsChange.js.map +1 -1
  23. package/dist/Checks/CDSCheck.d.ts +1 -1
  24. package/dist/Checks/CDSCheck.js +12 -12
  25. package/dist/Checks/CDSCheck.js.map +1 -1
  26. package/dist/Checks/TranscriptCheck.d.ts +9 -0
  27. package/dist/Checks/TranscriptCheck.js +109 -0
  28. package/dist/Checks/TranscriptCheck.js.map +1 -0
  29. package/dist/Checks/index.d.ts +1 -0
  30. package/dist/Checks/index.js +1 -0
  31. package/dist/Checks/index.js.map +1 -1
  32. package/dist/Checks/util.d.ts +2 -0
  33. package/dist/Checks/util.js +15 -0
  34. package/dist/Checks/util.js.map +1 -0
  35. package/dist/GFF3/annotationFeatureToGFF3.js +3 -1
  36. package/dist/GFF3/annotationFeatureToGFF3.js.map +1 -1
  37. package/dist/GFF3/gff3ToAnnotationFeature.js +1 -1
  38. package/dist/GFF3/gff3ToAnnotationFeature.js.map +1 -1
  39. package/dist/GFF3/gff3ToAnnotationFeature.test.js +4 -4
  40. package/dist/GFF3/gff3ToAnnotationFeature.test.js.map +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/dist/util.d.ts +3 -0
  43. package/dist/util.js +33 -0
  44. package/dist/util.js.map +1 -1
  45. package/package.json +9 -9
  46. package/src/Changes/AddAssemblyAndFeaturesFromFileChange.ts +8 -6
  47. package/src/Changes/AddAssemblyFromFileChange.ts +1 -1
  48. package/src/Changes/AddFeatureChange.ts +16 -2
  49. package/src/Changes/AddFeaturesFromFileChange.ts +6 -1
  50. package/src/Changes/AddRefSeqAliasesChange.ts +2 -8
  51. package/src/Changes/FromFileBaseChange.ts +6 -6
  52. package/src/Changes/ImportJBrowseConfigChange.ts +1 -1
  53. package/src/Changes/MergeExonsChange.ts +52 -36
  54. package/src/Changes/MergeTranscriptsChange.ts +82 -67
  55. package/src/Checks/CDSCheck.ts +15 -13
  56. package/src/Checks/TranscriptCheck.ts +138 -0
  57. package/src/Checks/index.ts +1 -0
  58. package/src/Checks/util.ts +13 -0
  59. package/src/GFF3/annotationFeatureToGFF3.ts +4 -1
  60. package/src/GFF3/gff3ToAnnotationFeature.test.ts +4 -4
  61. package/src/GFF3/gff3ToAnnotationFeature.ts +1 -1
  62. package/src/util.ts +37 -0
  63. package/test_data/example01.json +20 -20
  64. package/test_data/example02.json +38 -38
  65. package/test_data/example04.json +57 -57
  66. package/test_data/gene_representations.gff3 +1054 -276
@@ -6,6 +6,8 @@ import {
6
6
  import { intersection2 } from '@jbrowse/core/util'
7
7
  import ObjectID from 'bson-objectid'
8
8
 
9
+ import { getPrintableId } from './util'
10
+
9
11
  enum STOP_CODONS {
10
12
  'TAG',
11
13
  'TAA',
@@ -22,7 +24,6 @@ enum CAUSES {
22
24
  'InternalStopCodon',
23
25
  'MissingStartCodon',
24
26
  'MissingStopCodon',
25
- 'MultipleOfThree',
26
27
  }
27
28
 
28
29
  const iupacComplements: Record<string, string | undefined> = {
@@ -156,6 +157,10 @@ async function checkMRNA(
156
157
  for (const cdsLocation of cdsLocations) {
157
158
  const sequence = await getCDSSequence(cdsLocation, strand, getSequence)
158
159
  const codons = splitSequenceInCodons(sequence)
160
+ const cdsEnd =
161
+ strand === -1
162
+ ? cdsLocation.at(0)?.min ?? min
163
+ : cdsLocation.at(-1)?.max ?? max
159
164
  if (sequence.length % 3 === 0) {
160
165
  const start_codon = codons.at(0)
161
166
  if (start_codon && !(start_codon.toUpperCase() in START_CODONS)) {
@@ -172,15 +177,12 @@ async function checkMRNA(
172
177
  refSeq: refSeq.toString(),
173
178
  start: cdsStart,
174
179
  end: cdsStart,
175
- message: `Unexpected start codon in feature "${_id}": ${start_codon}`,
180
+ message: `Unexpected start codon "${start_codon}" in feature "${getPrintableId(feature)}": `,
176
181
  })
177
182
  }
183
+
178
184
  const lastCodon = codons.at(-1) // Last codon is supposed to be a stop
179
185
  if (lastCodon && !(lastCodon.toUpperCase() in STOP_CODONS)) {
180
- const cdsEnd =
181
- strand === -1
182
- ? cdsLocation.at(0)?.min ?? min
183
- : cdsLocation.at(-1)?.max ?? max
184
186
  checkResults.push({
185
187
  _id: new ObjectID().toHexString(),
186
188
  name: CHECK_NAME,
@@ -189,19 +191,19 @@ async function checkMRNA(
189
191
  refSeq: refSeq.toString(),
190
192
  start: cdsEnd,
191
193
  end: cdsEnd,
192
- message: `Missing stop codon for feature "${_id}"`,
194
+ message: `Missing stop codon in feature "${getPrintableId(feature)}"`,
193
195
  })
194
196
  }
195
197
  } else {
196
198
  checkResults.push({
197
199
  _id: new ObjectID().toHexString(),
198
200
  name: CHECK_NAME,
199
- cause: CAUSES[CAUSES.MultipleOfThree],
201
+ cause: CAUSES[CAUSES.MissingStopCodon],
200
202
  ids,
201
203
  refSeq: refSeq.toString(),
202
- start: min,
203
- end: max,
204
- message: `The coding sequence for feature "${_id}" is not a multiple of three`,
204
+ start: cdsEnd,
205
+ end: cdsEnd,
206
+ message: `Missing stop codon in feature "${getPrintableId(feature)}"`,
205
207
  })
206
208
  }
207
209
  for (const [idx, codon] of codons.entries()) {
@@ -220,7 +222,7 @@ async function checkMRNA(
220
222
  refSeq: refSeq.toString(),
221
223
  start: codonStart,
222
224
  end: codonEnd,
223
- message: `The coding sequence for feature "${_id}" has an internal stop codon`,
225
+ message: `Internal stop codon in feature "${getPrintableId(feature)}"`,
224
226
  })
225
227
  }
226
228
  }
@@ -285,7 +287,7 @@ export class CDSCheck extends Check {
285
287
  name = CHECK_NAME
286
288
  causes = getCauses()
287
289
  version = 1
288
- default = true
290
+ isDefault = true
289
291
 
290
292
  async checkFeature(
291
293
  feature: AnnotationFeatureSnapshot,
@@ -0,0 +1,138 @@
1
+ import { Check } from '@apollo-annotation/common'
2
+ import {
3
+ type AnnotationFeatureSnapshot,
4
+ type CheckResultSnapshot,
5
+ } from '@apollo-annotation/mst'
6
+ import { revcom } from '@jbrowse/core/util'
7
+ import ObjectID from 'bson-objectid'
8
+
9
+ import { getPrintableId } from './util'
10
+
11
+ interface SpliceSequence {
12
+ fivePrimeSeq: string
13
+ fivePrimeMin: number
14
+ threePrimeSeq: string
15
+ threePrimeMin: number
16
+ }
17
+
18
+ enum CAUSES {
19
+ 'NonCanonicalSpliceSiteAtFivePrime',
20
+ 'NonCanonicalSpliceSiteAtThreePrime',
21
+ }
22
+ const CHECK_NAME = 'TranscriptCheck'
23
+
24
+ async function getSpliceSequences(
25
+ transcript: AnnotationFeatureSnapshot,
26
+ getSequence: (start: number, end: number) => Promise<string>,
27
+ ): Promise<SpliceSequence[]> {
28
+ if (!transcript.children) {
29
+ return []
30
+ }
31
+ const exons: AnnotationFeatureSnapshot[] = []
32
+ for (const [, child] of Object.entries(transcript.children)) {
33
+ if (child.type === 'exon') {
34
+ exons.push(child)
35
+ }
36
+ }
37
+ if (exons.length < 2) {
38
+ return []
39
+ }
40
+ exons.sort((a, b) => (a.min < b.min ? -1 : 1))
41
+
42
+ const spliceSeq: SpliceSequence[] = []
43
+ for (let i = 0; i < exons.length - 1; i++) {
44
+ let fivePrimeMin = exons[i].max
45
+ let threePrimeMin = exons[i + 1].min
46
+ if (transcript.strand === -1) {
47
+ ;[threePrimeMin, fivePrimeMin] = [fivePrimeMin, threePrimeMin]
48
+ fivePrimeMin -= 2
49
+ } else {
50
+ threePrimeMin -= 2
51
+ }
52
+
53
+ let fivePrimeSeq = await getSequence(fivePrimeMin, fivePrimeMin + 2)
54
+ let threePrimeSeq = await getSequence(threePrimeMin, threePrimeMin + 2)
55
+ if (transcript.strand === -1) {
56
+ threePrimeSeq = revcom(threePrimeSeq)
57
+ fivePrimeSeq = revcom(fivePrimeSeq)
58
+ }
59
+
60
+ spliceSeq.push({ fivePrimeSeq, fivePrimeMin, threePrimeSeq, threePrimeMin })
61
+ }
62
+ return spliceSeq
63
+ }
64
+
65
+ async function checkTranscript(
66
+ feature: AnnotationFeatureSnapshot,
67
+ getSequence: (start: number, end: number) => Promise<string>,
68
+ ): Promise<CheckResultSnapshot[]> {
69
+ const checkResults: CheckResultSnapshot[] = []
70
+
71
+ const VALID_FIVE_PRIME_SEQ = new Set(['GT'])
72
+ const VALID_THREE_PRIME_SEQ = new Set(['AG'])
73
+ const spliceSequences = await getSpliceSequences(feature, getSequence)
74
+ for (const spliceSequence of spliceSequences) {
75
+ if (!VALID_FIVE_PRIME_SEQ.has(spliceSequence.fivePrimeSeq.toUpperCase())) {
76
+ checkResults.push({
77
+ _id: new ObjectID().toHexString(),
78
+ name: CHECK_NAME,
79
+ cause: CAUSES[CAUSES.NonCanonicalSpliceSiteAtFivePrime],
80
+ ids: [feature._id],
81
+ refSeq: feature.refSeq.toString(),
82
+ start: spliceSequence.fivePrimeMin,
83
+ end: spliceSequence.fivePrimeMin + 2,
84
+ message: `Unexpected 5′ splice site in "${getPrintableId(feature)}". Expected: ${[...VALID_FIVE_PRIME_SEQ].join('|')}, got: ${spliceSequence.fivePrimeSeq}`,
85
+ })
86
+ }
87
+ if (
88
+ !VALID_THREE_PRIME_SEQ.has(spliceSequence.threePrimeSeq.toUpperCase())
89
+ ) {
90
+ checkResults.push({
91
+ _id: new ObjectID().toHexString(),
92
+ name: CHECK_NAME,
93
+ cause: CAUSES[CAUSES.NonCanonicalSpliceSiteAtThreePrime],
94
+ ids: [feature._id],
95
+ refSeq: feature.refSeq.toString(),
96
+ start: spliceSequence.threePrimeMin,
97
+ end: spliceSequence.threePrimeMin + 2,
98
+ message: `Unexpected 3′ splice site in "${getPrintableId(feature)}". Expected: ${[...VALID_THREE_PRIME_SEQ].join('|')}, got: ${spliceSequence.threePrimeSeq}`,
99
+ })
100
+ }
101
+ }
102
+ return checkResults
103
+ }
104
+
105
+ function getCauses(): string[] {
106
+ return Object.values(CAUSES).filter((x) =>
107
+ Number.isNaN(Number(x)),
108
+ ) as string[]
109
+ }
110
+ export class TranscriptCheck extends Check {
111
+ name = 'TranscriptCheck'
112
+ causes = getCauses()
113
+ version = 1
114
+ isDefault = true
115
+
116
+ async checkFeature(
117
+ feature: AnnotationFeatureSnapshot,
118
+ getSequence: (start: number, end: number) => Promise<string>,
119
+ ): Promise<CheckResultSnapshot[]> {
120
+ if (
121
+ feature.type === 'mRNA' ||
122
+ feature.type === 'transcript' ||
123
+ feature.type === 'pseudogenic_transcript'
124
+ ) {
125
+ return checkTranscript(feature, getSequence)
126
+ }
127
+
128
+ if (!feature.children) {
129
+ return []
130
+ }
131
+
132
+ const checkResults: CheckResultSnapshot[] = []
133
+ for (const child of Object.values(feature.children)) {
134
+ checkResults.push(...(await this.checkFeature(child, getSequence)))
135
+ }
136
+ return checkResults
137
+ }
138
+ }
@@ -1 +1,2 @@
1
1
  export * from './CDSCheck'
2
+ export * from './TranscriptCheck'
@@ -0,0 +1,13 @@
1
+ import { type AnnotationFeatureSnapshot } from '@apollo-annotation/mst'
2
+
3
+ export function getPrintableId(feature: AnnotationFeatureSnapshot): string {
4
+ const gff_id = feature.attributes?.gff_id?.join(', ')
5
+ if (gff_id) {
6
+ return `${gff_id} (_id: ${feature._id.toString()})`
7
+ }
8
+ const gff_name = feature.attributes?.gff_name?.join(', ')
9
+ if (gff_name) {
10
+ return `${gff_name} (_id: ${feature._id.toString()})`
11
+ }
12
+ return `_id: ${feature._id.toString()}`
13
+ }
@@ -101,7 +101,10 @@ export function annotationFeatureToGFF3(
101
101
  score,
102
102
  strand: feature.strand ? (feature.strand === 1 ? '+' : '-') : null,
103
103
  phase: null,
104
- attributes: Object.keys(attributes).length > 0 ? attributes : null,
104
+ attributes:
105
+ Object.keys(attributes).length > 0
106
+ ? (attributes as Record<string, string[]>)
107
+ : null,
105
108
  derived_features: [],
106
109
  child_features: prepareChildFeatures(
107
110
  feature,
@@ -3,7 +3,7 @@ import { readFileSync } from 'node:fs'
3
3
  import { describe, it } from 'node:test'
4
4
 
5
5
  import { type AnnotationFeatureSnapshot } from '@apollo-annotation/mst'
6
- import gff, { type GFF3Feature } from '@gmod/gff'
6
+ import { type GFF3Feature, parseStringSync } from '@gmod/gff'
7
7
  import { assert, use } from 'chai'
8
8
  import chaiExclude from 'chai-exclude'
9
9
 
@@ -116,7 +116,7 @@ function readFeatureFile(fn: string): GFF3Feature[] {
116
116
  feature.push(line)
117
117
  }
118
118
  }
119
- const inGff = gff.parseStringSync(feature.join('\n')) as GFF3Feature[]
119
+ const inGff = parseStringSync(feature.join('\n')) as GFF3Feature[]
120
120
  return inGff
121
121
  }
122
122
 
@@ -127,7 +127,7 @@ export function readAnnotationFeatureSnapshot(
127
127
  return JSON.parse(lines) as AnnotationFeatureSnapshot
128
128
  }
129
129
 
130
- const [ex1, ex2, ex3, ex4] = readFeatureFile(
130
+ const [ex1, , ex2, , ex3, , ex4] = readFeatureFile(
131
131
  'test_data/gene_representations.gff3',
132
132
  )
133
133
 
@@ -232,7 +232,7 @@ describe('gff3ToAnnotationFeature', () => {
232
232
  for (const testCase of testCases) {
233
233
  const [description, featureLine, convertedFeature] = testCase
234
234
  it(`converts ${description}`, () => {
235
- const gff3Feature = gff.parseStringSync(featureLine, {
235
+ const gff3Feature = parseStringSync(featureLine, {
236
236
  parseSequences: false,
237
237
  })
238
238
  const feature = gff3ToAnnotationFeature(gff3Feature[0])
@@ -115,7 +115,7 @@ function convertFeatureAttributes(
115
115
  if (attributesCollections.length > 0) {
116
116
  for (const attributesCollection of attributesCollections) {
117
117
  for (const [key, val] of Object.entries(attributesCollection)) {
118
- if (!val || key === 'Parent') {
118
+ if (key === 'Parent') {
119
119
  continue
120
120
  }
121
121
  const newKey = isGFFReservedAttribute(key) ? gffToInternal[key] : key
package/src/util.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { type AnnotationFeature } from '@apollo-annotation/mst'
2
2
  import { type Feature } from '@apollo-annotation/schemas'
3
+ import { type IKeyValueMap } from 'mobx'
3
4
 
4
5
  export function splitStringIntoChunks(
5
6
  input: string,
@@ -25,3 +26,39 @@ export function getPrintableId(feature: Feature): string {
25
26
  }
26
27
  return `_id: ${feature._id.toString()}`
27
28
  }
29
+
30
+ export function attributesToRecords(
31
+ attributes: IKeyValueMap<readonly string[] | undefined> | undefined,
32
+ ): Record<string, string[] | undefined> {
33
+ const records: Record<string, string[] | undefined> = {}
34
+ if (!attributes) {
35
+ return records
36
+ }
37
+ for (const [key, value] of Object.entries(attributes)) {
38
+ records[key] = value?.slice()
39
+ }
40
+ return records
41
+ }
42
+
43
+ export function stringifyAttributes(
44
+ attributes: Record<string, string[] | undefined> | undefined,
45
+ ): string {
46
+ if (!attributes) {
47
+ return ''
48
+ }
49
+ const str = []
50
+ for (const [key, value] of Object.entries(attributes)) {
51
+ let attributeName = key
52
+ if (attributeName.startsWith('gff_')) {
53
+ attributeName = attributeName.slice(4)
54
+ attributeName =
55
+ attributeName.charAt(0).toUpperCase() + attributeName.slice(1)
56
+ }
57
+ if (value) {
58
+ str.push(`${attributeName}=${value.join(',')}`)
59
+ } else {
60
+ str.push(attributeName)
61
+ }
62
+ }
63
+ return encodeURIComponent(str.join(';'))
64
+ }
@@ -14,7 +14,7 @@
14
14
  "max": 1012,
15
15
  "strand": 1,
16
16
  "attributes": {
17
- "gff_id": ["tfbs10001"]
17
+ "gff_id": ["tfbs00001"]
18
18
  }
19
19
  },
20
20
  "66e049f17b9cedae9ad890fb": {
@@ -33,7 +33,7 @@
33
33
  "max": 1499,
34
34
  "strand": 1,
35
35
  "attributes": {
36
- "gff_id": ["exon10002"]
36
+ "gff_id": ["exon00002"]
37
37
  }
38
38
  },
39
39
  "66e049f17b9cedae9ad890f7": {
@@ -44,7 +44,7 @@
44
44
  "max": 3902,
45
45
  "strand": 1,
46
46
  "attributes": {
47
- "gff_id": ["exon10003"]
47
+ "gff_id": ["exon00003"]
48
48
  }
49
49
  },
50
50
  "66e049f17b9cedae9ad890f8": {
@@ -55,7 +55,7 @@
55
55
  "max": 5500,
56
56
  "strand": 1,
57
57
  "attributes": {
58
- "gff_id": ["exon10004"]
58
+ "gff_id": ["exon00004"]
59
59
  }
60
60
  },
61
61
  "66e049f17b9cedae9ad890f9": {
@@ -66,7 +66,7 @@
66
66
  "max": 9000,
67
67
  "strand": 1,
68
68
  "attributes": {
69
- "gff_id": ["exon10005"]
69
+ "gff_id": ["exon00005"]
70
70
  }
71
71
  },
72
72
  "66e049f17b9cedae9ad890fa": {
@@ -77,13 +77,13 @@
77
77
  "max": 7600,
78
78
  "strand": 1,
79
79
  "attributes": {
80
- "gff_id": ["cds10001"],
80
+ "gff_id": ["cds00001"],
81
81
  "gff_name": ["edenprotein.1"]
82
82
  }
83
83
  }
84
84
  },
85
85
  "attributes": {
86
- "gff_id": ["mRNA10001"],
86
+ "gff_id": ["mRNA00001"],
87
87
  "gff_name": ["EDEN.1"]
88
88
  }
89
89
  },
@@ -103,7 +103,7 @@
103
103
  "max": 1499,
104
104
  "strand": 1,
105
105
  "attributes": {
106
- "gff_id": ["exon10002"]
106
+ "gff_id": ["exon00002"]
107
107
  }
108
108
  },
109
109
  "66e049f17b9cedae9ad890fd": {
@@ -114,7 +114,7 @@
114
114
  "max": 5500,
115
115
  "strand": 1,
116
116
  "attributes": {
117
- "gff_id": ["exon10004"]
117
+ "gff_id": ["exon00004"]
118
118
  }
119
119
  },
120
120
  "66e049f17b9cedae9ad890fe": {
@@ -125,7 +125,7 @@
125
125
  "max": 9000,
126
126
  "strand": 1,
127
127
  "attributes": {
128
- "gff_id": ["exon10005"]
128
+ "gff_id": ["exon00005"]
129
129
  }
130
130
  },
131
131
  "66e049f17b9cedae9ad890ff": {
@@ -136,13 +136,13 @@
136
136
  "max": 7600,
137
137
  "strand": 1,
138
138
  "attributes": {
139
- "gff_id": ["cds10002"],
139
+ "gff_id": ["cds00002"],
140
140
  "gff_name": ["edenprotein.2"]
141
141
  }
142
142
  }
143
143
  },
144
144
  "attributes": {
145
- "gff_id": ["mRNA10002"],
145
+ "gff_id": ["mRNA00002"],
146
146
  "gff_name": ["EDEN.2"]
147
147
  }
148
148
  },
@@ -162,7 +162,7 @@
162
162
  "max": 1499,
163
163
  "strand": 1,
164
164
  "attributes": {
165
- "gff_id": ["exon10001"]
165
+ "gff_id": ["exon00001"]
166
166
  }
167
167
  },
168
168
  "66e049f17b9cedae9ad89102": {
@@ -173,7 +173,7 @@
173
173
  "max": 3902,
174
174
  "strand": 1,
175
175
  "attributes": {
176
- "gff_id": ["exon10003"]
176
+ "gff_id": ["exon00003"]
177
177
  }
178
178
  },
179
179
  "66e049f17b9cedae9ad89103": {
@@ -184,7 +184,7 @@
184
184
  "max": 5500,
185
185
  "strand": 1,
186
186
  "attributes": {
187
- "gff_id": ["exon10004"]
187
+ "gff_id": ["exon00004"]
188
188
  }
189
189
  },
190
190
  "66e049f17b9cedae9ad89104": {
@@ -195,7 +195,7 @@
195
195
  "max": 9000,
196
196
  "strand": 1,
197
197
  "attributes": {
198
- "gff_id": ["exon10005"]
198
+ "gff_id": ["exon00005"]
199
199
  }
200
200
  },
201
201
  "66e049f17b9cedae9ad89105": {
@@ -206,7 +206,7 @@
206
206
  "max": 7600,
207
207
  "strand": 1,
208
208
  "attributes": {
209
- "gff_id": ["cds10003"],
209
+ "gff_id": ["cds00003"],
210
210
  "gff_name": ["edenprotein.3"]
211
211
  }
212
212
  },
@@ -218,19 +218,19 @@
218
218
  "max": 7600,
219
219
  "strand": 1,
220
220
  "attributes": {
221
- "gff_id": ["cds10004"],
221
+ "gff_id": ["cds00004"],
222
222
  "gff_name": ["edenprotein.4"]
223
223
  }
224
224
  }
225
225
  },
226
226
  "attributes": {
227
- "gff_id": ["mRNA10003"],
227
+ "gff_id": ["mRNA00003"],
228
228
  "gff_name": ["EDEN.3"]
229
229
  }
230
230
  }
231
231
  },
232
232
  "attributes": {
233
- "gff_id": ["gene10001"],
233
+ "gff_id": ["gene00001"],
234
234
  "gff_name": ["EDEN"]
235
235
  }
236
236
  }