@apollo-annotation/cli 1.1.0 → 1.1.2
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/README.md +133 -87
- package/dist/ApolloConf.d.ts.map +1 -1
- package/dist/ApolloConf.js +14 -3
- package/dist/ApolloConf.js.map +1 -1
- package/dist/baseCommand.d.ts +37 -1
- package/dist/baseCommand.d.ts.map +1 -1
- package/dist/baseCommand.js +226 -9
- package/dist/baseCommand.js.map +1 -1
- package/dist/commands/assembly/add-from-fasta.d.ts +8 -8
- package/dist/commands/assembly/add-from-fasta.d.ts.map +1 -1
- package/dist/commands/assembly/add-from-fasta.js +20 -16
- package/dist/commands/assembly/add-from-fasta.js.map +1 -1
- package/dist/commands/assembly/add-from-gff.d.ts +5 -5
- package/dist/commands/assembly/add-from-gff.d.ts.map +1 -1
- package/dist/commands/assembly/add-from-gff.js +2 -4
- package/dist/commands/assembly/add-from-gff.js.map +1 -1
- package/dist/commands/assembly/check.d.ts +3 -3
- package/dist/commands/assembly/check.d.ts.map +1 -1
- package/dist/commands/assembly/check.js +10 -48
- package/dist/commands/assembly/check.js.map +1 -1
- package/dist/commands/assembly/delete.d.ts +2 -2
- package/dist/commands/assembly/delete.d.ts.map +1 -1
- package/dist/commands/assembly/delete.js +4 -5
- package/dist/commands/assembly/delete.js.map +1 -1
- package/dist/commands/assembly/get.d.ts +1 -1
- package/dist/commands/assembly/get.d.ts.map +1 -1
- package/dist/commands/assembly/get.js +3 -5
- package/dist/commands/assembly/get.js.map +1 -1
- package/dist/commands/assembly/sequence.d.ts +4 -4
- package/dist/commands/assembly/sequence.d.ts.map +1 -1
- package/dist/commands/assembly/sequence.js +9 -29
- package/dist/commands/assembly/sequence.js.map +1 -1
- package/dist/commands/change/get.d.ts +1 -1
- package/dist/commands/change/get.d.ts.map +1 -1
- package/dist/commands/change/get.js +3 -5
- package/dist/commands/change/get.js.map +1 -1
- package/dist/commands/config.d.ts +4 -4
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +12 -19
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/export/gff3.d.ts +2 -2
- package/dist/commands/export/gff3.d.ts.map +1 -1
- package/dist/commands/export/gff3.js +4 -26
- package/dist/commands/export/gff3.js.map +1 -1
- package/dist/commands/feature/add-child.d.ts +4 -4
- package/dist/commands/feature/add-child.d.ts.map +1 -1
- package/dist/commands/feature/add-child.js +6 -32
- package/dist/commands/feature/add-child.js.map +1 -1
- package/dist/commands/feature/add.d.ts +7 -18
- package/dist/commands/feature/add.d.ts.map +1 -1
- package/dist/commands/feature/add.js +4 -57
- package/dist/commands/feature/add.js.map +1 -1
- package/dist/commands/feature/check.d.ts +3 -2
- package/dist/commands/feature/check.d.ts.map +1 -1
- package/dist/commands/feature/check.js +16 -35
- package/dist/commands/feature/check.js.map +1 -1
- package/dist/commands/feature/copy.d.ts +4 -4
- package/dist/commands/feature/copy.d.ts.map +1 -1
- package/dist/commands/feature/copy.js +6 -32
- package/dist/commands/feature/copy.js.map +1 -1
- package/dist/commands/feature/delete.d.ts +4 -3
- package/dist/commands/feature/delete.d.ts.map +1 -1
- package/dist/commands/feature/delete.js +25 -46
- package/dist/commands/feature/delete.js.map +1 -1
- package/dist/commands/feature/edit-attribute.d.ts +4 -4
- package/dist/commands/feature/edit-attribute.d.ts.map +1 -1
- package/dist/commands/feature/edit-attribute.js +4 -24
- package/dist/commands/feature/edit-attribute.js.map +1 -1
- package/dist/commands/feature/edit-coords.d.ts +3 -3
- package/dist/commands/feature/edit-coords.d.ts.map +1 -1
- package/dist/commands/feature/edit-coords.js +4 -24
- package/dist/commands/feature/edit-coords.js.map +1 -1
- package/dist/commands/feature/edit-type.d.ts +2 -2
- package/dist/commands/feature/edit-type.d.ts.map +1 -1
- package/dist/commands/feature/edit-type.js +4 -24
- package/dist/commands/feature/edit-type.js.map +1 -1
- package/dist/commands/feature/edit.d.ts +1 -1
- package/dist/commands/feature/edit.d.ts.map +1 -1
- package/dist/commands/feature/edit.js +2 -18
- package/dist/commands/feature/edit.js.map +1 -1
- package/dist/commands/feature/get-id.d.ts +1 -1
- package/dist/commands/feature/get-id.d.ts.map +1 -1
- package/dist/commands/feature/get-id.js +5 -15
- package/dist/commands/feature/get-id.js.map +1 -1
- package/dist/commands/feature/get-indexed-id.d.ts +3 -3
- package/dist/commands/feature/get-indexed-id.d.ts.map +1 -1
- package/dist/commands/feature/get-indexed-id.js +3 -20
- package/dist/commands/feature/get-indexed-id.js.map +1 -1
- package/dist/commands/feature/get.d.ts +4 -4
- package/dist/commands/feature/get.d.ts.map +1 -1
- package/dist/commands/feature/get.js +4 -21
- package/dist/commands/feature/get.js.map +1 -1
- package/dist/commands/feature/import.d.ts +4 -4
- package/dist/commands/feature/import.d.ts.map +1 -1
- package/dist/commands/feature/import.js +4 -21
- package/dist/commands/feature/import.js.map +1 -1
- package/dist/commands/feature/search.d.ts +2 -2
- package/dist/commands/feature/search.d.ts.map +1 -1
- package/dist/commands/feature/search.js +9 -28
- package/dist/commands/feature/search.js.map +1 -1
- package/dist/commands/file/delete.d.ts +2 -1
- package/dist/commands/file/delete.d.ts.map +1 -1
- package/dist/commands/file/delete.js +12 -21
- package/dist/commands/file/delete.js.map +1 -1
- package/dist/commands/file/download.d.ts +2 -2
- package/dist/commands/file/download.d.ts.map +1 -1
- package/dist/commands/file/download.js +3 -7
- package/dist/commands/file/download.js.map +1 -1
- package/dist/commands/file/get.d.ts +1 -1
- package/dist/commands/file/get.d.ts.map +1 -1
- package/dist/commands/file/get.js +2 -4
- package/dist/commands/file/get.js.map +1 -1
- package/dist/commands/file/upload.d.ts +4 -4
- package/dist/commands/file/upload.d.ts.map +1 -1
- package/dist/commands/file/upload.js +3 -7
- package/dist/commands/file/upload.js.map +1 -1
- package/dist/commands/jbrowse/desktop.d.ts +4 -4
- package/dist/commands/jbrowse/get-config.d.ts.map +1 -1
- package/dist/commands/jbrowse/get-config.js +1 -7
- package/dist/commands/jbrowse/get-config.js.map +1 -1
- package/dist/commands/jbrowse/set-config.d.ts +1 -1
- package/dist/commands/jbrowse/set-config.d.ts.map +1 -1
- package/dist/commands/jbrowse/set-config.js +1 -19
- package/dist/commands/jbrowse/set-config.js.map +1 -1
- package/dist/commands/login.d.ts +5 -5
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +8 -7
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.d.ts.map +1 -1
- package/dist/commands/logout.js +2 -6
- package/dist/commands/logout.js.map +1 -1
- package/dist/commands/refseq/add-alias.d.ts +2 -2
- package/dist/commands/refseq/add-alias.d.ts.map +1 -1
- package/dist/commands/refseq/add-alias.js +2 -21
- package/dist/commands/refseq/add-alias.js.map +1 -1
- package/dist/commands/refseq/get.d.ts +1 -1
- package/dist/commands/refseq/get.d.ts.map +1 -1
- package/dist/commands/refseq/get.js +3 -5
- package/dist/commands/refseq/get.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +2 -6
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/user/get.d.ts +2 -2
- package/dist/commands/user/get.d.ts.map +1 -1
- package/dist/commands/user/get.js +1 -4
- package/dist/commands/user/get.js.map +1 -1
- package/dist/fileCommand.d.ts +2 -1
- package/dist/fileCommand.d.ts.map +1 -1
- package/dist/fileCommand.js +18 -11
- package/dist/fileCommand.js.map +1 -1
- package/dist/test/test.js +154 -30
- package/dist/test/test.js.map +1 -1
- package/dist/test/utils.d.ts.map +1 -1
- package/dist/test/utils.js +15 -2
- package/dist/test/utils.js.map +1 -1
- package/dist/utils.d.ts +1 -21
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -234
- package/dist/utils.js.map +1 -1
- package/oclif.manifest.json +803 -515
- package/package.json +14 -15
package/oclif.manifest.json
CHANGED
|
@@ -43,6 +43,14 @@
|
|
|
43
43
|
"multiple": false,
|
|
44
44
|
"type": "option"
|
|
45
45
|
},
|
|
46
|
+
"timeout": {
|
|
47
|
+
"description": "Timeout for each request to the server",
|
|
48
|
+
"name": "timeout",
|
|
49
|
+
"default": "1h",
|
|
50
|
+
"hasDynamicHelp": false,
|
|
51
|
+
"multiple": false,
|
|
52
|
+
"type": "option"
|
|
53
|
+
},
|
|
46
54
|
"get-config-file": {
|
|
47
55
|
"description": "Return the path to the config file and exit (this file may not exist yet)",
|
|
48
56
|
"name": "get-config-file",
|
|
@@ -95,6 +103,14 @@
|
|
|
95
103
|
"multiple": false,
|
|
96
104
|
"type": "option"
|
|
97
105
|
},
|
|
106
|
+
"timeout": {
|
|
107
|
+
"description": "Timeout for each request to the server",
|
|
108
|
+
"name": "timeout",
|
|
109
|
+
"default": "1h",
|
|
110
|
+
"hasDynamicHelp": false,
|
|
111
|
+
"multiple": false,
|
|
112
|
+
"type": "option"
|
|
113
|
+
},
|
|
98
114
|
"address": {
|
|
99
115
|
"char": "a",
|
|
100
116
|
"description": "Address of Apollo server",
|
|
@@ -182,6 +198,14 @@
|
|
|
182
198
|
"hasDynamicHelp": false,
|
|
183
199
|
"multiple": false,
|
|
184
200
|
"type": "option"
|
|
201
|
+
},
|
|
202
|
+
"timeout": {
|
|
203
|
+
"description": "Timeout for each request to the server",
|
|
204
|
+
"name": "timeout",
|
|
205
|
+
"default": "1h",
|
|
206
|
+
"hasDynamicHelp": false,
|
|
207
|
+
"multiple": false,
|
|
208
|
+
"type": "option"
|
|
185
209
|
}
|
|
186
210
|
},
|
|
187
211
|
"hasDynamicHelp": false,
|
|
@@ -218,6 +242,14 @@
|
|
|
218
242
|
"hasDynamicHelp": false,
|
|
219
243
|
"multiple": false,
|
|
220
244
|
"type": "option"
|
|
245
|
+
},
|
|
246
|
+
"timeout": {
|
|
247
|
+
"description": "Timeout for each request to the server",
|
|
248
|
+
"name": "timeout",
|
|
249
|
+
"default": "1h",
|
|
250
|
+
"hasDynamicHelp": false,
|
|
251
|
+
"multiple": false,
|
|
252
|
+
"type": "option"
|
|
221
253
|
}
|
|
222
254
|
},
|
|
223
255
|
"hasDynamicHelp": false,
|
|
@@ -275,6 +307,14 @@
|
|
|
275
307
|
"multiple": false,
|
|
276
308
|
"type": "option"
|
|
277
309
|
},
|
|
310
|
+
"timeout": {
|
|
311
|
+
"description": "Timeout for each request to the server",
|
|
312
|
+
"name": "timeout",
|
|
313
|
+
"default": "1h",
|
|
314
|
+
"hasDynamicHelp": false,
|
|
315
|
+
"multiple": false,
|
|
316
|
+
"type": "option"
|
|
317
|
+
},
|
|
278
318
|
"assembly": {
|
|
279
319
|
"char": "a",
|
|
280
320
|
"description": "Name for this assembly. Use the file name if omitted",
|
|
@@ -383,6 +423,14 @@
|
|
|
383
423
|
"multiple": false,
|
|
384
424
|
"type": "option"
|
|
385
425
|
},
|
|
426
|
+
"timeout": {
|
|
427
|
+
"description": "Timeout for each request to the server",
|
|
428
|
+
"name": "timeout",
|
|
429
|
+
"default": "1h",
|
|
430
|
+
"hasDynamicHelp": false,
|
|
431
|
+
"multiple": false,
|
|
432
|
+
"type": "option"
|
|
433
|
+
},
|
|
386
434
|
"assembly": {
|
|
387
435
|
"char": "a",
|
|
388
436
|
"description": "Name for this assembly. Use the file name if omitted",
|
|
@@ -465,6 +513,14 @@
|
|
|
465
513
|
"multiple": false,
|
|
466
514
|
"type": "option"
|
|
467
515
|
},
|
|
516
|
+
"timeout": {
|
|
517
|
+
"description": "Timeout for each request to the server",
|
|
518
|
+
"name": "timeout",
|
|
519
|
+
"default": "1h",
|
|
520
|
+
"hasDynamicHelp": false,
|
|
521
|
+
"multiple": false,
|
|
522
|
+
"type": "option"
|
|
523
|
+
},
|
|
468
524
|
"assembly": {
|
|
469
525
|
"char": "a",
|
|
470
526
|
"description": "Manage checks in this assembly",
|
|
@@ -531,6 +587,14 @@
|
|
|
531
587
|
"multiple": false,
|
|
532
588
|
"type": "option"
|
|
533
589
|
},
|
|
590
|
+
"timeout": {
|
|
591
|
+
"description": "Timeout for each request to the server",
|
|
592
|
+
"name": "timeout",
|
|
593
|
+
"default": "1h",
|
|
594
|
+
"hasDynamicHelp": false,
|
|
595
|
+
"multiple": false,
|
|
596
|
+
"type": "option"
|
|
597
|
+
},
|
|
534
598
|
"assembly": {
|
|
535
599
|
"char": "a",
|
|
536
600
|
"description": "Assembly names or IDs to delete",
|
|
@@ -584,6 +648,14 @@
|
|
|
584
648
|
"multiple": false,
|
|
585
649
|
"type": "option"
|
|
586
650
|
},
|
|
651
|
+
"timeout": {
|
|
652
|
+
"description": "Timeout for each request to the server",
|
|
653
|
+
"name": "timeout",
|
|
654
|
+
"default": "1h",
|
|
655
|
+
"hasDynamicHelp": false,
|
|
656
|
+
"multiple": false,
|
|
657
|
+
"type": "option"
|
|
658
|
+
},
|
|
587
659
|
"assembly": {
|
|
588
660
|
"char": "a",
|
|
589
661
|
"description": "Get assemblies in this list of names or IDs",
|
|
@@ -639,6 +711,14 @@
|
|
|
639
711
|
"multiple": false,
|
|
640
712
|
"type": "option"
|
|
641
713
|
},
|
|
714
|
+
"timeout": {
|
|
715
|
+
"description": "Timeout for each request to the server",
|
|
716
|
+
"name": "timeout",
|
|
717
|
+
"default": "1h",
|
|
718
|
+
"hasDynamicHelp": false,
|
|
719
|
+
"multiple": false,
|
|
720
|
+
"type": "option"
|
|
721
|
+
},
|
|
642
722
|
"assembly": {
|
|
643
723
|
"char": "a",
|
|
644
724
|
"description": "Find input reference sequence in this assembly",
|
|
@@ -721,6 +801,14 @@
|
|
|
721
801
|
"multiple": false,
|
|
722
802
|
"type": "option"
|
|
723
803
|
},
|
|
804
|
+
"timeout": {
|
|
805
|
+
"description": "Timeout for each request to the server",
|
|
806
|
+
"name": "timeout",
|
|
807
|
+
"default": "1h",
|
|
808
|
+
"hasDynamicHelp": false,
|
|
809
|
+
"multiple": false,
|
|
810
|
+
"type": "option"
|
|
811
|
+
},
|
|
724
812
|
"include-fasta": {
|
|
725
813
|
"description": "Include fasta sequence in output",
|
|
726
814
|
"name": "include-fasta",
|
|
@@ -763,6 +851,14 @@
|
|
|
763
851
|
"multiple": false,
|
|
764
852
|
"type": "option"
|
|
765
853
|
},
|
|
854
|
+
"timeout": {
|
|
855
|
+
"description": "Timeout for each request to the server",
|
|
856
|
+
"name": "timeout",
|
|
857
|
+
"default": "1h",
|
|
858
|
+
"hasDynamicHelp": false,
|
|
859
|
+
"multiple": false,
|
|
860
|
+
"type": "option"
|
|
861
|
+
},
|
|
766
862
|
"assembly": {
|
|
767
863
|
"char": "a",
|
|
768
864
|
"description": "Get changes only for these assembly names or IDs (but see description)",
|
|
@@ -789,14 +885,14 @@
|
|
|
789
885
|
"get.js"
|
|
790
886
|
]
|
|
791
887
|
},
|
|
792
|
-
"
|
|
888
|
+
"file:delete": {
|
|
793
889
|
"aliases": [],
|
|
794
890
|
"args": {},
|
|
795
|
-
"description": "
|
|
891
|
+
"description": "Deleted files are printed to stdout. See also `apollo file get` to list the files on the server",
|
|
796
892
|
"examples": [
|
|
797
893
|
{
|
|
798
|
-
"description": "
|
|
799
|
-
"command": "<%= config.bin %> <%= command.id %> -i
|
|
894
|
+
"description": "Delete file multiple files:",
|
|
895
|
+
"command": "<%= config.bin %> <%= command.id %> -i 123...abc xyz...789"
|
|
800
896
|
}
|
|
801
897
|
],
|
|
802
898
|
"flags": {
|
|
@@ -814,85 +910,51 @@
|
|
|
814
910
|
"multiple": false,
|
|
815
911
|
"type": "option"
|
|
816
912
|
},
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"
|
|
820
|
-
"
|
|
821
|
-
"default": "-",
|
|
822
|
-
"hasDynamicHelp": false,
|
|
823
|
-
"multiple": false,
|
|
824
|
-
"type": "option"
|
|
825
|
-
},
|
|
826
|
-
"start": {
|
|
827
|
-
"char": "s",
|
|
828
|
-
"description": "Start coordinate of the child feature (1-based)",
|
|
829
|
-
"name": "start",
|
|
830
|
-
"required": true,
|
|
831
|
-
"hasDynamicHelp": false,
|
|
832
|
-
"multiple": false,
|
|
833
|
-
"type": "option"
|
|
834
|
-
},
|
|
835
|
-
"end": {
|
|
836
|
-
"char": "e",
|
|
837
|
-
"description": "End coordinate of the child feature (1-based)",
|
|
838
|
-
"name": "end",
|
|
839
|
-
"required": true,
|
|
913
|
+
"timeout": {
|
|
914
|
+
"description": "Timeout for each request to the server",
|
|
915
|
+
"name": "timeout",
|
|
916
|
+
"default": "1h",
|
|
840
917
|
"hasDynamicHelp": false,
|
|
841
918
|
"multiple": false,
|
|
842
919
|
"type": "option"
|
|
843
920
|
},
|
|
844
|
-
"
|
|
845
|
-
"char": "
|
|
846
|
-
"description": "
|
|
847
|
-
"name": "
|
|
848
|
-
"
|
|
921
|
+
"file-id": {
|
|
922
|
+
"char": "i",
|
|
923
|
+
"description": "IDs of the files to delete",
|
|
924
|
+
"name": "file-id",
|
|
925
|
+
"default": [
|
|
926
|
+
"-"
|
|
927
|
+
],
|
|
849
928
|
"hasDynamicHelp": false,
|
|
850
|
-
"multiple":
|
|
929
|
+
"multiple": true,
|
|
851
930
|
"type": "option"
|
|
852
931
|
}
|
|
853
932
|
},
|
|
854
933
|
"hasDynamicHelp": false,
|
|
855
934
|
"hiddenAliases": [],
|
|
856
|
-
"id": "
|
|
935
|
+
"id": "file:delete",
|
|
857
936
|
"pluginAlias": "@apollo-annotation/cli",
|
|
858
937
|
"pluginName": "@apollo-annotation/cli",
|
|
859
938
|
"pluginType": "core",
|
|
860
939
|
"strict": true,
|
|
861
|
-
"summary": "
|
|
940
|
+
"summary": "Delete files from the Apollo server",
|
|
862
941
|
"enableJsonFlag": false,
|
|
863
942
|
"isESM": true,
|
|
864
943
|
"relativePath": [
|
|
865
944
|
"dist",
|
|
866
945
|
"commands",
|
|
867
|
-
"
|
|
868
|
-
"
|
|
946
|
+
"file",
|
|
947
|
+
"delete.js"
|
|
869
948
|
]
|
|
870
949
|
},
|
|
871
|
-
"
|
|
950
|
+
"file:download": {
|
|
872
951
|
"aliases": [],
|
|
873
|
-
"args": {
|
|
874
|
-
|
|
875
|
-
"description": "Inline JSON describing the feature(s) to add. Can also be provided via stdin.",
|
|
876
|
-
"name": "feature-json"
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
"description": "A single simple feature can be added using the --min, --max, etc. flags.\n\nTo add multiple features, features with more details, or features with children, you can pass in JSON via argument or stdin or use the --feature-json-file options.\n",
|
|
952
|
+
"args": {},
|
|
953
|
+
"description": "See also `apollo file get` to list the files on the server",
|
|
880
954
|
"examples": [
|
|
881
955
|
{
|
|
882
|
-
"description": "
|
|
883
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
884
|
-
},
|
|
885
|
-
{
|
|
886
|
-
"description": "Add a single feature from inline JSON",
|
|
887
|
-
"command": "<%= config.bin %> <%= command.id %> '{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":1,\"max\":100,\"type\":\"<featureType>\"}'"
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"description": "Add mutilple features from stdin JSON",
|
|
891
|
-
"command": "echo '[{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":1,\"max\":100,\"type\":\"<featureType>\"},{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":101,\"max\":200,\"type\":\"<featureType>\"}]' | <%= config.bin %> <%= command.id %>"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"description": "Add a feature with children from inline JSON",
|
|
895
|
-
"command": "<%= config.bin %> <%= command.id %> '{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":1,\"max\":100,\"type\":\"<featureType>\",\"children\":[{\"min\":1,\"max\":50,\"type\":\"<featureType>\"}]}'"
|
|
956
|
+
"description": "Download file with id xyz",
|
|
957
|
+
"command": "<%= config.bin %> <%= command.id %> -i xyz -o genome.fa"
|
|
896
958
|
}
|
|
897
959
|
],
|
|
898
960
|
"flags": {
|
|
@@ -910,82 +972,27 @@
|
|
|
910
972
|
"multiple": false,
|
|
911
973
|
"type": "option"
|
|
912
974
|
},
|
|
913
|
-
"
|
|
914
|
-
"
|
|
915
|
-
"
|
|
916
|
-
"
|
|
917
|
-
"hasDynamicHelp": false,
|
|
918
|
-
"multiple": false,
|
|
919
|
-
"type": "option"
|
|
920
|
-
},
|
|
921
|
-
"refSeq": {
|
|
922
|
-
"char": "r",
|
|
923
|
-
"dependsOn": [
|
|
924
|
-
"min",
|
|
925
|
-
"max",
|
|
926
|
-
"type"
|
|
927
|
-
],
|
|
928
|
-
"description": "Name or ID of target reference sequence",
|
|
929
|
-
"exclusive": [
|
|
930
|
-
"feature-json-file"
|
|
931
|
-
],
|
|
932
|
-
"name": "refSeq",
|
|
933
|
-
"hasDynamicHelp": false,
|
|
934
|
-
"multiple": false,
|
|
935
|
-
"type": "option"
|
|
936
|
-
},
|
|
937
|
-
"min": {
|
|
938
|
-
"char": "s",
|
|
939
|
-
"dependsOn": [
|
|
940
|
-
"refSeq",
|
|
941
|
-
"max",
|
|
942
|
-
"type"
|
|
943
|
-
],
|
|
944
|
-
"description": "Start position in target reference sequence",
|
|
945
|
-
"exclusive": [
|
|
946
|
-
"feature-json-file"
|
|
947
|
-
],
|
|
948
|
-
"name": "min",
|
|
949
|
-
"hasDynamicHelp": false,
|
|
950
|
-
"multiple": false,
|
|
951
|
-
"type": "option"
|
|
952
|
-
},
|
|
953
|
-
"max": {
|
|
954
|
-
"char": "e",
|
|
955
|
-
"dependsOn": [
|
|
956
|
-
"refSeq",
|
|
957
|
-
"min",
|
|
958
|
-
"type"
|
|
959
|
-
],
|
|
960
|
-
"description": "End position in target reference sequence",
|
|
961
|
-
"exclusive": [
|
|
962
|
-
"feature-json-file"
|
|
963
|
-
],
|
|
964
|
-
"name": "max",
|
|
975
|
+
"timeout": {
|
|
976
|
+
"description": "Timeout for each request to the server",
|
|
977
|
+
"name": "timeout",
|
|
978
|
+
"default": "1h",
|
|
965
979
|
"hasDynamicHelp": false,
|
|
966
980
|
"multiple": false,
|
|
967
981
|
"type": "option"
|
|
968
982
|
},
|
|
969
|
-
"
|
|
970
|
-
"char": "
|
|
971
|
-
"
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
"max"
|
|
975
|
-
],
|
|
976
|
-
"description": "Type of child feature",
|
|
977
|
-
"exclusive": [
|
|
978
|
-
"feature-json-file"
|
|
979
|
-
],
|
|
980
|
-
"name": "type",
|
|
983
|
+
"file-id": {
|
|
984
|
+
"char": "i",
|
|
985
|
+
"description": "ID of the file to download",
|
|
986
|
+
"name": "file-id",
|
|
987
|
+
"default": "-",
|
|
981
988
|
"hasDynamicHelp": false,
|
|
982
989
|
"multiple": false,
|
|
983
990
|
"type": "option"
|
|
984
991
|
},
|
|
985
|
-
"
|
|
986
|
-
"char": "
|
|
987
|
-
"description": "
|
|
988
|
-
"name": "
|
|
992
|
+
"output": {
|
|
993
|
+
"char": "o",
|
|
994
|
+
"description": "Write output to this file or \"-\" for stdout. Default to the name of the uploaded file.",
|
|
995
|
+
"name": "output",
|
|
989
996
|
"hasDynamicHelp": false,
|
|
990
997
|
"multiple": false,
|
|
991
998
|
"type": "option"
|
|
@@ -993,33 +1000,29 @@
|
|
|
993
1000
|
},
|
|
994
1001
|
"hasDynamicHelp": false,
|
|
995
1002
|
"hiddenAliases": [],
|
|
996
|
-
"id": "
|
|
1003
|
+
"id": "file:download",
|
|
997
1004
|
"pluginAlias": "@apollo-annotation/cli",
|
|
998
1005
|
"pluginName": "@apollo-annotation/cli",
|
|
999
1006
|
"pluginType": "core",
|
|
1000
1007
|
"strict": true,
|
|
1001
|
-
"summary": "
|
|
1008
|
+
"summary": "Download a file from the Apollo server",
|
|
1002
1009
|
"enableJsonFlag": false,
|
|
1003
1010
|
"isESM": true,
|
|
1004
1011
|
"relativePath": [
|
|
1005
1012
|
"dist",
|
|
1006
1013
|
"commands",
|
|
1007
|
-
"
|
|
1008
|
-
"
|
|
1014
|
+
"file",
|
|
1015
|
+
"download.js"
|
|
1009
1016
|
]
|
|
1010
1017
|
},
|
|
1011
|
-
"
|
|
1018
|
+
"file:get": {
|
|
1012
1019
|
"aliases": [],
|
|
1013
1020
|
"args": {},
|
|
1014
|
-
"description": "
|
|
1021
|
+
"description": "Print to stdout the list of files in json format",
|
|
1015
1022
|
"examples": [
|
|
1016
1023
|
{
|
|
1017
|
-
"description": "Get
|
|
1018
|
-
"command": "<%= config.bin %> <%= command.id %>"
|
|
1019
|
-
},
|
|
1020
|
-
{
|
|
1021
|
-
"description": "Get check results for assembly hg19:",
|
|
1022
|
-
"command": "<%= config.bin %> <%= command.id %> -a hg19"
|
|
1024
|
+
"description": "Get files by id:",
|
|
1025
|
+
"command": "<%= config.bin %> <%= command.id %> -i xyz abc"
|
|
1023
1026
|
}
|
|
1024
1027
|
],
|
|
1025
1028
|
"flags": {
|
|
@@ -1037,48 +1040,54 @@
|
|
|
1037
1040
|
"multiple": false,
|
|
1038
1041
|
"type": "option"
|
|
1039
1042
|
},
|
|
1040
|
-
"
|
|
1041
|
-
"
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1043
|
+
"timeout": {
|
|
1044
|
+
"description": "Timeout for each request to the server",
|
|
1045
|
+
"name": "timeout",
|
|
1046
|
+
"default": "1h",
|
|
1044
1047
|
"hasDynamicHelp": false,
|
|
1045
|
-
"multiple":
|
|
1048
|
+
"multiple": false,
|
|
1046
1049
|
"type": "option"
|
|
1047
1050
|
},
|
|
1048
|
-
"
|
|
1049
|
-
"char": "
|
|
1050
|
-
"description": "Get
|
|
1051
|
-
"name": "
|
|
1051
|
+
"file-id": {
|
|
1052
|
+
"char": "i",
|
|
1053
|
+
"description": "Get files matching this IDs",
|
|
1054
|
+
"name": "file-id",
|
|
1052
1055
|
"hasDynamicHelp": false,
|
|
1053
|
-
"multiple":
|
|
1056
|
+
"multiple": true,
|
|
1054
1057
|
"type": "option"
|
|
1055
1058
|
}
|
|
1056
1059
|
},
|
|
1057
1060
|
"hasDynamicHelp": false,
|
|
1058
1061
|
"hiddenAliases": [],
|
|
1059
|
-
"id": "
|
|
1062
|
+
"id": "file:get",
|
|
1060
1063
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1061
1064
|
"pluginName": "@apollo-annotation/cli",
|
|
1062
1065
|
"pluginType": "core",
|
|
1063
1066
|
"strict": true,
|
|
1064
|
-
"summary": "Get
|
|
1067
|
+
"summary": "Get list of files uploaded to the Apollo server",
|
|
1065
1068
|
"enableJsonFlag": false,
|
|
1066
1069
|
"isESM": true,
|
|
1067
1070
|
"relativePath": [
|
|
1068
1071
|
"dist",
|
|
1069
1072
|
"commands",
|
|
1070
|
-
"
|
|
1071
|
-
"
|
|
1073
|
+
"file",
|
|
1074
|
+
"get.js"
|
|
1072
1075
|
]
|
|
1073
1076
|
},
|
|
1074
|
-
"
|
|
1077
|
+
"file:upload": {
|
|
1075
1078
|
"aliases": [],
|
|
1076
|
-
"args": {
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
"
|
|
1081
|
-
|
|
1079
|
+
"args": {
|
|
1080
|
+
"input-file": {
|
|
1081
|
+
"description": "Local file to upload",
|
|
1082
|
+
"name": "input-file",
|
|
1083
|
+
"required": true
|
|
1084
|
+
}
|
|
1085
|
+
},
|
|
1086
|
+
"description": "This command only uploads a file and returns the corresponding file id.\n To add an assembly based on this file or to upload & add an assembly in a single pass see `apollo assembly add-from-fasta` and `add-from-gff`",
|
|
1087
|
+
"examples": [
|
|
1088
|
+
{
|
|
1089
|
+
"description": "Upload local file, type auto-detected:",
|
|
1090
|
+
"command": "<%= config.bin %> <%= command.id %> genome.fa > file.json"
|
|
1082
1091
|
}
|
|
1083
1092
|
],
|
|
1084
1093
|
"flags": {
|
|
@@ -1096,64 +1105,76 @@
|
|
|
1096
1105
|
"multiple": false,
|
|
1097
1106
|
"type": "option"
|
|
1098
1107
|
},
|
|
1099
|
-
"
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1103
|
-
"default": "-",
|
|
1108
|
+
"timeout": {
|
|
1109
|
+
"description": "Timeout for each request to the server",
|
|
1110
|
+
"name": "timeout",
|
|
1111
|
+
"default": "1h",
|
|
1104
1112
|
"hasDynamicHelp": false,
|
|
1105
1113
|
"multiple": false,
|
|
1106
1114
|
"type": "option"
|
|
1107
1115
|
},
|
|
1108
|
-
"
|
|
1109
|
-
"char": "
|
|
1110
|
-
"description": "
|
|
1111
|
-
"name": "
|
|
1112
|
-
"required": true,
|
|
1116
|
+
"type": {
|
|
1117
|
+
"char": "t",
|
|
1118
|
+
"description": "Set file type or autodetected it if not set.\n NB: There is no check for whether the file complies to this type",
|
|
1119
|
+
"name": "type",
|
|
1113
1120
|
"hasDynamicHelp": false,
|
|
1114
1121
|
"multiple": false,
|
|
1122
|
+
"options": [
|
|
1123
|
+
"text/x-fasta",
|
|
1124
|
+
"text/x-gff3",
|
|
1125
|
+
"application/x-bgzip-fasta",
|
|
1126
|
+
"text/x-fai",
|
|
1127
|
+
"application/x-gzi"
|
|
1128
|
+
],
|
|
1115
1129
|
"type": "option"
|
|
1116
1130
|
},
|
|
1117
|
-
"
|
|
1118
|
-
"char": "
|
|
1119
|
-
"description": "
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
"
|
|
1124
|
-
"
|
|
1131
|
+
"gzip": {
|
|
1132
|
+
"char": "z",
|
|
1133
|
+
"description": "Override autodetection and instruct that input is gzip compressed",
|
|
1134
|
+
"exclusive": [
|
|
1135
|
+
"decompressed"
|
|
1136
|
+
],
|
|
1137
|
+
"name": "gzip",
|
|
1138
|
+
"allowNo": false,
|
|
1139
|
+
"type": "boolean"
|
|
1125
1140
|
},
|
|
1126
|
-
"
|
|
1127
|
-
"char": "
|
|
1128
|
-
"description": "
|
|
1129
|
-
"
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
"
|
|
1133
|
-
"
|
|
1141
|
+
"decompressed": {
|
|
1142
|
+
"char": "d",
|
|
1143
|
+
"description": "Override autodetection and instruct that input is decompressed",
|
|
1144
|
+
"exclusive": [
|
|
1145
|
+
"gzip"
|
|
1146
|
+
],
|
|
1147
|
+
"name": "decompressed",
|
|
1148
|
+
"allowNo": false,
|
|
1149
|
+
"type": "boolean"
|
|
1134
1150
|
}
|
|
1135
1151
|
},
|
|
1136
1152
|
"hasDynamicHelp": false,
|
|
1137
1153
|
"hiddenAliases": [],
|
|
1138
|
-
"id": "
|
|
1154
|
+
"id": "file:upload",
|
|
1139
1155
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1140
1156
|
"pluginName": "@apollo-annotation/cli",
|
|
1141
1157
|
"pluginType": "core",
|
|
1142
1158
|
"strict": true,
|
|
1143
|
-
"summary": "
|
|
1144
|
-
"enableJsonFlag": false,
|
|
1159
|
+
"summary": "Upload a local file to the Apollo server",
|
|
1145
1160
|
"isESM": true,
|
|
1146
1161
|
"relativePath": [
|
|
1147
1162
|
"dist",
|
|
1148
1163
|
"commands",
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
1164
|
+
"file",
|
|
1165
|
+
"upload.js"
|
|
1151
1166
|
]
|
|
1152
1167
|
},
|
|
1153
|
-
"feature:
|
|
1168
|
+
"feature:add-child": {
|
|
1154
1169
|
"aliases": [],
|
|
1155
1170
|
"args": {},
|
|
1156
|
-
"description": "
|
|
1171
|
+
"description": "See the other commands under `apollo feature` to retrive the parent ID of interest and to populate the child feature with attributes.",
|
|
1172
|
+
"examples": [
|
|
1173
|
+
{
|
|
1174
|
+
"description": "Add an exon at genomic coordinates 10..20 to this feature ID:",
|
|
1175
|
+
"command": "<%= config.bin %> <%= command.id %> -i 660...73f -t exon -s 10 -e 20"
|
|
1176
|
+
}
|
|
1177
|
+
],
|
|
1157
1178
|
"flags": {
|
|
1158
1179
|
"profile": {
|
|
1159
1180
|
"description": "Use credentials from this profile",
|
|
@@ -1169,65 +1190,93 @@
|
|
|
1169
1190
|
"multiple": false,
|
|
1170
1191
|
"type": "option"
|
|
1171
1192
|
},
|
|
1193
|
+
"timeout": {
|
|
1194
|
+
"description": "Timeout for each request to the server",
|
|
1195
|
+
"name": "timeout",
|
|
1196
|
+
"default": "1h",
|
|
1197
|
+
"hasDynamicHelp": false,
|
|
1198
|
+
"multiple": false,
|
|
1199
|
+
"type": "option"
|
|
1200
|
+
},
|
|
1172
1201
|
"feature-id": {
|
|
1173
1202
|
"char": "i",
|
|
1174
|
-
"description": "
|
|
1203
|
+
"description": "Add a child to this feature ID; use - to read it from stdin",
|
|
1175
1204
|
"name": "feature-id",
|
|
1176
|
-
"default":
|
|
1177
|
-
"-"
|
|
1178
|
-
],
|
|
1205
|
+
"default": "-",
|
|
1179
1206
|
"hasDynamicHelp": false,
|
|
1180
|
-
"multiple":
|
|
1207
|
+
"multiple": false,
|
|
1181
1208
|
"type": "option"
|
|
1182
1209
|
},
|
|
1183
|
-
"
|
|
1184
|
-
"char": "
|
|
1185
|
-
"description": "
|
|
1186
|
-
"name": "
|
|
1187
|
-
"
|
|
1188
|
-
"
|
|
1210
|
+
"start": {
|
|
1211
|
+
"char": "s",
|
|
1212
|
+
"description": "Start coordinate of the child feature (1-based)",
|
|
1213
|
+
"name": "start",
|
|
1214
|
+
"required": true,
|
|
1215
|
+
"hasDynamicHelp": false,
|
|
1216
|
+
"multiple": false,
|
|
1217
|
+
"type": "option"
|
|
1189
1218
|
},
|
|
1190
|
-
"
|
|
1191
|
-
"char": "
|
|
1192
|
-
"description": "
|
|
1193
|
-
"name": "
|
|
1194
|
-
"
|
|
1195
|
-
"
|
|
1219
|
+
"end": {
|
|
1220
|
+
"char": "e",
|
|
1221
|
+
"description": "End coordinate of the child feature (1-based)",
|
|
1222
|
+
"name": "end",
|
|
1223
|
+
"required": true,
|
|
1224
|
+
"hasDynamicHelp": false,
|
|
1225
|
+
"multiple": false,
|
|
1226
|
+
"type": "option"
|
|
1227
|
+
},
|
|
1228
|
+
"type": {
|
|
1229
|
+
"char": "t",
|
|
1230
|
+
"description": "Type of child feature",
|
|
1231
|
+
"name": "type",
|
|
1232
|
+
"required": true,
|
|
1233
|
+
"hasDynamicHelp": false,
|
|
1234
|
+
"multiple": false,
|
|
1235
|
+
"type": "option"
|
|
1196
1236
|
}
|
|
1197
1237
|
},
|
|
1198
1238
|
"hasDynamicHelp": false,
|
|
1199
1239
|
"hiddenAliases": [],
|
|
1200
|
-
"id": "feature:
|
|
1240
|
+
"id": "feature:add-child",
|
|
1201
1241
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1202
1242
|
"pluginName": "@apollo-annotation/cli",
|
|
1203
1243
|
"pluginType": "core",
|
|
1204
1244
|
"strict": true,
|
|
1205
|
-
"summary": "
|
|
1245
|
+
"summary": "Add a child feature (e.g. add an exon to an mRNA)",
|
|
1206
1246
|
"enableJsonFlag": false,
|
|
1207
1247
|
"isESM": true,
|
|
1208
1248
|
"relativePath": [
|
|
1209
1249
|
"dist",
|
|
1210
1250
|
"commands",
|
|
1211
1251
|
"feature",
|
|
1212
|
-
"
|
|
1252
|
+
"add-child.js"
|
|
1213
1253
|
]
|
|
1214
1254
|
},
|
|
1215
|
-
"feature:
|
|
1255
|
+
"feature:add": {
|
|
1216
1256
|
"aliases": [],
|
|
1217
|
-
"args": {
|
|
1218
|
-
|
|
1257
|
+
"args": {
|
|
1258
|
+
"feature-json": {
|
|
1259
|
+
"description": "Inline JSON describing the feature(s) to add. Can also be provided via stdin.",
|
|
1260
|
+
"name": "feature-json"
|
|
1261
|
+
}
|
|
1262
|
+
},
|
|
1263
|
+
"description": "A single simple feature can be added using the --min, --max, etc. flags.\n\nTo add multiple features, features with more details, or features with children, you can pass in JSON via argument or stdin or use the --feature-json-file options.\n",
|
|
1219
1264
|
"examples": [
|
|
1220
1265
|
{
|
|
1221
|
-
"description": "Add
|
|
1222
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1266
|
+
"description": "Add a single feature by specifying its location and type",
|
|
1267
|
+
"command": "<%= config.bin %> <%= command.id %> --assembly hg19 --refSeq chr3 --min 1000 --max 5000 --type remark"
|
|
1223
1268
|
},
|
|
1224
1269
|
{
|
|
1225
|
-
"description": "
|
|
1226
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1270
|
+
"description": "Add a single feature from inline JSON",
|
|
1271
|
+
"command": "<%= config.bin %> <%= command.id %> '{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":1,\"max\":100,\"type\":\"<featureType>\"}'"
|
|
1227
1272
|
},
|
|
1228
1273
|
{
|
|
1229
|
-
"description": "
|
|
1230
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1274
|
+
"description": "Add mutilple features from stdin JSON",
|
|
1275
|
+
"command": "echo '[{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":1,\"max\":100,\"type\":\"<featureType>\"},{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":101,\"max\":200,\"type\":\"<featureType>\"}]' | <%= config.bin %> <%= command.id %>"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"description": "Add a feature with children from inline JSON",
|
|
1279
|
+
"command": "<%= config.bin %> <%= command.id %> '{\"assembly\":\"<assemblyNameOrId>\",\"refseq\":\"<refSeqNameOrId>\",\"min\":1,\"max\":100,\"type\":\"<featureType>\",\"children\":[{\"min\":1,\"max\":50,\"type\":\"<featureType>\"}]}'"
|
|
1231
1280
|
}
|
|
1232
1281
|
],
|
|
1233
1282
|
"flags": {
|
|
@@ -1245,69 +1294,124 @@
|
|
|
1245
1294
|
"multiple": false,
|
|
1246
1295
|
"type": "option"
|
|
1247
1296
|
},
|
|
1248
|
-
"
|
|
1249
|
-
"
|
|
1250
|
-
"
|
|
1251
|
-
"
|
|
1252
|
-
"default": "-",
|
|
1297
|
+
"timeout": {
|
|
1298
|
+
"description": "Timeout for each request to the server",
|
|
1299
|
+
"name": "timeout",
|
|
1300
|
+
"default": "1h",
|
|
1253
1301
|
"hasDynamicHelp": false,
|
|
1254
1302
|
"multiple": false,
|
|
1255
1303
|
"type": "option"
|
|
1256
1304
|
},
|
|
1257
|
-
"
|
|
1305
|
+
"assembly": {
|
|
1258
1306
|
"char": "a",
|
|
1259
|
-
"description": "
|
|
1260
|
-
"name": "
|
|
1261
|
-
"required": true,
|
|
1307
|
+
"description": "Name or ID of target assembly. Not required if refseq is unique in the database",
|
|
1308
|
+
"name": "assembly",
|
|
1262
1309
|
"hasDynamicHelp": false,
|
|
1263
1310
|
"multiple": false,
|
|
1264
1311
|
"type": "option"
|
|
1265
1312
|
},
|
|
1266
|
-
"
|
|
1267
|
-
"char": "
|
|
1268
|
-
"
|
|
1269
|
-
|
|
1313
|
+
"refSeq": {
|
|
1314
|
+
"char": "r",
|
|
1315
|
+
"dependsOn": [
|
|
1316
|
+
"min",
|
|
1317
|
+
"max",
|
|
1318
|
+
"type"
|
|
1319
|
+
],
|
|
1320
|
+
"description": "Name or ID of target reference sequence",
|
|
1321
|
+
"exclusive": [
|
|
1322
|
+
"feature-json-file"
|
|
1323
|
+
],
|
|
1324
|
+
"name": "refSeq",
|
|
1270
1325
|
"hasDynamicHelp": false,
|
|
1271
|
-
"multiple":
|
|
1326
|
+
"multiple": false,
|
|
1272
1327
|
"type": "option"
|
|
1273
1328
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"char": "
|
|
1276
|
-
"
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1329
|
+
"min": {
|
|
1330
|
+
"char": "s",
|
|
1331
|
+
"dependsOn": [
|
|
1332
|
+
"refSeq",
|
|
1333
|
+
"max",
|
|
1334
|
+
"type"
|
|
1335
|
+
],
|
|
1336
|
+
"description": "Start position in target reference sequence",
|
|
1337
|
+
"exclusive": [
|
|
1338
|
+
"feature-json-file"
|
|
1339
|
+
],
|
|
1340
|
+
"name": "min",
|
|
1341
|
+
"hasDynamicHelp": false,
|
|
1342
|
+
"multiple": false,
|
|
1343
|
+
"type": "option"
|
|
1344
|
+
},
|
|
1345
|
+
"max": {
|
|
1346
|
+
"char": "e",
|
|
1347
|
+
"dependsOn": [
|
|
1348
|
+
"refSeq",
|
|
1349
|
+
"min",
|
|
1350
|
+
"type"
|
|
1351
|
+
],
|
|
1352
|
+
"description": "End position in target reference sequence",
|
|
1353
|
+
"exclusive": [
|
|
1354
|
+
"feature-json-file"
|
|
1355
|
+
],
|
|
1356
|
+
"name": "max",
|
|
1357
|
+
"hasDynamicHelp": false,
|
|
1358
|
+
"multiple": false,
|
|
1359
|
+
"type": "option"
|
|
1360
|
+
},
|
|
1361
|
+
"type": {
|
|
1362
|
+
"char": "t",
|
|
1363
|
+
"dependsOn": [
|
|
1364
|
+
"refSeq",
|
|
1365
|
+
"min",
|
|
1366
|
+
"max"
|
|
1367
|
+
],
|
|
1368
|
+
"description": "Type of child feature",
|
|
1369
|
+
"exclusive": [
|
|
1370
|
+
"feature-json-file"
|
|
1371
|
+
],
|
|
1372
|
+
"name": "type",
|
|
1373
|
+
"hasDynamicHelp": false,
|
|
1374
|
+
"multiple": false,
|
|
1375
|
+
"type": "option"
|
|
1376
|
+
},
|
|
1377
|
+
"feature-json-file": {
|
|
1378
|
+
"char": "F",
|
|
1379
|
+
"description": "File with JSON describing the feature(s) to add",
|
|
1380
|
+
"name": "feature-json-file",
|
|
1381
|
+
"hasDynamicHelp": false,
|
|
1382
|
+
"multiple": false,
|
|
1383
|
+
"type": "option"
|
|
1280
1384
|
}
|
|
1281
1385
|
},
|
|
1282
1386
|
"hasDynamicHelp": false,
|
|
1283
1387
|
"hiddenAliases": [],
|
|
1284
|
-
"id": "feature:
|
|
1388
|
+
"id": "feature:add",
|
|
1285
1389
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1286
1390
|
"pluginName": "@apollo-annotation/cli",
|
|
1287
1391
|
"pluginType": "core",
|
|
1288
1392
|
"strict": true,
|
|
1289
|
-
"summary": "Add
|
|
1393
|
+
"summary": "Add one or more features to Apollo",
|
|
1290
1394
|
"enableJsonFlag": false,
|
|
1291
1395
|
"isESM": true,
|
|
1292
1396
|
"relativePath": [
|
|
1293
1397
|
"dist",
|
|
1294
1398
|
"commands",
|
|
1295
1399
|
"feature",
|
|
1296
|
-
"
|
|
1400
|
+
"add.js"
|
|
1297
1401
|
]
|
|
1298
1402
|
},
|
|
1299
|
-
"feature:
|
|
1403
|
+
"feature:check": {
|
|
1300
1404
|
"aliases": [],
|
|
1301
1405
|
"args": {},
|
|
1302
|
-
"description": "
|
|
1406
|
+
"description": "Use this command to view which features fail checks along with the reason for failing.Use `apollo assembly check` for managing which checks should be applied to an assembly",
|
|
1303
1407
|
"examples": [
|
|
1304
1408
|
{
|
|
1305
|
-
"description": "
|
|
1306
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1409
|
+
"description": "Get all check results in the database:",
|
|
1410
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
1307
1411
|
},
|
|
1308
1412
|
{
|
|
1309
|
-
"description": "
|
|
1310
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
1413
|
+
"description": "Get check results for assembly hg19:",
|
|
1414
|
+
"command": "<%= config.bin %> <%= command.id %> -a hg19"
|
|
1311
1415
|
}
|
|
1312
1416
|
],
|
|
1313
1417
|
"flags": {
|
|
@@ -1325,27 +1429,26 @@
|
|
|
1325
1429
|
"multiple": false,
|
|
1326
1430
|
"type": "option"
|
|
1327
1431
|
},
|
|
1328
|
-
"
|
|
1329
|
-
"
|
|
1330
|
-
"
|
|
1331
|
-
"
|
|
1332
|
-
"default": "-",
|
|
1432
|
+
"timeout": {
|
|
1433
|
+
"description": "Timeout for each request to the server",
|
|
1434
|
+
"name": "timeout",
|
|
1435
|
+
"default": "1h",
|
|
1333
1436
|
"hasDynamicHelp": false,
|
|
1334
1437
|
"multiple": false,
|
|
1335
1438
|
"type": "option"
|
|
1336
1439
|
},
|
|
1337
|
-
"
|
|
1338
|
-
"char": "
|
|
1339
|
-
"description": "
|
|
1340
|
-
"name": "
|
|
1440
|
+
"feature-id": {
|
|
1441
|
+
"char": "i",
|
|
1442
|
+
"description": "Get checks for these feature identifiers",
|
|
1443
|
+
"name": "feature-id",
|
|
1341
1444
|
"hasDynamicHelp": false,
|
|
1342
|
-
"multiple":
|
|
1445
|
+
"multiple": true,
|
|
1343
1446
|
"type": "option"
|
|
1344
1447
|
},
|
|
1345
|
-
"
|
|
1346
|
-
"char": "
|
|
1347
|
-
"description": "
|
|
1348
|
-
"name": "
|
|
1448
|
+
"assembly": {
|
|
1449
|
+
"char": "a",
|
|
1450
|
+
"description": "Get checks for this assembly",
|
|
1451
|
+
"name": "assembly",
|
|
1349
1452
|
"hasDynamicHelp": false,
|
|
1350
1453
|
"multiple": false,
|
|
1351
1454
|
"type": "option"
|
|
@@ -1353,25 +1456,31 @@
|
|
|
1353
1456
|
},
|
|
1354
1457
|
"hasDynamicHelp": false,
|
|
1355
1458
|
"hiddenAliases": [],
|
|
1356
|
-
"id": "feature:
|
|
1459
|
+
"id": "feature:check",
|
|
1357
1460
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1358
1461
|
"pluginName": "@apollo-annotation/cli",
|
|
1359
1462
|
"pluginType": "core",
|
|
1360
1463
|
"strict": true,
|
|
1361
|
-
"summary": "
|
|
1464
|
+
"summary": "Get check results",
|
|
1362
1465
|
"enableJsonFlag": false,
|
|
1363
1466
|
"isESM": true,
|
|
1364
1467
|
"relativePath": [
|
|
1365
1468
|
"dist",
|
|
1366
1469
|
"commands",
|
|
1367
1470
|
"feature",
|
|
1368
|
-
"
|
|
1471
|
+
"check.js"
|
|
1369
1472
|
]
|
|
1370
1473
|
},
|
|
1371
|
-
"feature:
|
|
1474
|
+
"feature:copy": {
|
|
1372
1475
|
"aliases": [],
|
|
1373
1476
|
"args": {},
|
|
1374
|
-
"description": "
|
|
1477
|
+
"description": "The feature may be copied to the same or to a different assembly. The destination reference sequence may be selected by name only if unique in the database or by name and assembly or by identifier.",
|
|
1478
|
+
"examples": [
|
|
1479
|
+
{
|
|
1480
|
+
"description": "Copy this feature ID to chr1:100 in assembly hg38:",
|
|
1481
|
+
"command": "<%= config.bin %> <%= command.id %> -i 6605826fbd0eee691f83e73f -r chr1 -s 100 -a hg38"
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1375
1484
|
"flags": {
|
|
1376
1485
|
"profile": {
|
|
1377
1486
|
"description": "Use credentials from this profile",
|
|
@@ -1387,71 +1496,46 @@
|
|
|
1387
1496
|
"multiple": false,
|
|
1388
1497
|
"type": "option"
|
|
1389
1498
|
},
|
|
1499
|
+
"timeout": {
|
|
1500
|
+
"description": "Timeout for each request to the server",
|
|
1501
|
+
"name": "timeout",
|
|
1502
|
+
"default": "1h",
|
|
1503
|
+
"hasDynamicHelp": false,
|
|
1504
|
+
"multiple": false,
|
|
1505
|
+
"type": "option"
|
|
1506
|
+
},
|
|
1390
1507
|
"feature-id": {
|
|
1391
1508
|
"char": "i",
|
|
1392
|
-
"description": "Feature ID to
|
|
1509
|
+
"description": "Feature ID to copy to; use - to read it from stdin",
|
|
1393
1510
|
"name": "feature-id",
|
|
1394
1511
|
"default": "-",
|
|
1395
1512
|
"hasDynamicHelp": false,
|
|
1396
1513
|
"multiple": false,
|
|
1397
1514
|
"type": "option"
|
|
1398
1515
|
},
|
|
1399
|
-
"
|
|
1400
|
-
"char": "
|
|
1401
|
-
"description": "
|
|
1402
|
-
"name": "
|
|
1403
|
-
"
|
|
1404
|
-
"multiple": false,
|
|
1405
|
-
"type": "option"
|
|
1406
|
-
}
|
|
1407
|
-
},
|
|
1408
|
-
"hasDynamicHelp": false,
|
|
1409
|
-
"hiddenAliases": [],
|
|
1410
|
-
"id": "feature:edit-type",
|
|
1411
|
-
"pluginAlias": "@apollo-annotation/cli",
|
|
1412
|
-
"pluginName": "@apollo-annotation/cli",
|
|
1413
|
-
"pluginType": "core",
|
|
1414
|
-
"strict": true,
|
|
1415
|
-
"summary": "Edit or view feature type",
|
|
1416
|
-
"enableJsonFlag": false,
|
|
1417
|
-
"isESM": true,
|
|
1418
|
-
"relativePath": [
|
|
1419
|
-
"dist",
|
|
1420
|
-
"commands",
|
|
1421
|
-
"feature",
|
|
1422
|
-
"edit-type.js"
|
|
1423
|
-
]
|
|
1424
|
-
},
|
|
1425
|
-
"feature:edit": {
|
|
1426
|
-
"aliases": [],
|
|
1427
|
-
"args": {},
|
|
1428
|
-
"description": "Edit a feature by submitting a json input with all the required attributes for Apollo to process it. This is a very low level command which most users probably do not need.\n\n Input may be a json string or a json file and it may be an array of changes. This is an example input for editing feature type:\n\n {\n \"typeName\": \"TypeChange\",\n \"changedIds\": [\n \"6613f7d22c957525d631b1cc\"\n ],\n \"assembly\": \"6613f7d1360321540a11e5ed\",\n \"featureId\": \"6613f7d22c957525d631b1cc\",\n \"oldType\": \"BAC\",\n \"newType\": \"G_quartet\"\n }",
|
|
1429
|
-
"examples": [
|
|
1430
|
-
{
|
|
1431
|
-
"description": "Editing by passing a json to stdin:",
|
|
1432
|
-
"command": "echo '{\"typeName\": ... \"newType\": \"G_quartet\"}' | <%= config.bin %> <%= command.id %> -j -"
|
|
1433
|
-
}
|
|
1434
|
-
],
|
|
1435
|
-
"flags": {
|
|
1436
|
-
"profile": {
|
|
1437
|
-
"description": "Use credentials from this profile",
|
|
1438
|
-
"name": "profile",
|
|
1516
|
+
"refseq": {
|
|
1517
|
+
"char": "r",
|
|
1518
|
+
"description": "Name or ID of target reference sequence",
|
|
1519
|
+
"name": "refseq",
|
|
1520
|
+
"required": true,
|
|
1439
1521
|
"hasDynamicHelp": false,
|
|
1440
1522
|
"multiple": false,
|
|
1441
1523
|
"type": "option"
|
|
1442
1524
|
},
|
|
1443
|
-
"
|
|
1444
|
-
"
|
|
1445
|
-
"
|
|
1525
|
+
"start": {
|
|
1526
|
+
"char": "s",
|
|
1527
|
+
"description": "Start position in target reference sequence",
|
|
1528
|
+
"name": "start",
|
|
1529
|
+
"required": true,
|
|
1446
1530
|
"hasDynamicHelp": false,
|
|
1447
1531
|
"multiple": false,
|
|
1448
1532
|
"type": "option"
|
|
1449
1533
|
},
|
|
1450
|
-
"
|
|
1451
|
-
"char": "
|
|
1452
|
-
"description": "
|
|
1453
|
-
"name": "
|
|
1454
|
-
"
|
|
1534
|
+
"assembly": {
|
|
1535
|
+
"char": "a",
|
|
1536
|
+
"description": "Name or ID of target assembly. Not required if refseq is unique in the database",
|
|
1537
|
+
"name": "assembly",
|
|
1538
|
+
"required": false,
|
|
1455
1539
|
"hasDynamicHelp": false,
|
|
1456
1540
|
"multiple": false,
|
|
1457
1541
|
"type": "option"
|
|
@@ -1459,31 +1543,25 @@
|
|
|
1459
1543
|
},
|
|
1460
1544
|
"hasDynamicHelp": false,
|
|
1461
1545
|
"hiddenAliases": [],
|
|
1462
|
-
"id": "feature:
|
|
1546
|
+
"id": "feature:copy",
|
|
1463
1547
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1464
1548
|
"pluginName": "@apollo-annotation/cli",
|
|
1465
1549
|
"pluginType": "core",
|
|
1466
1550
|
"strict": true,
|
|
1467
|
-
"summary": "
|
|
1551
|
+
"summary": "Copy a feature to another location",
|
|
1468
1552
|
"enableJsonFlag": false,
|
|
1469
1553
|
"isESM": true,
|
|
1470
1554
|
"relativePath": [
|
|
1471
1555
|
"dist",
|
|
1472
1556
|
"commands",
|
|
1473
1557
|
"feature",
|
|
1474
|
-
"
|
|
1475
|
-
]
|
|
1476
|
-
},
|
|
1477
|
-
"feature:
|
|
1478
|
-
"aliases": [],
|
|
1479
|
-
"args": {},
|
|
1480
|
-
"description": "
|
|
1481
|
-
"examples": [
|
|
1482
|
-
{
|
|
1483
|
-
"description": "Get features for these identifiers:",
|
|
1484
|
-
"command": "<%= config.bin %> <%= command.id %> -i abc...zyz def...foo"
|
|
1485
|
-
}
|
|
1486
|
-
],
|
|
1558
|
+
"copy.js"
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
"feature:delete": {
|
|
1562
|
+
"aliases": [],
|
|
1563
|
+
"args": {},
|
|
1564
|
+
"description": "Note that deleting a child feature after deleting its parent will result in an error unless you set -f/--force.",
|
|
1487
1565
|
"flags": {
|
|
1488
1566
|
"profile": {
|
|
1489
1567
|
"description": "Use credentials from this profile",
|
|
@@ -1499,9 +1577,17 @@
|
|
|
1499
1577
|
"multiple": false,
|
|
1500
1578
|
"type": "option"
|
|
1501
1579
|
},
|
|
1580
|
+
"timeout": {
|
|
1581
|
+
"description": "Timeout for each request to the server",
|
|
1582
|
+
"name": "timeout",
|
|
1583
|
+
"default": "1h",
|
|
1584
|
+
"hasDynamicHelp": false,
|
|
1585
|
+
"multiple": false,
|
|
1586
|
+
"type": "option"
|
|
1587
|
+
},
|
|
1502
1588
|
"feature-id": {
|
|
1503
1589
|
"char": "i",
|
|
1504
|
-
"description": "
|
|
1590
|
+
"description": "Feature IDs to delete",
|
|
1505
1591
|
"name": "feature-id",
|
|
1506
1592
|
"default": [
|
|
1507
1593
|
"-"
|
|
@@ -1509,39 +1595,55 @@
|
|
|
1509
1595
|
"hasDynamicHelp": false,
|
|
1510
1596
|
"multiple": true,
|
|
1511
1597
|
"type": "option"
|
|
1598
|
+
},
|
|
1599
|
+
"force": {
|
|
1600
|
+
"char": "f",
|
|
1601
|
+
"description": "Ignore non-existing features",
|
|
1602
|
+
"name": "force",
|
|
1603
|
+
"allowNo": false,
|
|
1604
|
+
"type": "boolean"
|
|
1605
|
+
},
|
|
1606
|
+
"dry-run": {
|
|
1607
|
+
"char": "n",
|
|
1608
|
+
"description": "Only show what would be delete",
|
|
1609
|
+
"name": "dry-run",
|
|
1610
|
+
"allowNo": false,
|
|
1611
|
+
"type": "boolean"
|
|
1512
1612
|
}
|
|
1513
1613
|
},
|
|
1514
1614
|
"hasDynamicHelp": false,
|
|
1515
1615
|
"hiddenAliases": [],
|
|
1516
|
-
"id": "feature:
|
|
1616
|
+
"id": "feature:delete",
|
|
1517
1617
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1518
1618
|
"pluginName": "@apollo-annotation/cli",
|
|
1519
1619
|
"pluginType": "core",
|
|
1520
1620
|
"strict": true,
|
|
1521
|
-
"summary": "
|
|
1621
|
+
"summary": "Delete one or more features by ID",
|
|
1522
1622
|
"enableJsonFlag": false,
|
|
1523
1623
|
"isESM": true,
|
|
1524
1624
|
"relativePath": [
|
|
1525
1625
|
"dist",
|
|
1526
1626
|
"commands",
|
|
1527
1627
|
"feature",
|
|
1528
|
-
"
|
|
1628
|
+
"delete.js"
|
|
1529
1629
|
]
|
|
1530
1630
|
},
|
|
1531
|
-
"feature:
|
|
1631
|
+
"feature:edit-attribute": {
|
|
1532
1632
|
"aliases": [],
|
|
1533
|
-
"args": {
|
|
1534
|
-
|
|
1535
|
-
"description": "Indexed identifier to search for",
|
|
1536
|
-
"name": "id",
|
|
1537
|
-
"required": true
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
"description": "Get features that match a given indexed identifier, such as the ID of a feature from an imported GFF3 file",
|
|
1633
|
+
"args": {},
|
|
1634
|
+
"description": "Be aware that there is no checking whether attributes names and values are valid. For example, you can create non-unique ID attributes or you can set gene ontology terms to non-existing terms",
|
|
1541
1635
|
"examples": [
|
|
1542
1636
|
{
|
|
1543
|
-
"description": "
|
|
1544
|
-
"command": "<%= config.bin %> <%= command.id %> -i
|
|
1637
|
+
"description": "Add attribute \"domains\" with a list of values:",
|
|
1638
|
+
"command": "<%= config.bin %> <%= command.id %> -i 66...3f -a domains -v ABC PLD"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"description": "Print values in \"domains\" as json array:",
|
|
1642
|
+
"command": "<%= config.bin %> <%= command.id %> -i 66...3f -a domains"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
"description": "Delete attribute \"domains\"",
|
|
1646
|
+
"command": "<%= config.bin %> <%= command.id %> -i 66...3f -a domains -d"
|
|
1545
1647
|
}
|
|
1546
1648
|
],
|
|
1547
1649
|
"flags": {
|
|
@@ -1559,50 +1661,77 @@
|
|
|
1559
1661
|
"multiple": false,
|
|
1560
1662
|
"type": "option"
|
|
1561
1663
|
},
|
|
1562
|
-
"
|
|
1664
|
+
"timeout": {
|
|
1665
|
+
"description": "Timeout for each request to the server",
|
|
1666
|
+
"name": "timeout",
|
|
1667
|
+
"default": "1h",
|
|
1668
|
+
"hasDynamicHelp": false,
|
|
1669
|
+
"multiple": false,
|
|
1670
|
+
"type": "option"
|
|
1671
|
+
},
|
|
1672
|
+
"feature-id": {
|
|
1673
|
+
"char": "i",
|
|
1674
|
+
"description": "Feature ID to edit or \"-\" to read it from stdin",
|
|
1675
|
+
"name": "feature-id",
|
|
1676
|
+
"default": "-",
|
|
1677
|
+
"hasDynamicHelp": false,
|
|
1678
|
+
"multiple": false,
|
|
1679
|
+
"type": "option"
|
|
1680
|
+
},
|
|
1681
|
+
"attribute": {
|
|
1563
1682
|
"char": "a",
|
|
1564
|
-
"description": "
|
|
1565
|
-
"name": "
|
|
1683
|
+
"description": "Attribute key to add or edit",
|
|
1684
|
+
"name": "attribute",
|
|
1685
|
+
"required": true,
|
|
1686
|
+
"hasDynamicHelp": false,
|
|
1687
|
+
"multiple": false,
|
|
1688
|
+
"type": "option"
|
|
1689
|
+
},
|
|
1690
|
+
"value": {
|
|
1691
|
+
"char": "v",
|
|
1692
|
+
"description": "New attribute value. Separated mutliple values by space to them as a list. If unset return current value",
|
|
1693
|
+
"name": "value",
|
|
1566
1694
|
"hasDynamicHelp": false,
|
|
1567
1695
|
"multiple": true,
|
|
1568
1696
|
"type": "option"
|
|
1569
1697
|
},
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1572
|
-
"
|
|
1698
|
+
"delete": {
|
|
1699
|
+
"char": "d",
|
|
1700
|
+
"description": "Delete this attribute",
|
|
1701
|
+
"name": "delete",
|
|
1573
1702
|
"allowNo": false,
|
|
1574
1703
|
"type": "boolean"
|
|
1575
1704
|
}
|
|
1576
1705
|
},
|
|
1577
1706
|
"hasDynamicHelp": false,
|
|
1578
1707
|
"hiddenAliases": [],
|
|
1579
|
-
"id": "feature:
|
|
1708
|
+
"id": "feature:edit-attribute",
|
|
1580
1709
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1581
1710
|
"pluginName": "@apollo-annotation/cli",
|
|
1582
1711
|
"pluginType": "core",
|
|
1583
1712
|
"strict": true,
|
|
1584
|
-
"summary": "
|
|
1713
|
+
"summary": "Add, edit, or view a feature attribute",
|
|
1585
1714
|
"enableJsonFlag": false,
|
|
1586
1715
|
"isESM": true,
|
|
1587
1716
|
"relativePath": [
|
|
1588
1717
|
"dist",
|
|
1589
1718
|
"commands",
|
|
1590
1719
|
"feature",
|
|
1591
|
-
"
|
|
1720
|
+
"edit-attribute.js"
|
|
1592
1721
|
]
|
|
1593
1722
|
},
|
|
1594
|
-
"feature:
|
|
1723
|
+
"feature:edit-coords": {
|
|
1595
1724
|
"aliases": [],
|
|
1596
1725
|
"args": {},
|
|
1597
|
-
"description": "
|
|
1726
|
+
"description": "If editing a child feature that new coordinates must be within the parent's coordinates.To get the identifier of the feature to edit consider using `apollo feature get` or `apollo feature search`",
|
|
1598
1727
|
"examples": [
|
|
1599
1728
|
{
|
|
1600
|
-
"description": "
|
|
1601
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
1729
|
+
"description": "Edit start and end:",
|
|
1730
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...xyz -s 10 -e 1000"
|
|
1602
1731
|
},
|
|
1603
1732
|
{
|
|
1604
|
-
"description": "
|
|
1605
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
1733
|
+
"description": "Edit end and leave start as it is:",
|
|
1734
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...xyz -e 2000"
|
|
1606
1735
|
}
|
|
1607
1736
|
],
|
|
1608
1737
|
"flags": {
|
|
@@ -1620,34 +1749,34 @@
|
|
|
1620
1749
|
"multiple": false,
|
|
1621
1750
|
"type": "option"
|
|
1622
1751
|
},
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1626
|
-
"
|
|
1752
|
+
"timeout": {
|
|
1753
|
+
"description": "Timeout for each request to the server",
|
|
1754
|
+
"name": "timeout",
|
|
1755
|
+
"default": "1h",
|
|
1627
1756
|
"hasDynamicHelp": false,
|
|
1628
1757
|
"multiple": false,
|
|
1629
1758
|
"type": "option"
|
|
1630
1759
|
},
|
|
1631
|
-
"
|
|
1632
|
-
"char": "
|
|
1633
|
-
"description": "
|
|
1634
|
-
"name": "
|
|
1760
|
+
"feature-id": {
|
|
1761
|
+
"char": "i",
|
|
1762
|
+
"description": "Feature ID to edit or \"-\" to read it from stdin",
|
|
1763
|
+
"name": "feature-id",
|
|
1764
|
+
"default": "-",
|
|
1635
1765
|
"hasDynamicHelp": false,
|
|
1636
1766
|
"multiple": false,
|
|
1637
1767
|
"type": "option"
|
|
1638
1768
|
},
|
|
1639
1769
|
"start": {
|
|
1640
1770
|
"char": "s",
|
|
1641
|
-
"description": "
|
|
1771
|
+
"description": "New start coordinate (1-based)",
|
|
1642
1772
|
"name": "start",
|
|
1643
|
-
"default": 1,
|
|
1644
1773
|
"hasDynamicHelp": false,
|
|
1645
1774
|
"multiple": false,
|
|
1646
1775
|
"type": "option"
|
|
1647
1776
|
},
|
|
1648
1777
|
"end": {
|
|
1649
1778
|
"char": "e",
|
|
1650
|
-
"description": "
|
|
1779
|
+
"description": "New end coordinate (1-based)",
|
|
1651
1780
|
"name": "end",
|
|
1652
1781
|
"hasDynamicHelp": false,
|
|
1653
1782
|
"multiple": false,
|
|
@@ -1656,34 +1785,91 @@
|
|
|
1656
1785
|
},
|
|
1657
1786
|
"hasDynamicHelp": false,
|
|
1658
1787
|
"hiddenAliases": [],
|
|
1659
|
-
"id": "feature:
|
|
1788
|
+
"id": "feature:edit-coords",
|
|
1660
1789
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1661
1790
|
"pluginName": "@apollo-annotation/cli",
|
|
1662
1791
|
"pluginType": "core",
|
|
1663
1792
|
"strict": true,
|
|
1793
|
+
"summary": "Edit feature start and/or end coordinates",
|
|
1664
1794
|
"enableJsonFlag": false,
|
|
1665
1795
|
"isESM": true,
|
|
1666
1796
|
"relativePath": [
|
|
1667
1797
|
"dist",
|
|
1668
1798
|
"commands",
|
|
1669
1799
|
"feature",
|
|
1670
|
-
"
|
|
1800
|
+
"edit-coords.js"
|
|
1671
1801
|
]
|
|
1672
1802
|
},
|
|
1673
|
-
"feature:
|
|
1803
|
+
"feature:edit-type": {
|
|
1674
1804
|
"aliases": [],
|
|
1675
|
-
"args": {
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
"
|
|
1805
|
+
"args": {},
|
|
1806
|
+
"description": "Feature type is column 3 in gff format.It must be a valid sequence ontology term although but the valifdity of the new term is not checked.",
|
|
1807
|
+
"flags": {
|
|
1808
|
+
"profile": {
|
|
1809
|
+
"description": "Use credentials from this profile",
|
|
1810
|
+
"name": "profile",
|
|
1811
|
+
"hasDynamicHelp": false,
|
|
1812
|
+
"multiple": false,
|
|
1813
|
+
"type": "option"
|
|
1814
|
+
},
|
|
1815
|
+
"config-file": {
|
|
1816
|
+
"description": "Use this config file (mostly for testing)",
|
|
1817
|
+
"name": "config-file",
|
|
1818
|
+
"hasDynamicHelp": false,
|
|
1819
|
+
"multiple": false,
|
|
1820
|
+
"type": "option"
|
|
1821
|
+
},
|
|
1822
|
+
"timeout": {
|
|
1823
|
+
"description": "Timeout for each request to the server",
|
|
1824
|
+
"name": "timeout",
|
|
1825
|
+
"default": "1h",
|
|
1826
|
+
"hasDynamicHelp": false,
|
|
1827
|
+
"multiple": false,
|
|
1828
|
+
"type": "option"
|
|
1829
|
+
},
|
|
1830
|
+
"feature-id": {
|
|
1831
|
+
"char": "i",
|
|
1832
|
+
"description": "Feature ID to edit or \"-\" to read it from stdin",
|
|
1833
|
+
"name": "feature-id",
|
|
1834
|
+
"default": "-",
|
|
1835
|
+
"hasDynamicHelp": false,
|
|
1836
|
+
"multiple": false,
|
|
1837
|
+
"type": "option"
|
|
1838
|
+
},
|
|
1839
|
+
"type": {
|
|
1840
|
+
"char": "t",
|
|
1841
|
+
"description": "Assign feature to this type. If unset return the current type",
|
|
1842
|
+
"name": "type",
|
|
1843
|
+
"hasDynamicHelp": false,
|
|
1844
|
+
"multiple": false,
|
|
1845
|
+
"type": "option"
|
|
1680
1846
|
}
|
|
1681
1847
|
},
|
|
1682
|
-
"
|
|
1848
|
+
"hasDynamicHelp": false,
|
|
1849
|
+
"hiddenAliases": [],
|
|
1850
|
+
"id": "feature:edit-type",
|
|
1851
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1852
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1853
|
+
"pluginType": "core",
|
|
1854
|
+
"strict": true,
|
|
1855
|
+
"summary": "Edit or view feature type",
|
|
1856
|
+
"enableJsonFlag": false,
|
|
1857
|
+
"isESM": true,
|
|
1858
|
+
"relativePath": [
|
|
1859
|
+
"dist",
|
|
1860
|
+
"commands",
|
|
1861
|
+
"feature",
|
|
1862
|
+
"edit-type.js"
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
|
+
"feature:edit": {
|
|
1866
|
+
"aliases": [],
|
|
1867
|
+
"args": {},
|
|
1868
|
+
"description": "Edit a feature by submitting a json input with all the required attributes for Apollo to process it. This is a very low level command which most users probably do not need.\n\n Input may be a json string or a json file and it may be an array of changes. This is an example input for editing feature type:\n\n {\n \"typeName\": \"TypeChange\",\n \"changedIds\": [\n \"6613f7d22c957525d631b1cc\"\n ],\n \"assembly\": \"6613f7d1360321540a11e5ed\",\n \"featureId\": \"6613f7d22c957525d631b1cc\",\n \"oldType\": \"BAC\",\n \"newType\": \"G_quartet\"\n }",
|
|
1683
1869
|
"examples": [
|
|
1684
1870
|
{
|
|
1685
|
-
"description": "
|
|
1686
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1871
|
+
"description": "Editing by passing a json to stdin:",
|
|
1872
|
+
"command": "echo '{\"typeName\": ... \"newType\": \"G_quartet\"}' | <%= config.bin %> <%= command.id %> -j -"
|
|
1687
1873
|
}
|
|
1688
1874
|
],
|
|
1689
1875
|
"flags": {
|
|
@@ -1701,53 +1887,49 @@
|
|
|
1701
1887
|
"multiple": false,
|
|
1702
1888
|
"type": "option"
|
|
1703
1889
|
},
|
|
1704
|
-
"
|
|
1705
|
-
"
|
|
1706
|
-
"
|
|
1707
|
-
"
|
|
1708
|
-
"required": true,
|
|
1890
|
+
"timeout": {
|
|
1891
|
+
"description": "Timeout for each request to the server",
|
|
1892
|
+
"name": "timeout",
|
|
1893
|
+
"default": "1h",
|
|
1709
1894
|
"hasDynamicHelp": false,
|
|
1710
1895
|
"multiple": false,
|
|
1711
1896
|
"type": "option"
|
|
1712
1897
|
},
|
|
1713
|
-
"
|
|
1714
|
-
"char": "
|
|
1715
|
-
"description": "
|
|
1716
|
-
"name": "
|
|
1717
|
-
"
|
|
1718
|
-
"
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
"description": "If any lines in the GFF3 can't be processed, skip them instead of aborting the import",
|
|
1722
|
-
"name": "no-strict",
|
|
1723
|
-
"allowNo": false,
|
|
1724
|
-
"type": "boolean"
|
|
1898
|
+
"json-input": {
|
|
1899
|
+
"char": "j",
|
|
1900
|
+
"description": "Json string or json file or \"-\" to read json from stdin",
|
|
1901
|
+
"name": "json-input",
|
|
1902
|
+
"default": "-",
|
|
1903
|
+
"hasDynamicHelp": false,
|
|
1904
|
+
"multiple": false,
|
|
1905
|
+
"type": "option"
|
|
1725
1906
|
}
|
|
1726
1907
|
},
|
|
1727
1908
|
"hasDynamicHelp": false,
|
|
1728
1909
|
"hiddenAliases": [],
|
|
1729
|
-
"id": "feature:
|
|
1910
|
+
"id": "feature:edit",
|
|
1730
1911
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1731
1912
|
"pluginName": "@apollo-annotation/cli",
|
|
1732
1913
|
"pluginType": "core",
|
|
1733
1914
|
"strict": true,
|
|
1734
|
-
"summary": "
|
|
1915
|
+
"summary": "Edit features using an appropiate json input",
|
|
1916
|
+
"enableJsonFlag": false,
|
|
1735
1917
|
"isESM": true,
|
|
1736
1918
|
"relativePath": [
|
|
1737
1919
|
"dist",
|
|
1738
1920
|
"commands",
|
|
1739
1921
|
"feature",
|
|
1740
|
-
"
|
|
1922
|
+
"edit.js"
|
|
1741
1923
|
]
|
|
1742
1924
|
},
|
|
1743
|
-
"feature:
|
|
1925
|
+
"feature:get-id": {
|
|
1744
1926
|
"aliases": [],
|
|
1745
1927
|
"args": {},
|
|
1746
|
-
"description": "
|
|
1928
|
+
"description": "Invalid identifiers or identifiers not found in the database will be silently ignored",
|
|
1747
1929
|
"examples": [
|
|
1748
1930
|
{
|
|
1749
|
-
"description": "
|
|
1750
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
1931
|
+
"description": "Get features for these identifiers:",
|
|
1932
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...zyz def...foo"
|
|
1751
1933
|
}
|
|
1752
1934
|
],
|
|
1753
1935
|
"flags": {
|
|
@@ -1765,19 +1947,21 @@
|
|
|
1765
1947
|
"multiple": false,
|
|
1766
1948
|
"type": "option"
|
|
1767
1949
|
},
|
|
1768
|
-
"
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1772
|
-
"required": true,
|
|
1950
|
+
"timeout": {
|
|
1951
|
+
"description": "Timeout for each request to the server",
|
|
1952
|
+
"name": "timeout",
|
|
1953
|
+
"default": "1h",
|
|
1773
1954
|
"hasDynamicHelp": false,
|
|
1774
1955
|
"multiple": false,
|
|
1775
1956
|
"type": "option"
|
|
1776
1957
|
},
|
|
1777
|
-
"
|
|
1778
|
-
"char": "
|
|
1779
|
-
"description": "
|
|
1780
|
-
"name": "
|
|
1958
|
+
"feature-id": {
|
|
1959
|
+
"char": "i",
|
|
1960
|
+
"description": "Retrieves feature with these IDs. Use \"-\" to read IDs from stdin (one per line)",
|
|
1961
|
+
"name": "feature-id",
|
|
1962
|
+
"default": [
|
|
1963
|
+
"-"
|
|
1964
|
+
],
|
|
1781
1965
|
"hasDynamicHelp": false,
|
|
1782
1966
|
"multiple": true,
|
|
1783
1967
|
"type": "option"
|
|
@@ -1785,29 +1969,35 @@
|
|
|
1785
1969
|
},
|
|
1786
1970
|
"hasDynamicHelp": false,
|
|
1787
1971
|
"hiddenAliases": [],
|
|
1788
|
-
"id": "feature:
|
|
1972
|
+
"id": "feature:get-id",
|
|
1789
1973
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1790
1974
|
"pluginName": "@apollo-annotation/cli",
|
|
1791
1975
|
"pluginType": "core",
|
|
1792
1976
|
"strict": true,
|
|
1793
|
-
"summary": "
|
|
1977
|
+
"summary": "Get features given their identifiers",
|
|
1794
1978
|
"enableJsonFlag": false,
|
|
1795
1979
|
"isESM": true,
|
|
1796
1980
|
"relativePath": [
|
|
1797
1981
|
"dist",
|
|
1798
1982
|
"commands",
|
|
1799
1983
|
"feature",
|
|
1800
|
-
"
|
|
1984
|
+
"get-id.js"
|
|
1801
1985
|
]
|
|
1802
1986
|
},
|
|
1803
|
-
"
|
|
1987
|
+
"feature:get-indexed-id": {
|
|
1804
1988
|
"aliases": [],
|
|
1805
|
-
"args": {
|
|
1806
|
-
|
|
1989
|
+
"args": {
|
|
1990
|
+
"id": {
|
|
1991
|
+
"description": "Indexed identifier to search for",
|
|
1992
|
+
"name": "id",
|
|
1993
|
+
"required": true
|
|
1994
|
+
}
|
|
1995
|
+
},
|
|
1996
|
+
"description": "Get features that match a given indexed identifier, such as the ID of a feature from an imported GFF3 file",
|
|
1807
1997
|
"examples": [
|
|
1808
1998
|
{
|
|
1809
|
-
"description": "
|
|
1810
|
-
"command": "<%= config.bin %> <%= command.id %> -i
|
|
1999
|
+
"description": "Get features for this indexed identifier:",
|
|
2000
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...zyz def...foo"
|
|
1811
2001
|
}
|
|
1812
2002
|
],
|
|
1813
2003
|
"flags": {
|
|
@@ -1825,43 +2015,58 @@
|
|
|
1825
2015
|
"multiple": false,
|
|
1826
2016
|
"type": "option"
|
|
1827
2017
|
},
|
|
1828
|
-
"
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1833
|
-
|
|
1834
|
-
|
|
2018
|
+
"timeout": {
|
|
2019
|
+
"description": "Timeout for each request to the server",
|
|
2020
|
+
"name": "timeout",
|
|
2021
|
+
"default": "1h",
|
|
2022
|
+
"hasDynamicHelp": false,
|
|
2023
|
+
"multiple": false,
|
|
2024
|
+
"type": "option"
|
|
2025
|
+
},
|
|
2026
|
+
"assembly": {
|
|
2027
|
+
"char": "a",
|
|
2028
|
+
"description": "Assembly names or IDs to search; use \"-\" to read it from stdin. If omitted search all assemblies",
|
|
2029
|
+
"name": "assembly",
|
|
1835
2030
|
"hasDynamicHelp": false,
|
|
1836
2031
|
"multiple": true,
|
|
1837
2032
|
"type": "option"
|
|
2033
|
+
},
|
|
2034
|
+
"topLevel": {
|
|
2035
|
+
"description": "Return the top-level parent of the feature instead of the feature itself",
|
|
2036
|
+
"name": "topLevel",
|
|
2037
|
+
"allowNo": false,
|
|
2038
|
+
"type": "boolean"
|
|
1838
2039
|
}
|
|
1839
2040
|
},
|
|
1840
2041
|
"hasDynamicHelp": false,
|
|
1841
2042
|
"hiddenAliases": [],
|
|
1842
|
-
"id": "
|
|
2043
|
+
"id": "feature:get-indexed-id",
|
|
1843
2044
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1844
2045
|
"pluginName": "@apollo-annotation/cli",
|
|
1845
2046
|
"pluginType": "core",
|
|
1846
2047
|
"strict": true,
|
|
1847
|
-
"summary": "
|
|
2048
|
+
"summary": "Get features given an indexed identifier",
|
|
1848
2049
|
"enableJsonFlag": false,
|
|
1849
2050
|
"isESM": true,
|
|
1850
2051
|
"relativePath": [
|
|
1851
2052
|
"dist",
|
|
1852
2053
|
"commands",
|
|
1853
|
-
"
|
|
1854
|
-
"
|
|
2054
|
+
"feature",
|
|
2055
|
+
"get-indexed-id.js"
|
|
1855
2056
|
]
|
|
1856
2057
|
},
|
|
1857
|
-
"
|
|
2058
|
+
"feature:get": {
|
|
1858
2059
|
"aliases": [],
|
|
1859
2060
|
"args": {},
|
|
1860
|
-
"description": "
|
|
2061
|
+
"description": "Get features in assembly, reference sequence or genomic window",
|
|
1861
2062
|
"examples": [
|
|
1862
2063
|
{
|
|
1863
|
-
"description": "
|
|
1864
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
2064
|
+
"description": "Get all features in myAssembly:",
|
|
2065
|
+
"command": "<%= config.bin %> <%= command.id %> -a myAssembly"
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
"description": "Get features intersecting chr1:1..1000. You can omit the assembly name if there are no other reference sequences named chr1:",
|
|
2069
|
+
"command": "<%= config.bin %> <%= command.id %> -a myAssembly -r chr1 -s 1 -e 1000"
|
|
1865
2070
|
}
|
|
1866
2071
|
],
|
|
1867
2072
|
"flags": {
|
|
@@ -1879,19 +2084,43 @@
|
|
|
1879
2084
|
"multiple": false,
|
|
1880
2085
|
"type": "option"
|
|
1881
2086
|
},
|
|
1882
|
-
"
|
|
1883
|
-
"
|
|
1884
|
-
"
|
|
1885
|
-
"
|
|
1886
|
-
"default": "-",
|
|
2087
|
+
"timeout": {
|
|
2088
|
+
"description": "Timeout for each request to the server",
|
|
2089
|
+
"name": "timeout",
|
|
2090
|
+
"default": "1h",
|
|
1887
2091
|
"hasDynamicHelp": false,
|
|
1888
2092
|
"multiple": false,
|
|
1889
2093
|
"type": "option"
|
|
1890
2094
|
},
|
|
1891
|
-
"
|
|
1892
|
-
"char": "
|
|
1893
|
-
"description": "
|
|
1894
|
-
"name": "
|
|
2095
|
+
"assembly": {
|
|
2096
|
+
"char": "a",
|
|
2097
|
+
"description": "Find input reference sequence in this assembly",
|
|
2098
|
+
"name": "assembly",
|
|
2099
|
+
"hasDynamicHelp": false,
|
|
2100
|
+
"multiple": false,
|
|
2101
|
+
"type": "option"
|
|
2102
|
+
},
|
|
2103
|
+
"refseq": {
|
|
2104
|
+
"char": "r",
|
|
2105
|
+
"description": "Reference sequence. If unset, query all sequences",
|
|
2106
|
+
"name": "refseq",
|
|
2107
|
+
"hasDynamicHelp": false,
|
|
2108
|
+
"multiple": false,
|
|
2109
|
+
"type": "option"
|
|
2110
|
+
},
|
|
2111
|
+
"start": {
|
|
2112
|
+
"char": "s",
|
|
2113
|
+
"description": "Start coordinate (1-based)",
|
|
2114
|
+
"name": "start",
|
|
2115
|
+
"default": 1,
|
|
2116
|
+
"hasDynamicHelp": false,
|
|
2117
|
+
"multiple": false,
|
|
2118
|
+
"type": "option"
|
|
2119
|
+
},
|
|
2120
|
+
"end": {
|
|
2121
|
+
"char": "e",
|
|
2122
|
+
"description": "End coordinate",
|
|
2123
|
+
"name": "end",
|
|
1895
2124
|
"hasDynamicHelp": false,
|
|
1896
2125
|
"multiple": false,
|
|
1897
2126
|
"type": "option"
|
|
@@ -1899,29 +2128,34 @@
|
|
|
1899
2128
|
},
|
|
1900
2129
|
"hasDynamicHelp": false,
|
|
1901
2130
|
"hiddenAliases": [],
|
|
1902
|
-
"id": "
|
|
2131
|
+
"id": "feature:get",
|
|
1903
2132
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1904
2133
|
"pluginName": "@apollo-annotation/cli",
|
|
1905
2134
|
"pluginType": "core",
|
|
1906
2135
|
"strict": true,
|
|
1907
|
-
"summary": "Download a file from the Apollo server",
|
|
1908
2136
|
"enableJsonFlag": false,
|
|
1909
2137
|
"isESM": true,
|
|
1910
2138
|
"relativePath": [
|
|
1911
2139
|
"dist",
|
|
1912
2140
|
"commands",
|
|
1913
|
-
"
|
|
1914
|
-
"
|
|
2141
|
+
"feature",
|
|
2142
|
+
"get.js"
|
|
1915
2143
|
]
|
|
1916
2144
|
},
|
|
1917
|
-
"
|
|
2145
|
+
"feature:import": {
|
|
1918
2146
|
"aliases": [],
|
|
1919
|
-
"args": {
|
|
1920
|
-
|
|
2147
|
+
"args": {
|
|
2148
|
+
"input-file": {
|
|
2149
|
+
"description": "Input gff file",
|
|
2150
|
+
"name": "input-file",
|
|
2151
|
+
"required": true
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"description": "By default, features are added to the existing ones.",
|
|
1921
2155
|
"examples": [
|
|
1922
2156
|
{
|
|
1923
|
-
"description": "
|
|
1924
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
2157
|
+
"description": "Delete features in myAssembly and then import features.gff3:",
|
|
2158
|
+
"command": "<%= config.bin %> <%= command.id %> features.gff3 -d -a myAssembly"
|
|
1925
2159
|
}
|
|
1926
2160
|
],
|
|
1927
2161
|
"flags": {
|
|
@@ -1939,46 +2173,61 @@
|
|
|
1939
2173
|
"multiple": false,
|
|
1940
2174
|
"type": "option"
|
|
1941
2175
|
},
|
|
1942
|
-
"
|
|
1943
|
-
"
|
|
1944
|
-
"
|
|
1945
|
-
"
|
|
2176
|
+
"timeout": {
|
|
2177
|
+
"description": "Timeout for each request to the server",
|
|
2178
|
+
"name": "timeout",
|
|
2179
|
+
"default": "1h",
|
|
1946
2180
|
"hasDynamicHelp": false,
|
|
1947
|
-
"multiple":
|
|
2181
|
+
"multiple": false,
|
|
2182
|
+
"type": "option"
|
|
2183
|
+
},
|
|
2184
|
+
"assembly": {
|
|
2185
|
+
"char": "a",
|
|
2186
|
+
"description": "Import into this assembly name or assembly ID",
|
|
2187
|
+
"name": "assembly",
|
|
2188
|
+
"required": true,
|
|
2189
|
+
"hasDynamicHelp": false,
|
|
2190
|
+
"multiple": false,
|
|
1948
2191
|
"type": "option"
|
|
2192
|
+
},
|
|
2193
|
+
"delete-existing": {
|
|
2194
|
+
"char": "d",
|
|
2195
|
+
"description": "Delete existing features before importing",
|
|
2196
|
+
"name": "delete-existing",
|
|
2197
|
+
"allowNo": false,
|
|
2198
|
+
"type": "boolean"
|
|
2199
|
+
},
|
|
2200
|
+
"no-strict": {
|
|
2201
|
+
"description": "If any lines in the GFF3 can't be processed, skip them instead of aborting the import",
|
|
2202
|
+
"name": "no-strict",
|
|
2203
|
+
"allowNo": false,
|
|
2204
|
+
"type": "boolean"
|
|
1949
2205
|
}
|
|
1950
2206
|
},
|
|
1951
2207
|
"hasDynamicHelp": false,
|
|
1952
2208
|
"hiddenAliases": [],
|
|
1953
|
-
"id": "
|
|
2209
|
+
"id": "feature:import",
|
|
1954
2210
|
"pluginAlias": "@apollo-annotation/cli",
|
|
1955
2211
|
"pluginName": "@apollo-annotation/cli",
|
|
1956
2212
|
"pluginType": "core",
|
|
1957
2213
|
"strict": true,
|
|
1958
|
-
"summary": "
|
|
1959
|
-
"enableJsonFlag": false,
|
|
2214
|
+
"summary": "Import features from local gff file",
|
|
1960
2215
|
"isESM": true,
|
|
1961
2216
|
"relativePath": [
|
|
1962
2217
|
"dist",
|
|
1963
2218
|
"commands",
|
|
1964
|
-
"
|
|
1965
|
-
"
|
|
2219
|
+
"feature",
|
|
2220
|
+
"import.js"
|
|
1966
2221
|
]
|
|
1967
2222
|
},
|
|
1968
|
-
"
|
|
2223
|
+
"feature:search": {
|
|
1969
2224
|
"aliases": [],
|
|
1970
|
-
"args": {
|
|
1971
|
-
|
|
1972
|
-
"description": "Local file to upload",
|
|
1973
|
-
"name": "input-file",
|
|
1974
|
-
"required": true
|
|
1975
|
-
}
|
|
1976
|
-
},
|
|
1977
|
-
"description": "This command only uploads a file and returns the corresponding file id.\n To add an assembly based on this file or to upload & add an assembly in a single pass see `apollo assembly add-from-fasta` and `add-from-gff`",
|
|
2225
|
+
"args": {},
|
|
2226
|
+
"description": "Return features matching a query string. This command searches only in:\n\n - Attribute *values* (not attribute names)\n - Source field (which in fact is stored as an attribute)\n - Feature type\n\n The search mode is:\n\n - Case insensitive\n - Match only full words, but not necessarily the full value\n - Common words are ignored. E.g. \"the\", \"with\"\n\n For example, given this feature:\n\n chr1 example SNP 10 30 0.987 . . \"someKey=Fingerprint BAC with reads\"\n\n Queries \"bac\" or \"mRNA\" return the feature. Instead these queries will NOT match:\n\n - \"someKey\"\n - \"with\"\n - \"Finger\"\n - \"chr1\"\n - \"0.987\"",
|
|
1978
2227
|
"examples": [
|
|
1979
2228
|
{
|
|
1980
|
-
"description": "
|
|
1981
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
2229
|
+
"description": "Search \"bac\" in these assemblies:",
|
|
2230
|
+
"command": "<%= config.bin %> <%= command.id %> -a mm9 mm10 -t bac"
|
|
1982
2231
|
}
|
|
1983
2232
|
],
|
|
1984
2233
|
"flags": {
|
|
@@ -1996,56 +2245,47 @@
|
|
|
1996
2245
|
"multiple": false,
|
|
1997
2246
|
"type": "option"
|
|
1998
2247
|
},
|
|
1999
|
-
"
|
|
2000
|
-
"
|
|
2001
|
-
"
|
|
2002
|
-
"
|
|
2248
|
+
"timeout": {
|
|
2249
|
+
"description": "Timeout for each request to the server",
|
|
2250
|
+
"name": "timeout",
|
|
2251
|
+
"default": "1h",
|
|
2003
2252
|
"hasDynamicHelp": false,
|
|
2004
2253
|
"multiple": false,
|
|
2005
|
-
"options": [
|
|
2006
|
-
"text/x-fasta",
|
|
2007
|
-
"text/x-gff3",
|
|
2008
|
-
"application/x-bgzip-fasta",
|
|
2009
|
-
"text/x-fai",
|
|
2010
|
-
"application/x-gzi"
|
|
2011
|
-
],
|
|
2012
2254
|
"type": "option"
|
|
2013
2255
|
},
|
|
2014
|
-
"
|
|
2015
|
-
"char": "
|
|
2016
|
-
"description": "
|
|
2017
|
-
"
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2022
|
-
"type": "boolean"
|
|
2256
|
+
"text": {
|
|
2257
|
+
"char": "t",
|
|
2258
|
+
"description": "Search for this text query",
|
|
2259
|
+
"name": "text",
|
|
2260
|
+
"required": true,
|
|
2261
|
+
"hasDynamicHelp": false,
|
|
2262
|
+
"multiple": false,
|
|
2263
|
+
"type": "option"
|
|
2023
2264
|
},
|
|
2024
|
-
"
|
|
2025
|
-
"char": "
|
|
2026
|
-
"description": "
|
|
2027
|
-
"
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
"
|
|
2031
|
-
"allowNo": false,
|
|
2032
|
-
"type": "boolean"
|
|
2265
|
+
"assembly": {
|
|
2266
|
+
"char": "a",
|
|
2267
|
+
"description": "Assembly names or IDs to search; use \"-\" to read it from stdin. If omitted search all assemblies",
|
|
2268
|
+
"name": "assembly",
|
|
2269
|
+
"hasDynamicHelp": false,
|
|
2270
|
+
"multiple": true,
|
|
2271
|
+
"type": "option"
|
|
2033
2272
|
}
|
|
2034
2273
|
},
|
|
2035
2274
|
"hasDynamicHelp": false,
|
|
2036
2275
|
"hiddenAliases": [],
|
|
2037
|
-
"id": "
|
|
2276
|
+
"id": "feature:search",
|
|
2038
2277
|
"pluginAlias": "@apollo-annotation/cli",
|
|
2039
2278
|
"pluginName": "@apollo-annotation/cli",
|
|
2040
2279
|
"pluginType": "core",
|
|
2041
2280
|
"strict": true,
|
|
2042
|
-
"summary": "
|
|
2281
|
+
"summary": "Free text search for feature in one or more assemblies",
|
|
2282
|
+
"enableJsonFlag": false,
|
|
2043
2283
|
"isESM": true,
|
|
2044
2284
|
"relativePath": [
|
|
2045
2285
|
"dist",
|
|
2046
2286
|
"commands",
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2287
|
+
"feature",
|
|
2288
|
+
"search.js"
|
|
2049
2289
|
]
|
|
2050
2290
|
},
|
|
2051
2291
|
"jbrowse:desktop": {
|
|
@@ -2091,6 +2331,14 @@
|
|
|
2091
2331
|
"multiple": false,
|
|
2092
2332
|
"type": "option"
|
|
2093
2333
|
},
|
|
2334
|
+
"timeout": {
|
|
2335
|
+
"description": "Timeout for each request to the server",
|
|
2336
|
+
"name": "timeout",
|
|
2337
|
+
"default": "1h",
|
|
2338
|
+
"hasDynamicHelp": false,
|
|
2339
|
+
"multiple": false,
|
|
2340
|
+
"type": "option"
|
|
2341
|
+
},
|
|
2094
2342
|
"open": {
|
|
2095
2343
|
"char": "o",
|
|
2096
2344
|
"description": "open generated file",
|
|
@@ -2162,6 +2410,14 @@
|
|
|
2162
2410
|
"hasDynamicHelp": false,
|
|
2163
2411
|
"multiple": false,
|
|
2164
2412
|
"type": "option"
|
|
2413
|
+
},
|
|
2414
|
+
"timeout": {
|
|
2415
|
+
"description": "Timeout for each request to the server",
|
|
2416
|
+
"name": "timeout",
|
|
2417
|
+
"default": "1h",
|
|
2418
|
+
"hasDynamicHelp": false,
|
|
2419
|
+
"multiple": false,
|
|
2420
|
+
"type": "option"
|
|
2165
2421
|
}
|
|
2166
2422
|
},
|
|
2167
2423
|
"hasDynamicHelp": false,
|
|
@@ -2211,6 +2467,14 @@
|
|
|
2211
2467
|
"hasDynamicHelp": false,
|
|
2212
2468
|
"multiple": false,
|
|
2213
2469
|
"type": "option"
|
|
2470
|
+
},
|
|
2471
|
+
"timeout": {
|
|
2472
|
+
"description": "Timeout for each request to the server",
|
|
2473
|
+
"name": "timeout",
|
|
2474
|
+
"default": "1h",
|
|
2475
|
+
"hasDynamicHelp": false,
|
|
2476
|
+
"multiple": false,
|
|
2477
|
+
"type": "option"
|
|
2214
2478
|
}
|
|
2215
2479
|
},
|
|
2216
2480
|
"hasDynamicHelp": false,
|
|
@@ -2261,6 +2525,14 @@
|
|
|
2261
2525
|
"multiple": false,
|
|
2262
2526
|
"type": "option"
|
|
2263
2527
|
},
|
|
2528
|
+
"timeout": {
|
|
2529
|
+
"description": "Timeout for each request to the server",
|
|
2530
|
+
"name": "timeout",
|
|
2531
|
+
"default": "1h",
|
|
2532
|
+
"hasDynamicHelp": false,
|
|
2533
|
+
"multiple": false,
|
|
2534
|
+
"type": "option"
|
|
2535
|
+
},
|
|
2264
2536
|
"assembly": {
|
|
2265
2537
|
"char": "a",
|
|
2266
2538
|
"description": "Name for this assembly.",
|
|
@@ -2317,6 +2589,14 @@
|
|
|
2317
2589
|
"multiple": false,
|
|
2318
2590
|
"type": "option"
|
|
2319
2591
|
},
|
|
2592
|
+
"timeout": {
|
|
2593
|
+
"description": "Timeout for each request to the server",
|
|
2594
|
+
"name": "timeout",
|
|
2595
|
+
"default": "1h",
|
|
2596
|
+
"hasDynamicHelp": false,
|
|
2597
|
+
"multiple": false,
|
|
2598
|
+
"type": "option"
|
|
2599
|
+
},
|
|
2320
2600
|
"assembly": {
|
|
2321
2601
|
"char": "a",
|
|
2322
2602
|
"description": "Get reference sequences for these assembly names or IDs; use - to read it from stdin",
|
|
@@ -2376,6 +2656,14 @@
|
|
|
2376
2656
|
"multiple": false,
|
|
2377
2657
|
"type": "option"
|
|
2378
2658
|
},
|
|
2659
|
+
"timeout": {
|
|
2660
|
+
"description": "Timeout for each request to the server",
|
|
2661
|
+
"name": "timeout",
|
|
2662
|
+
"default": "1h",
|
|
2663
|
+
"hasDynamicHelp": false,
|
|
2664
|
+
"multiple": false,
|
|
2665
|
+
"type": "option"
|
|
2666
|
+
},
|
|
2379
2667
|
"username": {
|
|
2380
2668
|
"char": "u",
|
|
2381
2669
|
"description": "Find this username",
|
|
@@ -2411,5 +2699,5 @@
|
|
|
2411
2699
|
]
|
|
2412
2700
|
}
|
|
2413
2701
|
},
|
|
2414
|
-
"version": "1.1.
|
|
2702
|
+
"version": "1.1.2"
|
|
2415
2703
|
}
|