@apollo-annotation/cli 0.1.20 → 0.1.21
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 +62 -57
- package/dist/commands/assembly/add-from-fasta.d.ts +1 -2
- package/dist/commands/assembly/add-from-fasta.js +39 -47
- package/dist/commands/assembly/add-from-gff.js +15 -13
- package/dist/commands/config.js +1 -2
- package/dist/commands/feature/import.d.ts +3 -1
- package/dist/commands/feature/import.js +10 -9
- package/dist/commands/file/upload.d.ts +3 -1
- package/dist/commands/file/upload.js +13 -12
- package/dist/commands/refseq/add-alias.d.ts +3 -1
- package/dist/commands/refseq/add-alias.js +10 -9
- package/dist/utils.d.ts +2 -27
- package/dist/utils.js +15 -9
- package/oclif.manifest.json +272 -289
- package/package.json +3 -3
package/oclif.manifest.json
CHANGED
|
@@ -240,12 +240,12 @@
|
|
|
240
240
|
"aliases": [],
|
|
241
241
|
"args": {
|
|
242
242
|
"input": {
|
|
243
|
-
"description": "Input fasta file, local or remote, or id of a previously uploaded file",
|
|
243
|
+
"description": "Input fasta file, local or remote, or id of a previously uploaded file. For local or remote files, it is assumed the file is bgzip'd with `bgzip` and indexed with `samtools faidx`. The indexes are assumed to be at <my.fasta.gz>.fai and <my.fasta.gz>.gzi unless the options --fai and --gzi are provided.",
|
|
244
244
|
"name": "input",
|
|
245
245
|
"required": true
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
|
-
"description": "Add new assembly. The input fasta may be:\n * A local file
|
|
248
|
+
"description": "Add new assembly. The input fasta may be:\n * A local file\n * An external fasta file\n * The id of a file previously uploaded to Apollo",
|
|
249
249
|
"examples": [
|
|
250
250
|
{
|
|
251
251
|
"description": "From local file:",
|
|
@@ -279,14 +279,6 @@
|
|
|
279
279
|
"multiple": false,
|
|
280
280
|
"type": "option"
|
|
281
281
|
},
|
|
282
|
-
"index": {
|
|
283
|
-
"char": "x",
|
|
284
|
-
"description": "URL of the index. Required if input is an external source",
|
|
285
|
-
"name": "index",
|
|
286
|
-
"hasDynamicHelp": false,
|
|
287
|
-
"multiple": false,
|
|
288
|
-
"type": "option"
|
|
289
|
-
},
|
|
290
282
|
"force": {
|
|
291
283
|
"char": "f",
|
|
292
284
|
"description": "Delete existing assembly, if it exists",
|
|
@@ -294,10 +286,10 @@
|
|
|
294
286
|
"allowNo": false,
|
|
295
287
|
"type": "boolean"
|
|
296
288
|
},
|
|
297
|
-
"
|
|
298
|
-
"char": "
|
|
299
|
-
"description": "
|
|
300
|
-
"name": "
|
|
289
|
+
"editable": {
|
|
290
|
+
"char": "e",
|
|
291
|
+
"description": "Instead of using indexed fasta lookup, the sequence is loaded into the Apollo database and is editable. Use with caution, as editing the sequence often has unintended side effects.",
|
|
292
|
+
"name": "editable",
|
|
301
293
|
"allowNo": false,
|
|
302
294
|
"type": "boolean"
|
|
303
295
|
},
|
|
@@ -365,7 +357,7 @@
|
|
|
365
357
|
"examples": [
|
|
366
358
|
{
|
|
367
359
|
"description": "Import sequences and features:",
|
|
368
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
360
|
+
"command": "<%= config.bin %> <%= command.id %> genome.gff -a myAssembly"
|
|
369
361
|
},
|
|
370
362
|
{
|
|
371
363
|
"description": "Import sequences only:",
|
|
@@ -733,257 +725,6 @@
|
|
|
733
725
|
"get.js"
|
|
734
726
|
]
|
|
735
727
|
},
|
|
736
|
-
"file:delete": {
|
|
737
|
-
"aliases": [],
|
|
738
|
-
"args": {},
|
|
739
|
-
"description": "Deleted files are printed to stdout. See also `apollo file get` to list the files on the server",
|
|
740
|
-
"examples": [
|
|
741
|
-
{
|
|
742
|
-
"description": "Delete file multiple files:",
|
|
743
|
-
"command": "<%= config.bin %> <%= command.id %> -i 123...abc xyz...789"
|
|
744
|
-
}
|
|
745
|
-
],
|
|
746
|
-
"flags": {
|
|
747
|
-
"profile": {
|
|
748
|
-
"description": "Use credentials from this profile",
|
|
749
|
-
"name": "profile",
|
|
750
|
-
"hasDynamicHelp": false,
|
|
751
|
-
"multiple": false,
|
|
752
|
-
"type": "option"
|
|
753
|
-
},
|
|
754
|
-
"config-file": {
|
|
755
|
-
"description": "Use this config file (mostly for testing)",
|
|
756
|
-
"name": "config-file",
|
|
757
|
-
"hasDynamicHelp": false,
|
|
758
|
-
"multiple": false,
|
|
759
|
-
"type": "option"
|
|
760
|
-
},
|
|
761
|
-
"file-id": {
|
|
762
|
-
"char": "i",
|
|
763
|
-
"description": "IDs of the files to delete",
|
|
764
|
-
"name": "file-id",
|
|
765
|
-
"default": [
|
|
766
|
-
"-"
|
|
767
|
-
],
|
|
768
|
-
"hasDynamicHelp": false,
|
|
769
|
-
"multiple": true,
|
|
770
|
-
"type": "option"
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
"hasDynamicHelp": false,
|
|
774
|
-
"hiddenAliases": [],
|
|
775
|
-
"id": "file:delete",
|
|
776
|
-
"pluginAlias": "@apollo-annotation/cli",
|
|
777
|
-
"pluginName": "@apollo-annotation/cli",
|
|
778
|
-
"pluginType": "core",
|
|
779
|
-
"strict": true,
|
|
780
|
-
"summary": "Delete files from the Apollo server",
|
|
781
|
-
"enableJsonFlag": false,
|
|
782
|
-
"isESM": true,
|
|
783
|
-
"relativePath": [
|
|
784
|
-
"dist",
|
|
785
|
-
"commands",
|
|
786
|
-
"file",
|
|
787
|
-
"delete.js"
|
|
788
|
-
]
|
|
789
|
-
},
|
|
790
|
-
"file:download": {
|
|
791
|
-
"aliases": [],
|
|
792
|
-
"args": {},
|
|
793
|
-
"description": "See also `apollo file get` to list the files on the server",
|
|
794
|
-
"examples": [
|
|
795
|
-
{
|
|
796
|
-
"description": "Download file with id xyz",
|
|
797
|
-
"command": "<%= config.bin %> <%= command.id %> -i xyz -o genome.fa"
|
|
798
|
-
}
|
|
799
|
-
],
|
|
800
|
-
"flags": {
|
|
801
|
-
"profile": {
|
|
802
|
-
"description": "Use credentials from this profile",
|
|
803
|
-
"name": "profile",
|
|
804
|
-
"hasDynamicHelp": false,
|
|
805
|
-
"multiple": false,
|
|
806
|
-
"type": "option"
|
|
807
|
-
},
|
|
808
|
-
"config-file": {
|
|
809
|
-
"description": "Use this config file (mostly for testing)",
|
|
810
|
-
"name": "config-file",
|
|
811
|
-
"hasDynamicHelp": false,
|
|
812
|
-
"multiple": false,
|
|
813
|
-
"type": "option"
|
|
814
|
-
},
|
|
815
|
-
"file-id": {
|
|
816
|
-
"char": "i",
|
|
817
|
-
"description": "ID of the file to download",
|
|
818
|
-
"name": "file-id",
|
|
819
|
-
"default": "-",
|
|
820
|
-
"hasDynamicHelp": false,
|
|
821
|
-
"multiple": false,
|
|
822
|
-
"type": "option"
|
|
823
|
-
},
|
|
824
|
-
"output": {
|
|
825
|
-
"char": "o",
|
|
826
|
-
"description": "Write output to this file or \"-\" for stdout. Default to the name of the uploaded file.",
|
|
827
|
-
"name": "output",
|
|
828
|
-
"hasDynamicHelp": false,
|
|
829
|
-
"multiple": false,
|
|
830
|
-
"type": "option"
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"hasDynamicHelp": false,
|
|
834
|
-
"hiddenAliases": [],
|
|
835
|
-
"id": "file:download",
|
|
836
|
-
"pluginAlias": "@apollo-annotation/cli",
|
|
837
|
-
"pluginName": "@apollo-annotation/cli",
|
|
838
|
-
"pluginType": "core",
|
|
839
|
-
"strict": true,
|
|
840
|
-
"summary": "Download a file from the Apollo server",
|
|
841
|
-
"enableJsonFlag": false,
|
|
842
|
-
"isESM": true,
|
|
843
|
-
"relativePath": [
|
|
844
|
-
"dist",
|
|
845
|
-
"commands",
|
|
846
|
-
"file",
|
|
847
|
-
"download.js"
|
|
848
|
-
]
|
|
849
|
-
},
|
|
850
|
-
"file:get": {
|
|
851
|
-
"aliases": [],
|
|
852
|
-
"args": {},
|
|
853
|
-
"description": "Print to stdout the list of files in json format",
|
|
854
|
-
"examples": [
|
|
855
|
-
{
|
|
856
|
-
"description": "Get files by id:",
|
|
857
|
-
"command": "<%= config.bin %> <%= command.id %> -i xyz abc"
|
|
858
|
-
}
|
|
859
|
-
],
|
|
860
|
-
"flags": {
|
|
861
|
-
"profile": {
|
|
862
|
-
"description": "Use credentials from this profile",
|
|
863
|
-
"name": "profile",
|
|
864
|
-
"hasDynamicHelp": false,
|
|
865
|
-
"multiple": false,
|
|
866
|
-
"type": "option"
|
|
867
|
-
},
|
|
868
|
-
"config-file": {
|
|
869
|
-
"description": "Use this config file (mostly for testing)",
|
|
870
|
-
"name": "config-file",
|
|
871
|
-
"hasDynamicHelp": false,
|
|
872
|
-
"multiple": false,
|
|
873
|
-
"type": "option"
|
|
874
|
-
},
|
|
875
|
-
"file-id": {
|
|
876
|
-
"char": "i",
|
|
877
|
-
"description": "Get files matching this IDs",
|
|
878
|
-
"name": "file-id",
|
|
879
|
-
"hasDynamicHelp": false,
|
|
880
|
-
"multiple": true,
|
|
881
|
-
"type": "option"
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
"hasDynamicHelp": false,
|
|
885
|
-
"hiddenAliases": [],
|
|
886
|
-
"id": "file:get",
|
|
887
|
-
"pluginAlias": "@apollo-annotation/cli",
|
|
888
|
-
"pluginName": "@apollo-annotation/cli",
|
|
889
|
-
"pluginType": "core",
|
|
890
|
-
"strict": true,
|
|
891
|
-
"summary": "Get list of files uploaded to the Apollo server",
|
|
892
|
-
"enableJsonFlag": false,
|
|
893
|
-
"isESM": true,
|
|
894
|
-
"relativePath": [
|
|
895
|
-
"dist",
|
|
896
|
-
"commands",
|
|
897
|
-
"file",
|
|
898
|
-
"get.js"
|
|
899
|
-
]
|
|
900
|
-
},
|
|
901
|
-
"file:upload": {
|
|
902
|
-
"aliases": [],
|
|
903
|
-
"args": {},
|
|
904
|
-
"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`",
|
|
905
|
-
"examples": [
|
|
906
|
-
{
|
|
907
|
-
"description": "Upload local file, type auto-detected:",
|
|
908
|
-
"command": "<%= config.bin %> <%= command.id %> -i genome.fa > file.json"
|
|
909
|
-
}
|
|
910
|
-
],
|
|
911
|
-
"flags": {
|
|
912
|
-
"profile": {
|
|
913
|
-
"description": "Use credentials from this profile",
|
|
914
|
-
"name": "profile",
|
|
915
|
-
"hasDynamicHelp": false,
|
|
916
|
-
"multiple": false,
|
|
917
|
-
"type": "option"
|
|
918
|
-
},
|
|
919
|
-
"config-file": {
|
|
920
|
-
"description": "Use this config file (mostly for testing)",
|
|
921
|
-
"name": "config-file",
|
|
922
|
-
"hasDynamicHelp": false,
|
|
923
|
-
"multiple": false,
|
|
924
|
-
"type": "option"
|
|
925
|
-
},
|
|
926
|
-
"input-file": {
|
|
927
|
-
"char": "i",
|
|
928
|
-
"description": "Local file to upload",
|
|
929
|
-
"name": "input-file",
|
|
930
|
-
"required": true,
|
|
931
|
-
"hasDynamicHelp": false,
|
|
932
|
-
"multiple": false,
|
|
933
|
-
"type": "option"
|
|
934
|
-
},
|
|
935
|
-
"type": {
|
|
936
|
-
"char": "t",
|
|
937
|
-
"description": "Set file type or autodetected it if not set.\n NB: There is no check for whether the file complies to this type",
|
|
938
|
-
"name": "type",
|
|
939
|
-
"hasDynamicHelp": false,
|
|
940
|
-
"multiple": false,
|
|
941
|
-
"options": [
|
|
942
|
-
"text/x-fasta",
|
|
943
|
-
"text/x-gff3",
|
|
944
|
-
"application/x-bgzip-fasta",
|
|
945
|
-
"text/x-fai",
|
|
946
|
-
"application/x-gzi"
|
|
947
|
-
],
|
|
948
|
-
"type": "option"
|
|
949
|
-
},
|
|
950
|
-
"gzip": {
|
|
951
|
-
"char": "z",
|
|
952
|
-
"description": "Override autodetection and instruct that input is gzip compressed",
|
|
953
|
-
"exclusive": [
|
|
954
|
-
"decompressed"
|
|
955
|
-
],
|
|
956
|
-
"name": "gzip",
|
|
957
|
-
"allowNo": false,
|
|
958
|
-
"type": "boolean"
|
|
959
|
-
},
|
|
960
|
-
"decompressed": {
|
|
961
|
-
"char": "d",
|
|
962
|
-
"description": "Override autodetection and instruct that input is decompressed",
|
|
963
|
-
"exclusive": [
|
|
964
|
-
"gzip"
|
|
965
|
-
],
|
|
966
|
-
"name": "decompressed",
|
|
967
|
-
"allowNo": false,
|
|
968
|
-
"type": "boolean"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
"hasDynamicHelp": false,
|
|
972
|
-
"hiddenAliases": [],
|
|
973
|
-
"id": "file:upload",
|
|
974
|
-
"pluginAlias": "@apollo-annotation/cli",
|
|
975
|
-
"pluginName": "@apollo-annotation/cli",
|
|
976
|
-
"pluginType": "core",
|
|
977
|
-
"strict": true,
|
|
978
|
-
"summary": "Upload a local file to the Apollo server",
|
|
979
|
-
"isESM": true,
|
|
980
|
-
"relativePath": [
|
|
981
|
-
"dist",
|
|
982
|
-
"commands",
|
|
983
|
-
"file",
|
|
984
|
-
"upload.js"
|
|
985
|
-
]
|
|
986
|
-
},
|
|
987
728
|
"feature:add-child": {
|
|
988
729
|
"aliases": [],
|
|
989
730
|
"args": {},
|
|
@@ -1664,12 +1405,18 @@
|
|
|
1664
1405
|
},
|
|
1665
1406
|
"feature:import": {
|
|
1666
1407
|
"aliases": [],
|
|
1667
|
-
"args": {
|
|
1408
|
+
"args": {
|
|
1409
|
+
"input-file": {
|
|
1410
|
+
"description": "Input gff file",
|
|
1411
|
+
"name": "input-file",
|
|
1412
|
+
"required": true
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1668
1415
|
"description": "By default, features are added to the existing ones.",
|
|
1669
1416
|
"examples": [
|
|
1670
1417
|
{
|
|
1671
1418
|
"description": "Delete features in myAssembly and then import features.gff3:",
|
|
1672
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1419
|
+
"command": "<%= config.bin %> <%= command.id %> features.gff3 -d -a myAssembly"
|
|
1673
1420
|
}
|
|
1674
1421
|
],
|
|
1675
1422
|
"flags": {
|
|
@@ -1687,15 +1434,6 @@
|
|
|
1687
1434
|
"multiple": false,
|
|
1688
1435
|
"type": "option"
|
|
1689
1436
|
},
|
|
1690
|
-
"input-file": {
|
|
1691
|
-
"char": "i",
|
|
1692
|
-
"description": "Input gff file",
|
|
1693
|
-
"name": "input-file",
|
|
1694
|
-
"required": true,
|
|
1695
|
-
"hasDynamicHelp": false,
|
|
1696
|
-
"multiple": false,
|
|
1697
|
-
"type": "option"
|
|
1698
|
-
},
|
|
1699
1437
|
"assembly": {
|
|
1700
1438
|
"char": "a",
|
|
1701
1439
|
"description": "Import into this assembly name or assembly ID",
|
|
@@ -1789,6 +1527,254 @@
|
|
|
1789
1527
|
"search.js"
|
|
1790
1528
|
]
|
|
1791
1529
|
},
|
|
1530
|
+
"file:delete": {
|
|
1531
|
+
"aliases": [],
|
|
1532
|
+
"args": {},
|
|
1533
|
+
"description": "Deleted files are printed to stdout. See also `apollo file get` to list the files on the server",
|
|
1534
|
+
"examples": [
|
|
1535
|
+
{
|
|
1536
|
+
"description": "Delete file multiple files:",
|
|
1537
|
+
"command": "<%= config.bin %> <%= command.id %> -i 123...abc xyz...789"
|
|
1538
|
+
}
|
|
1539
|
+
],
|
|
1540
|
+
"flags": {
|
|
1541
|
+
"profile": {
|
|
1542
|
+
"description": "Use credentials from this profile",
|
|
1543
|
+
"name": "profile",
|
|
1544
|
+
"hasDynamicHelp": false,
|
|
1545
|
+
"multiple": false,
|
|
1546
|
+
"type": "option"
|
|
1547
|
+
},
|
|
1548
|
+
"config-file": {
|
|
1549
|
+
"description": "Use this config file (mostly for testing)",
|
|
1550
|
+
"name": "config-file",
|
|
1551
|
+
"hasDynamicHelp": false,
|
|
1552
|
+
"multiple": false,
|
|
1553
|
+
"type": "option"
|
|
1554
|
+
},
|
|
1555
|
+
"file-id": {
|
|
1556
|
+
"char": "i",
|
|
1557
|
+
"description": "IDs of the files to delete",
|
|
1558
|
+
"name": "file-id",
|
|
1559
|
+
"default": [
|
|
1560
|
+
"-"
|
|
1561
|
+
],
|
|
1562
|
+
"hasDynamicHelp": false,
|
|
1563
|
+
"multiple": true,
|
|
1564
|
+
"type": "option"
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
"hasDynamicHelp": false,
|
|
1568
|
+
"hiddenAliases": [],
|
|
1569
|
+
"id": "file:delete",
|
|
1570
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1571
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1572
|
+
"pluginType": "core",
|
|
1573
|
+
"strict": true,
|
|
1574
|
+
"summary": "Delete files from the Apollo server",
|
|
1575
|
+
"enableJsonFlag": false,
|
|
1576
|
+
"isESM": true,
|
|
1577
|
+
"relativePath": [
|
|
1578
|
+
"dist",
|
|
1579
|
+
"commands",
|
|
1580
|
+
"file",
|
|
1581
|
+
"delete.js"
|
|
1582
|
+
]
|
|
1583
|
+
},
|
|
1584
|
+
"file:download": {
|
|
1585
|
+
"aliases": [],
|
|
1586
|
+
"args": {},
|
|
1587
|
+
"description": "See also `apollo file get` to list the files on the server",
|
|
1588
|
+
"examples": [
|
|
1589
|
+
{
|
|
1590
|
+
"description": "Download file with id xyz",
|
|
1591
|
+
"command": "<%= config.bin %> <%= command.id %> -i xyz -o genome.fa"
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1594
|
+
"flags": {
|
|
1595
|
+
"profile": {
|
|
1596
|
+
"description": "Use credentials from this profile",
|
|
1597
|
+
"name": "profile",
|
|
1598
|
+
"hasDynamicHelp": false,
|
|
1599
|
+
"multiple": false,
|
|
1600
|
+
"type": "option"
|
|
1601
|
+
},
|
|
1602
|
+
"config-file": {
|
|
1603
|
+
"description": "Use this config file (mostly for testing)",
|
|
1604
|
+
"name": "config-file",
|
|
1605
|
+
"hasDynamicHelp": false,
|
|
1606
|
+
"multiple": false,
|
|
1607
|
+
"type": "option"
|
|
1608
|
+
},
|
|
1609
|
+
"file-id": {
|
|
1610
|
+
"char": "i",
|
|
1611
|
+
"description": "ID of the file to download",
|
|
1612
|
+
"name": "file-id",
|
|
1613
|
+
"default": "-",
|
|
1614
|
+
"hasDynamicHelp": false,
|
|
1615
|
+
"multiple": false,
|
|
1616
|
+
"type": "option"
|
|
1617
|
+
},
|
|
1618
|
+
"output": {
|
|
1619
|
+
"char": "o",
|
|
1620
|
+
"description": "Write output to this file or \"-\" for stdout. Default to the name of the uploaded file.",
|
|
1621
|
+
"name": "output",
|
|
1622
|
+
"hasDynamicHelp": false,
|
|
1623
|
+
"multiple": false,
|
|
1624
|
+
"type": "option"
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
"hasDynamicHelp": false,
|
|
1628
|
+
"hiddenAliases": [],
|
|
1629
|
+
"id": "file:download",
|
|
1630
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1631
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1632
|
+
"pluginType": "core",
|
|
1633
|
+
"strict": true,
|
|
1634
|
+
"summary": "Download a file from the Apollo server",
|
|
1635
|
+
"enableJsonFlag": false,
|
|
1636
|
+
"isESM": true,
|
|
1637
|
+
"relativePath": [
|
|
1638
|
+
"dist",
|
|
1639
|
+
"commands",
|
|
1640
|
+
"file",
|
|
1641
|
+
"download.js"
|
|
1642
|
+
]
|
|
1643
|
+
},
|
|
1644
|
+
"file:get": {
|
|
1645
|
+
"aliases": [],
|
|
1646
|
+
"args": {},
|
|
1647
|
+
"description": "Print to stdout the list of files in json format",
|
|
1648
|
+
"examples": [
|
|
1649
|
+
{
|
|
1650
|
+
"description": "Get files by id:",
|
|
1651
|
+
"command": "<%= config.bin %> <%= command.id %> -i xyz abc"
|
|
1652
|
+
}
|
|
1653
|
+
],
|
|
1654
|
+
"flags": {
|
|
1655
|
+
"profile": {
|
|
1656
|
+
"description": "Use credentials from this profile",
|
|
1657
|
+
"name": "profile",
|
|
1658
|
+
"hasDynamicHelp": false,
|
|
1659
|
+
"multiple": false,
|
|
1660
|
+
"type": "option"
|
|
1661
|
+
},
|
|
1662
|
+
"config-file": {
|
|
1663
|
+
"description": "Use this config file (mostly for testing)",
|
|
1664
|
+
"name": "config-file",
|
|
1665
|
+
"hasDynamicHelp": false,
|
|
1666
|
+
"multiple": false,
|
|
1667
|
+
"type": "option"
|
|
1668
|
+
},
|
|
1669
|
+
"file-id": {
|
|
1670
|
+
"char": "i",
|
|
1671
|
+
"description": "Get files matching this IDs",
|
|
1672
|
+
"name": "file-id",
|
|
1673
|
+
"hasDynamicHelp": false,
|
|
1674
|
+
"multiple": true,
|
|
1675
|
+
"type": "option"
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
"hasDynamicHelp": false,
|
|
1679
|
+
"hiddenAliases": [],
|
|
1680
|
+
"id": "file:get",
|
|
1681
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1682
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1683
|
+
"pluginType": "core",
|
|
1684
|
+
"strict": true,
|
|
1685
|
+
"summary": "Get list of files uploaded to the Apollo server",
|
|
1686
|
+
"enableJsonFlag": false,
|
|
1687
|
+
"isESM": true,
|
|
1688
|
+
"relativePath": [
|
|
1689
|
+
"dist",
|
|
1690
|
+
"commands",
|
|
1691
|
+
"file",
|
|
1692
|
+
"get.js"
|
|
1693
|
+
]
|
|
1694
|
+
},
|
|
1695
|
+
"file:upload": {
|
|
1696
|
+
"aliases": [],
|
|
1697
|
+
"args": {
|
|
1698
|
+
"input-file": {
|
|
1699
|
+
"description": "Local file to upload",
|
|
1700
|
+
"name": "input-file",
|
|
1701
|
+
"required": true
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"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`",
|
|
1705
|
+
"examples": [
|
|
1706
|
+
{
|
|
1707
|
+
"description": "Upload local file, type auto-detected:",
|
|
1708
|
+
"command": "<%= config.bin %> <%= command.id %> genome.fa > file.json"
|
|
1709
|
+
}
|
|
1710
|
+
],
|
|
1711
|
+
"flags": {
|
|
1712
|
+
"profile": {
|
|
1713
|
+
"description": "Use credentials from this profile",
|
|
1714
|
+
"name": "profile",
|
|
1715
|
+
"hasDynamicHelp": false,
|
|
1716
|
+
"multiple": false,
|
|
1717
|
+
"type": "option"
|
|
1718
|
+
},
|
|
1719
|
+
"config-file": {
|
|
1720
|
+
"description": "Use this config file (mostly for testing)",
|
|
1721
|
+
"name": "config-file",
|
|
1722
|
+
"hasDynamicHelp": false,
|
|
1723
|
+
"multiple": false,
|
|
1724
|
+
"type": "option"
|
|
1725
|
+
},
|
|
1726
|
+
"type": {
|
|
1727
|
+
"char": "t",
|
|
1728
|
+
"description": "Set file type or autodetected it if not set.\n NB: There is no check for whether the file complies to this type",
|
|
1729
|
+
"name": "type",
|
|
1730
|
+
"hasDynamicHelp": false,
|
|
1731
|
+
"multiple": false,
|
|
1732
|
+
"options": [
|
|
1733
|
+
"text/x-fasta",
|
|
1734
|
+
"text/x-gff3",
|
|
1735
|
+
"application/x-bgzip-fasta",
|
|
1736
|
+
"text/x-fai",
|
|
1737
|
+
"application/x-gzi"
|
|
1738
|
+
],
|
|
1739
|
+
"type": "option"
|
|
1740
|
+
},
|
|
1741
|
+
"gzip": {
|
|
1742
|
+
"char": "z",
|
|
1743
|
+
"description": "Override autodetection and instruct that input is gzip compressed",
|
|
1744
|
+
"exclusive": [
|
|
1745
|
+
"decompressed"
|
|
1746
|
+
],
|
|
1747
|
+
"name": "gzip",
|
|
1748
|
+
"allowNo": false,
|
|
1749
|
+
"type": "boolean"
|
|
1750
|
+
},
|
|
1751
|
+
"decompressed": {
|
|
1752
|
+
"char": "d",
|
|
1753
|
+
"description": "Override autodetection and instruct that input is decompressed",
|
|
1754
|
+
"exclusive": [
|
|
1755
|
+
"gzip"
|
|
1756
|
+
],
|
|
1757
|
+
"name": "decompressed",
|
|
1758
|
+
"allowNo": false,
|
|
1759
|
+
"type": "boolean"
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"hasDynamicHelp": false,
|
|
1763
|
+
"hiddenAliases": [],
|
|
1764
|
+
"id": "file:upload",
|
|
1765
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1766
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1767
|
+
"pluginType": "core",
|
|
1768
|
+
"strict": true,
|
|
1769
|
+
"summary": "Upload a local file to the Apollo server",
|
|
1770
|
+
"isESM": true,
|
|
1771
|
+
"relativePath": [
|
|
1772
|
+
"dist",
|
|
1773
|
+
"commands",
|
|
1774
|
+
"file",
|
|
1775
|
+
"upload.js"
|
|
1776
|
+
]
|
|
1777
|
+
},
|
|
1792
1778
|
"jbrowse:get-config": {
|
|
1793
1779
|
"aliases": [],
|
|
1794
1780
|
"args": {},
|
|
@@ -1883,12 +1869,18 @@
|
|
|
1883
1869
|
},
|
|
1884
1870
|
"refseq:add-alias": {
|
|
1885
1871
|
"aliases": [],
|
|
1886
|
-
"args": {
|
|
1872
|
+
"args": {
|
|
1873
|
+
"input-file": {
|
|
1874
|
+
"description": "Input refname alias file",
|
|
1875
|
+
"name": "input-file",
|
|
1876
|
+
"required": true
|
|
1877
|
+
}
|
|
1878
|
+
},
|
|
1887
1879
|
"description": "Reference name aliasing is a process to make chromosomes that are named slightly differently but which refer to the same thing render properly. This command reads a file with reference name aliases and adds them to the database.",
|
|
1888
1880
|
"examples": [
|
|
1889
1881
|
{
|
|
1890
1882
|
"description": "Add reference name aliases:",
|
|
1891
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
1883
|
+
"command": "<%= config.bin %> <%= command.id %> alias.txt -a myAssembly"
|
|
1892
1884
|
}
|
|
1893
1885
|
],
|
|
1894
1886
|
"flags": {
|
|
@@ -1906,15 +1898,6 @@
|
|
|
1906
1898
|
"multiple": false,
|
|
1907
1899
|
"type": "option"
|
|
1908
1900
|
},
|
|
1909
|
-
"input-file": {
|
|
1910
|
-
"char": "i",
|
|
1911
|
-
"description": "Input refname alias file",
|
|
1912
|
-
"name": "input-file",
|
|
1913
|
-
"required": true,
|
|
1914
|
-
"hasDynamicHelp": false,
|
|
1915
|
-
"multiple": false,
|
|
1916
|
-
"type": "option"
|
|
1917
|
-
},
|
|
1918
1901
|
"assembly": {
|
|
1919
1902
|
"char": "a",
|
|
1920
1903
|
"description": "Name for this assembly.",
|
|
@@ -2065,5 +2048,5 @@
|
|
|
2065
2048
|
]
|
|
2066
2049
|
}
|
|
2067
2050
|
},
|
|
2068
|
-
"version": "0.1.
|
|
2051
|
+
"version": "0.1.21"
|
|
2069
2052
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollo-annotation/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Command line interface for the Apollo annotation server",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"yaml": "^2.3.4"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@apollo-annotation/mst": "^0.1.
|
|
88
|
-
"@apollo-annotation/shared": "^0.1.
|
|
87
|
+
"@apollo-annotation/mst": "^0.1.21",
|
|
88
|
+
"@apollo-annotation/shared": "^0.1.21",
|
|
89
89
|
"@istanbuljs/esm-loader-hook": "^0.2.0",
|
|
90
90
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
91
91
|
"@oclif/test": "^3.1.3",
|