@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.
Files changed (38) hide show
  1. package/dist/Changes/AddFeatureChange.js +13 -2
  2. package/dist/Changes/AddFeatureChange.js.map +1 -1
  3. package/dist/Changes/DeleteFeatureChange.js +19 -0
  4. package/dist/Changes/DeleteFeatureChange.js.map +1 -1
  5. package/dist/Changes/FeatureAttributeChange.js +11 -0
  6. package/dist/Changes/FeatureAttributeChange.js.map +1 -1
  7. package/dist/Changes/FromFileBaseChange.d.ts +2 -0
  8. package/dist/Changes/FromFileBaseChange.js +20 -5
  9. package/dist/Changes/FromFileBaseChange.js.map +1 -1
  10. package/dist/GFF3/annotationFeatureToGFF3.test.js +19 -5
  11. package/dist/GFF3/annotationFeatureToGFF3.test.js.map +1 -1
  12. package/dist/GFF3/gff3ToAnnotationFeature.d.ts +1 -1
  13. package/dist/GFF3/gff3ToAnnotationFeature.js +8 -11
  14. package/dist/GFF3/gff3ToAnnotationFeature.js.map +1 -1
  15. package/dist/GFF3/gff3ToAnnotationFeature.test.d.ts +1 -2
  16. package/dist/GFF3/gff3ToAnnotationFeature.test.js +23 -96
  17. package/dist/GFF3/gff3ToAnnotationFeature.test.js.map +1 -1
  18. package/dist/GFF3/testUtil.d.ts +6 -0
  19. package/dist/GFF3/testUtil.js +24 -0
  20. package/dist/GFF3/testUtil.js.map +1 -0
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/package.json +4 -4
  23. package/src/Changes/AddFeatureChange.ts +14 -2
  24. package/src/Changes/DeleteFeatureChange.ts +18 -0
  25. package/src/Changes/FeatureAttributeChange.ts +13 -0
  26. package/src/Changes/FromFileBaseChange.ts +22 -10
  27. package/src/GFF3/annotationFeatureToGFF3.test.ts +24 -2
  28. package/src/GFF3/gff3ToAnnotationFeature.test.ts +24 -95
  29. package/src/GFF3/gff3ToAnnotationFeature.ts +6 -15
  30. package/src/GFF3/testUtil.ts +25 -0
  31. package/test_data/gene_with_two_cds.gff3 +6 -0
  32. package/test_data/gene_with_two_cds.json +69 -0
  33. package/test_data/single_feature_no_children.gff3 +1 -0
  34. package/test_data/single_feature_no_children.json +14 -0
  35. package/test_data/single_feature_two_children.gff3 +3 -0
  36. package/test_data/single_feature_two_children.json +44 -0
  37. package/test_data/two_cds.gff3 +0 -9
  38. package/test_data/two_cds.json +0 -67
@@ -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
- }