@apollo-annotation/shared 0.3.9 → 0.3.11
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.
- package/dist/Changes/AddFeatureChange.js +13 -2
- package/dist/Changes/AddFeatureChange.js.map +1 -1
- package/dist/Changes/DeleteFeatureChange.js +19 -0
- package/dist/Changes/DeleteFeatureChange.js.map +1 -1
- package/dist/Changes/FeatureAttributeChange.js +11 -0
- package/dist/Changes/FeatureAttributeChange.js.map +1 -1
- package/dist/Changes/FromFileBaseChange.d.ts +2 -0
- package/dist/Changes/FromFileBaseChange.js +20 -5
- package/dist/Changes/FromFileBaseChange.js.map +1 -1
- package/dist/GFF3/annotationFeatureToGFF3.test.js +19 -5
- package/dist/GFF3/annotationFeatureToGFF3.test.js.map +1 -1
- package/dist/GFF3/gff3ToAnnotationFeature.d.ts +1 -1
- package/dist/GFF3/gff3ToAnnotationFeature.js +8 -11
- package/dist/GFF3/gff3ToAnnotationFeature.js.map +1 -1
- package/dist/GFF3/gff3ToAnnotationFeature.test.d.ts +1 -2
- package/dist/GFF3/gff3ToAnnotationFeature.test.js +23 -96
- package/dist/GFF3/gff3ToAnnotationFeature.test.js.map +1 -1
- package/dist/GFF3/testUtil.d.ts +6 -0
- package/dist/GFF3/testUtil.js +24 -0
- package/dist/GFF3/testUtil.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/Changes/AddFeatureChange.ts +14 -2
- package/src/Changes/DeleteFeatureChange.ts +18 -0
- package/src/Changes/FeatureAttributeChange.ts +13 -0
- package/src/Changes/FromFileBaseChange.ts +22 -10
- package/src/GFF3/annotationFeatureToGFF3.test.ts +24 -2
- package/src/GFF3/gff3ToAnnotationFeature.test.ts +24 -95
- package/src/GFF3/gff3ToAnnotationFeature.ts +6 -15
- package/src/GFF3/testUtil.ts +25 -0
- package/test_data/gene_with_two_cds.gff3 +6 -0
- package/test_data/gene_with_two_cds.json +69 -0
- package/test_data/single_feature_no_children.gff3 +1 -0
- package/test_data/single_feature_no_children.json +14 -0
- package/test_data/single_feature_two_children.gff3 +3 -0
- package/test_data/single_feature_two_children.json +44 -0
- package/test_data/two_cds.gff3 +0 -9
- package/test_data/two_cds.json +0 -67
package/test_data/two_cds.json
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_id": "66d70f3b9c7a7460925687a3",
|
|
3
|
-
"refSeq": "chr1",
|
|
4
|
-
"type": "gene",
|
|
5
|
-
"min": 999,
|
|
6
|
-
"max": 9000,
|
|
7
|
-
"strand": 1,
|
|
8
|
-
"children": {
|
|
9
|
-
"66d70f3b9c7a7460925687a2": {
|
|
10
|
-
"_id": "66d70f3b9c7a7460925687a2",
|
|
11
|
-
"refSeq": "chr1",
|
|
12
|
-
"type": "mRNA",
|
|
13
|
-
"min": 1049,
|
|
14
|
-
"max": 9000,
|
|
15
|
-
"strand": 1,
|
|
16
|
-
"children": {
|
|
17
|
-
"66d70f3b9c7a74609256879f": {
|
|
18
|
-
"_id": "66d70f3b9c7a74609256879f",
|
|
19
|
-
"refSeq": "chr1",
|
|
20
|
-
"type": "exon",
|
|
21
|
-
"min": 1049,
|
|
22
|
-
"max": 1500,
|
|
23
|
-
"strand": 1,
|
|
24
|
-
"attributes": {
|
|
25
|
-
"gff_id": ["exon10001"],
|
|
26
|
-
"testid": ["t007"]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"66d70f3b9c7a7460925687a0": {
|
|
30
|
-
"_id": "66d70f3b9c7a7460925687a0",
|
|
31
|
-
"refSeq": "chr1",
|
|
32
|
-
"type": "exon",
|
|
33
|
-
"min": 4999,
|
|
34
|
-
"max": 5500,
|
|
35
|
-
"strand": 1,
|
|
36
|
-
"attributes": {
|
|
37
|
-
"gff_id": ["exon10004"],
|
|
38
|
-
"testid": ["t010"]
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"66d70f3b9c7a7460925687a1": {
|
|
42
|
-
"_id": "66d70f3b9c7a7460925687a1",
|
|
43
|
-
"refSeq": "chr1",
|
|
44
|
-
"type": "CDS",
|
|
45
|
-
"min": 1200,
|
|
46
|
-
"max": 5000,
|
|
47
|
-
"strand": 1,
|
|
48
|
-
"attributes": {
|
|
49
|
-
"gff_id": ["cds10001"],
|
|
50
|
-
"gff_name": ["edenprotein.1"],
|
|
51
|
-
"testid": ["t012", "t013", "t014"]
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"attributes": {
|
|
56
|
-
"gff_id": ["mRNA10001"],
|
|
57
|
-
"gff_name": ["EDEN.1"],
|
|
58
|
-
"testid": ["t004", "t001", "t004"]
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"attributes": {
|
|
63
|
-
"gff_id": ["gene10001"],
|
|
64
|
-
"gff_name": ["EDEN"],
|
|
65
|
-
"testid": ["t003"]
|
|
66
|
-
}
|
|
67
|
-
}
|