@apollo-annotation/cli 0.1.10
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 +899 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +9 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +8 -0
- package/dist/Config.d.ts +43 -0
- package/dist/Config.js +233 -0
- package/dist/baseCommand.d.ts +21 -0
- package/dist/baseCommand.js +62 -0
- package/dist/commands/assembly/add-fasta.d.ts +15 -0
- package/dist/commands/assembly/add-fasta.js +98 -0
- package/dist/commands/assembly/add-gff.d.ts +16 -0
- package/dist/commands/assembly/add-gff.js +76 -0
- package/dist/commands/assembly/check.d.ts +15 -0
- package/dist/commands/assembly/check.js +148 -0
- package/dist/commands/assembly/delete.d.ts +14 -0
- package/dist/commands/assembly/delete.js +43 -0
- package/dist/commands/assembly/get.d.ts +9 -0
- package/dist/commands/assembly/get.js +33 -0
- package/dist/commands/assembly/get.test.d.ts +1 -0
- package/dist/commands/assembly/get.test.js +50 -0
- package/dist/commands/assembly/sequence.d.ts +16 -0
- package/dist/commands/assembly/sequence.js +117 -0
- package/dist/commands/change/get.d.ts +9 -0
- package/dist/commands/change/get.js +35 -0
- package/dist/commands/change/get.test.d.ts +1 -0
- package/dist/commands/change/get.test.js +22 -0
- package/dist/commands/config.d.ts +25 -0
- package/dist/commands/config.js +217 -0
- package/dist/commands/config.test.d.ts +1 -0
- package/dist/commands/config.test.js +188 -0
- package/dist/commands/feature/add-child.d.ts +17 -0
- package/dist/commands/feature/add-child.js +120 -0
- package/dist/commands/feature/check.d.ts +14 -0
- package/dist/commands/feature/check.js +97 -0
- package/dist/commands/feature/copy.d.ts +17 -0
- package/dist/commands/feature/copy.js +110 -0
- package/dist/commands/feature/delete.d.ts +11 -0
- package/dist/commands/feature/delete.js +99 -0
- package/dist/commands/feature/edit-attribute.d.ts +16 -0
- package/dist/commands/feature/edit-attribute.js +100 -0
- package/dist/commands/feature/edit-coords.d.ts +15 -0
- package/dist/commands/feature/edit-coords.js +109 -0
- package/dist/commands/feature/edit-type.d.ts +10 -0
- package/dist/commands/feature/edit-type.js +70 -0
- package/dist/commands/feature/edit.d.ts +13 -0
- package/dist/commands/feature/edit.js +81 -0
- package/dist/commands/feature/get-id.d.ts +14 -0
- package/dist/commands/feature/get-id.js +56 -0
- package/dist/commands/feature/get.d.ts +16 -0
- package/dist/commands/feature/get.js +87 -0
- package/dist/commands/feature/import.d.ts +15 -0
- package/dist/commands/feature/import.js +83 -0
- package/dist/commands/feature/search.d.ts +14 -0
- package/dist/commands/feature/search.js +91 -0
- package/dist/commands/login.d.ts +21 -0
- package/dist/commands/login.js +206 -0
- package/dist/commands/login.test.d.ts +1 -0
- package/dist/commands/login.test.js +52 -0
- package/dist/commands/logout.d.ts +10 -0
- package/dist/commands/logout.js +41 -0
- package/dist/commands/logout.test.d.ts +1 -0
- package/dist/commands/logout.test.js +67 -0
- package/dist/commands/refseq/get.d.ts +13 -0
- package/dist/commands/refseq/get.js +44 -0
- package/dist/commands/status.d.ts +6 -0
- package/dist/commands/status.js +38 -0
- package/dist/commands/status.test.d.ts +1 -0
- package/dist/commands/status.test.js +54 -0
- package/dist/commands/user/get.d.ts +14 -0
- package/dist/commands/user/get.js +46 -0
- package/dist/commands/user/get.test.d.ts +1 -0
- package/dist/commands/user/get.test.js +23 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/test/fixtures.d.ts +7 -0
- package/dist/test/fixtures.js +40 -0
- package/dist/utils.d.ts +54 -0
- package/dist/utils.js +373 -0
- package/oclif.manifest.json +1632 -0
- package/package.json +100 -0
|
@@ -0,0 +1,1632 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"config": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"key": {
|
|
7
|
+
"description": "Name of configuration parameter",
|
|
8
|
+
"name": "key"
|
|
9
|
+
},
|
|
10
|
+
"value": {
|
|
11
|
+
"description": "Parameter value",
|
|
12
|
+
"name": "value"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"description": "Use this command to create or edit a user profile with credentials to access\nApollo. Configuration options are:\n\n - address:\nAddress and port e.g http://localhost:3999\n\n- accessType:\nHow to access Apollo. accessType is typically one of: google, microsoft, guest,\nroot. Allowed types depend on your Apollo setup\n\n- accessToken:\nAccess token. Usually inserted by `apollo login`\n\n- rootCredentials.username:\nUsername of root account. Only set this for \"root\" access type\n\n- rootCredentials.password:\nPassword for root account. Only set this for \"root\" access type",
|
|
16
|
+
"examples": [
|
|
17
|
+
{
|
|
18
|
+
"description": "Interactive setup:",
|
|
19
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"description": "Setup with key/value pairs:",
|
|
23
|
+
"command": "<%= config.bin %> <%= command.id %> --profile admin address http://localhost:3999"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"description": "Get current address for default profile:",
|
|
27
|
+
"command": "<%= config.bin %> <%= command.id %> address"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"flags": {
|
|
31
|
+
"profile": {
|
|
32
|
+
"description": "Profile to create or edit",
|
|
33
|
+
"name": "profile",
|
|
34
|
+
"required": false,
|
|
35
|
+
"hasDynamicHelp": false,
|
|
36
|
+
"multiple": false,
|
|
37
|
+
"type": "option"
|
|
38
|
+
},
|
|
39
|
+
"config-file": {
|
|
40
|
+
"description": "Use this config file (mostly for testing)",
|
|
41
|
+
"name": "config-file",
|
|
42
|
+
"hasDynamicHelp": false,
|
|
43
|
+
"multiple": false,
|
|
44
|
+
"type": "option"
|
|
45
|
+
},
|
|
46
|
+
"get-config-file": {
|
|
47
|
+
"description": "Return the path to the config file and exit (this file may not exist yet)",
|
|
48
|
+
"name": "get-config-file",
|
|
49
|
+
"allowNo": false,
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"hasDynamicHelp": false,
|
|
54
|
+
"hiddenAliases": [],
|
|
55
|
+
"id": "config",
|
|
56
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
57
|
+
"pluginName": "@apollo-annotation/cli",
|
|
58
|
+
"pluginType": "core",
|
|
59
|
+
"strict": true,
|
|
60
|
+
"summary": "Get or set apollo configuration options",
|
|
61
|
+
"enableJsonFlag": false,
|
|
62
|
+
"isESM": true,
|
|
63
|
+
"relativePath": [
|
|
64
|
+
"dist",
|
|
65
|
+
"commands",
|
|
66
|
+
"config.js"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"login": {
|
|
70
|
+
"aliases": [],
|
|
71
|
+
"args": {},
|
|
72
|
+
"description": "Use the provided credentials to obtain and save the token to access Apollo. Once\nthe token for the given profile has been saved in the configuration file, users\ndo not normally need to execute this command again unless the token has expired.\nTo setup a new profile use \"apollo config\"",
|
|
73
|
+
"examples": [
|
|
74
|
+
{
|
|
75
|
+
"description": "The most basic and probably most typical usage is to login using the default\nprofile in configuration file:",
|
|
76
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"description": "Login with a different profile:",
|
|
80
|
+
"command": "<%= config.bin %> <%= command.id %> --profile my-profile"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"flags": {
|
|
84
|
+
"profile": {
|
|
85
|
+
"description": "Use credentials from this profile",
|
|
86
|
+
"name": "profile",
|
|
87
|
+
"hasDynamicHelp": false,
|
|
88
|
+
"multiple": false,
|
|
89
|
+
"type": "option"
|
|
90
|
+
},
|
|
91
|
+
"config-file": {
|
|
92
|
+
"description": "Use this config file (mostly for testing)",
|
|
93
|
+
"name": "config-file",
|
|
94
|
+
"hasDynamicHelp": false,
|
|
95
|
+
"multiple": false,
|
|
96
|
+
"type": "option"
|
|
97
|
+
},
|
|
98
|
+
"address": {
|
|
99
|
+
"char": "a",
|
|
100
|
+
"description": "Address of Apollo server",
|
|
101
|
+
"name": "address",
|
|
102
|
+
"required": false,
|
|
103
|
+
"hasDynamicHelp": false,
|
|
104
|
+
"multiple": false,
|
|
105
|
+
"type": "option"
|
|
106
|
+
},
|
|
107
|
+
"username": {
|
|
108
|
+
"char": "u",
|
|
109
|
+
"description": "Username for root login",
|
|
110
|
+
"name": "username",
|
|
111
|
+
"required": false,
|
|
112
|
+
"hasDynamicHelp": false,
|
|
113
|
+
"multiple": false,
|
|
114
|
+
"type": "option"
|
|
115
|
+
},
|
|
116
|
+
"password": {
|
|
117
|
+
"char": "p",
|
|
118
|
+
"description": "Password for <username>",
|
|
119
|
+
"name": "password",
|
|
120
|
+
"required": false,
|
|
121
|
+
"hasDynamicHelp": false,
|
|
122
|
+
"multiple": false,
|
|
123
|
+
"type": "option"
|
|
124
|
+
},
|
|
125
|
+
"force": {
|
|
126
|
+
"char": "f",
|
|
127
|
+
"description": "Force re-authentication even if user is already logged in",
|
|
128
|
+
"name": "force",
|
|
129
|
+
"allowNo": false,
|
|
130
|
+
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
"port": {
|
|
133
|
+
"description": "Get token by listening to this port number (usually this is >= 1024 and < 65536)",
|
|
134
|
+
"name": "port",
|
|
135
|
+
"default": 3000,
|
|
136
|
+
"hasDynamicHelp": false,
|
|
137
|
+
"multiple": false,
|
|
138
|
+
"type": "option"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"hasDynamicHelp": false,
|
|
142
|
+
"hiddenAliases": [],
|
|
143
|
+
"id": "login",
|
|
144
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
145
|
+
"pluginName": "@apollo-annotation/cli",
|
|
146
|
+
"pluginType": "core",
|
|
147
|
+
"strict": true,
|
|
148
|
+
"summary": "Login to Apollo",
|
|
149
|
+
"enableJsonFlag": false,
|
|
150
|
+
"isESM": true,
|
|
151
|
+
"relativePath": [
|
|
152
|
+
"dist",
|
|
153
|
+
"commands",
|
|
154
|
+
"login.js"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"logout": {
|
|
158
|
+
"aliases": [],
|
|
159
|
+
"args": {},
|
|
160
|
+
"description": "Logout by removing the access token from the selected profile",
|
|
161
|
+
"examples": [
|
|
162
|
+
{
|
|
163
|
+
"description": "Logout default profile:",
|
|
164
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"description": "Logout selected profile",
|
|
168
|
+
"command": "<%= config.bin %> <%= command.id %> --profile my-profile"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"flags": {
|
|
172
|
+
"profile": {
|
|
173
|
+
"description": "Use credentials from this profile",
|
|
174
|
+
"name": "profile",
|
|
175
|
+
"hasDynamicHelp": false,
|
|
176
|
+
"multiple": false,
|
|
177
|
+
"type": "option"
|
|
178
|
+
},
|
|
179
|
+
"config-file": {
|
|
180
|
+
"description": "Use this config file (mostly for testing)",
|
|
181
|
+
"name": "config-file",
|
|
182
|
+
"hasDynamicHelp": false,
|
|
183
|
+
"multiple": false,
|
|
184
|
+
"type": "option"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"hasDynamicHelp": false,
|
|
188
|
+
"hiddenAliases": [],
|
|
189
|
+
"id": "logout",
|
|
190
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
191
|
+
"pluginName": "@apollo-annotation/cli",
|
|
192
|
+
"pluginType": "core",
|
|
193
|
+
"strict": true,
|
|
194
|
+
"summary": "Logout of Apollo",
|
|
195
|
+
"enableJsonFlag": false,
|
|
196
|
+
"isESM": true,
|
|
197
|
+
"relativePath": [
|
|
198
|
+
"dist",
|
|
199
|
+
"commands",
|
|
200
|
+
"logout.js"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"status": {
|
|
204
|
+
"aliases": [],
|
|
205
|
+
"args": {},
|
|
206
|
+
"description": "This command returns \"<profile>: Logged in\" if the selected profile has an\naccess token and \"<profile>: Logged out\" otherwise. Note that this command does\nnot check the validity of the access token.",
|
|
207
|
+
"flags": {
|
|
208
|
+
"profile": {
|
|
209
|
+
"description": "Use credentials from this profile",
|
|
210
|
+
"name": "profile",
|
|
211
|
+
"hasDynamicHelp": false,
|
|
212
|
+
"multiple": false,
|
|
213
|
+
"type": "option"
|
|
214
|
+
},
|
|
215
|
+
"config-file": {
|
|
216
|
+
"description": "Use this config file (mostly for testing)",
|
|
217
|
+
"name": "config-file",
|
|
218
|
+
"hasDynamicHelp": false,
|
|
219
|
+
"multiple": false,
|
|
220
|
+
"type": "option"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"hasDynamicHelp": false,
|
|
224
|
+
"hiddenAliases": [],
|
|
225
|
+
"id": "status",
|
|
226
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
227
|
+
"pluginName": "@apollo-annotation/cli",
|
|
228
|
+
"pluginType": "core",
|
|
229
|
+
"strict": true,
|
|
230
|
+
"summary": "View authentication status",
|
|
231
|
+
"enableJsonFlag": false,
|
|
232
|
+
"isESM": true,
|
|
233
|
+
"relativePath": [
|
|
234
|
+
"dist",
|
|
235
|
+
"commands",
|
|
236
|
+
"status.js"
|
|
237
|
+
]
|
|
238
|
+
},
|
|
239
|
+
"assembly:add-fasta": {
|
|
240
|
+
"aliases": [],
|
|
241
|
+
"args": {},
|
|
242
|
+
"description": "Add new assembly from local or external fasta file",
|
|
243
|
+
"examples": [
|
|
244
|
+
{
|
|
245
|
+
"description": "From local file:",
|
|
246
|
+
"command": "<%= config.bin %> <%= command.id %> -i genome.fa -a myAssembly"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"description": "From external source we also need the URL of the index:",
|
|
250
|
+
"command": "<%= config.bin %> <%= command.id %> -i https://.../genome.fa -x https://.../genome.fa.fai -a myAssembly"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"flags": {
|
|
254
|
+
"profile": {
|
|
255
|
+
"description": "Use credentials from this profile",
|
|
256
|
+
"name": "profile",
|
|
257
|
+
"hasDynamicHelp": false,
|
|
258
|
+
"multiple": false,
|
|
259
|
+
"type": "option"
|
|
260
|
+
},
|
|
261
|
+
"config-file": {
|
|
262
|
+
"description": "Use this config file (mostly for testing)",
|
|
263
|
+
"name": "config-file",
|
|
264
|
+
"hasDynamicHelp": false,
|
|
265
|
+
"multiple": false,
|
|
266
|
+
"type": "option"
|
|
267
|
+
},
|
|
268
|
+
"input-file": {
|
|
269
|
+
"char": "i",
|
|
270
|
+
"description": "Input fasta file",
|
|
271
|
+
"name": "input-file",
|
|
272
|
+
"required": true,
|
|
273
|
+
"hasDynamicHelp": false,
|
|
274
|
+
"multiple": false,
|
|
275
|
+
"type": "option"
|
|
276
|
+
},
|
|
277
|
+
"assembly": {
|
|
278
|
+
"char": "a",
|
|
279
|
+
"description": "Name for this assembly. Use the file name if omitted",
|
|
280
|
+
"name": "assembly",
|
|
281
|
+
"hasDynamicHelp": false,
|
|
282
|
+
"multiple": false,
|
|
283
|
+
"type": "option"
|
|
284
|
+
},
|
|
285
|
+
"index": {
|
|
286
|
+
"char": "x",
|
|
287
|
+
"description": "URL of the index. Required if input is an external source and ignored if input is a local file",
|
|
288
|
+
"name": "index",
|
|
289
|
+
"hasDynamicHelp": false,
|
|
290
|
+
"multiple": false,
|
|
291
|
+
"type": "option"
|
|
292
|
+
},
|
|
293
|
+
"force": {
|
|
294
|
+
"char": "f",
|
|
295
|
+
"description": "Delete existing assembly, if it exists",
|
|
296
|
+
"name": "force",
|
|
297
|
+
"allowNo": false,
|
|
298
|
+
"type": "boolean"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"hasDynamicHelp": false,
|
|
302
|
+
"hiddenAliases": [],
|
|
303
|
+
"id": "assembly:add-fasta",
|
|
304
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
305
|
+
"pluginName": "@apollo-annotation/cli",
|
|
306
|
+
"pluginType": "core",
|
|
307
|
+
"strict": true,
|
|
308
|
+
"enableJsonFlag": false,
|
|
309
|
+
"isESM": true,
|
|
310
|
+
"relativePath": [
|
|
311
|
+
"dist",
|
|
312
|
+
"commands",
|
|
313
|
+
"assembly",
|
|
314
|
+
"add-fasta.js"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"assembly:add-gff": {
|
|
318
|
+
"aliases": [],
|
|
319
|
+
"args": {},
|
|
320
|
+
"description": "The gff file is expected to contain sequences as per gff specifications.\nFeatures are also imported by default.",
|
|
321
|
+
"examples": [
|
|
322
|
+
{
|
|
323
|
+
"description": "Import sequences and features:",
|
|
324
|
+
"command": "<%= config.bin %> <%= command.id %> -i genome.gff -a myAssembly"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"description": "Import sequences only:",
|
|
328
|
+
"command": "<%= config.bin %> <%= command.id %> -i genome.gff -a myAssembly -o"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"flags": {
|
|
332
|
+
"profile": {
|
|
333
|
+
"description": "Use credentials from this profile",
|
|
334
|
+
"name": "profile",
|
|
335
|
+
"hasDynamicHelp": false,
|
|
336
|
+
"multiple": false,
|
|
337
|
+
"type": "option"
|
|
338
|
+
},
|
|
339
|
+
"config-file": {
|
|
340
|
+
"description": "Use this config file (mostly for testing)",
|
|
341
|
+
"name": "config-file",
|
|
342
|
+
"hasDynamicHelp": false,
|
|
343
|
+
"multiple": false,
|
|
344
|
+
"type": "option"
|
|
345
|
+
},
|
|
346
|
+
"input-file": {
|
|
347
|
+
"char": "i",
|
|
348
|
+
"description": "Input gff or gtf file",
|
|
349
|
+
"name": "input-file",
|
|
350
|
+
"required": true,
|
|
351
|
+
"hasDynamicHelp": false,
|
|
352
|
+
"multiple": false,
|
|
353
|
+
"type": "option"
|
|
354
|
+
},
|
|
355
|
+
"assembly": {
|
|
356
|
+
"char": "a",
|
|
357
|
+
"description": "Name for this assembly. Use the file name if omitted",
|
|
358
|
+
"name": "assembly",
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"multiple": false,
|
|
361
|
+
"type": "option"
|
|
362
|
+
},
|
|
363
|
+
"omit-features": {
|
|
364
|
+
"char": "o",
|
|
365
|
+
"description": "Do not import features, only upload the sequences",
|
|
366
|
+
"name": "omit-features",
|
|
367
|
+
"allowNo": false,
|
|
368
|
+
"type": "boolean"
|
|
369
|
+
},
|
|
370
|
+
"force": {
|
|
371
|
+
"char": "f",
|
|
372
|
+
"description": "Delete existing assembly, if it exists",
|
|
373
|
+
"name": "force",
|
|
374
|
+
"allowNo": false,
|
|
375
|
+
"type": "boolean"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"hasDynamicHelp": false,
|
|
379
|
+
"hiddenAliases": [],
|
|
380
|
+
"id": "assembly:add-gff",
|
|
381
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
382
|
+
"pluginName": "@apollo-annotation/cli",
|
|
383
|
+
"pluginType": "core",
|
|
384
|
+
"strict": true,
|
|
385
|
+
"summary": "Add new assembly from gff or gft file",
|
|
386
|
+
"enableJsonFlag": false,
|
|
387
|
+
"isESM": true,
|
|
388
|
+
"relativePath": [
|
|
389
|
+
"dist",
|
|
390
|
+
"commands",
|
|
391
|
+
"assembly",
|
|
392
|
+
"add-gff.js"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"assembly:check": {
|
|
396
|
+
"aliases": [],
|
|
397
|
+
"args": {},
|
|
398
|
+
"description": "Manage checks, i.e. the rules ensuring features in an assembly are plausible.\nThis command only sets the check to apply, to retrieve features flagged by these\nchecks use `apollo feature check`.",
|
|
399
|
+
"examples": [
|
|
400
|
+
{
|
|
401
|
+
"description": "View available check types:",
|
|
402
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"description": "View checks set for assembly hg19:",
|
|
406
|
+
"command": "<%= config.bin %> <%= command.id %> -a hg19"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"description": "Add checks to assembly:",
|
|
410
|
+
"command": "<%= config.bin %> <%= command.id %> -a hg19 -c CDSCheck"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"description": "Delete checks from assembly:",
|
|
414
|
+
"command": "<%= config.bin %> <%= command.id %> -a hg19 -c CDSCheck --delete"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"flags": {
|
|
418
|
+
"profile": {
|
|
419
|
+
"description": "Use credentials from this profile",
|
|
420
|
+
"name": "profile",
|
|
421
|
+
"hasDynamicHelp": false,
|
|
422
|
+
"multiple": false,
|
|
423
|
+
"type": "option"
|
|
424
|
+
},
|
|
425
|
+
"config-file": {
|
|
426
|
+
"description": "Use this config file (mostly for testing)",
|
|
427
|
+
"name": "config-file",
|
|
428
|
+
"hasDynamicHelp": false,
|
|
429
|
+
"multiple": false,
|
|
430
|
+
"type": "option"
|
|
431
|
+
},
|
|
432
|
+
"assembly": {
|
|
433
|
+
"char": "a",
|
|
434
|
+
"description": "Manage checks in this assembly",
|
|
435
|
+
"name": "assembly",
|
|
436
|
+
"hasDynamicHelp": false,
|
|
437
|
+
"multiple": false,
|
|
438
|
+
"type": "option"
|
|
439
|
+
},
|
|
440
|
+
"check": {
|
|
441
|
+
"char": "c",
|
|
442
|
+
"description": "Add these check names or IDs. If unset, print the checks set for assembly",
|
|
443
|
+
"name": "check",
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": true,
|
|
446
|
+
"type": "option"
|
|
447
|
+
},
|
|
448
|
+
"delete": {
|
|
449
|
+
"char": "d",
|
|
450
|
+
"description": "Delete (instead of adding) checks",
|
|
451
|
+
"name": "delete",
|
|
452
|
+
"allowNo": false,
|
|
453
|
+
"type": "boolean"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"hasDynamicHelp": false,
|
|
457
|
+
"hiddenAliases": [],
|
|
458
|
+
"id": "assembly:check",
|
|
459
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
460
|
+
"pluginName": "@apollo-annotation/cli",
|
|
461
|
+
"pluginType": "core",
|
|
462
|
+
"strict": true,
|
|
463
|
+
"summary": "Add, view, or delete checks to assembly",
|
|
464
|
+
"enableJsonFlag": false,
|
|
465
|
+
"isESM": true,
|
|
466
|
+
"relativePath": [
|
|
467
|
+
"dist",
|
|
468
|
+
"commands",
|
|
469
|
+
"assembly",
|
|
470
|
+
"check.js"
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
"assembly:delete": {
|
|
474
|
+
"aliases": [],
|
|
475
|
+
"args": {},
|
|
476
|
+
"description": "Assemblies to delete may be names or IDs",
|
|
477
|
+
"examples": [
|
|
478
|
+
{
|
|
479
|
+
"description": "Delete multiple assemblies using name or ID:",
|
|
480
|
+
"command": "<%= config.bin %> <%= command.id %> -a mouse 6605826fbd0eee691f83e73f"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"flags": {
|
|
484
|
+
"profile": {
|
|
485
|
+
"description": "Use credentials from this profile",
|
|
486
|
+
"name": "profile",
|
|
487
|
+
"hasDynamicHelp": false,
|
|
488
|
+
"multiple": false,
|
|
489
|
+
"type": "option"
|
|
490
|
+
},
|
|
491
|
+
"config-file": {
|
|
492
|
+
"description": "Use this config file (mostly for testing)",
|
|
493
|
+
"name": "config-file",
|
|
494
|
+
"hasDynamicHelp": false,
|
|
495
|
+
"multiple": false,
|
|
496
|
+
"type": "option"
|
|
497
|
+
},
|
|
498
|
+
"assembly": {
|
|
499
|
+
"char": "a",
|
|
500
|
+
"description": "Assembly names or IDs to delete",
|
|
501
|
+
"name": "assembly",
|
|
502
|
+
"required": true,
|
|
503
|
+
"hasDynamicHelp": false,
|
|
504
|
+
"multiple": true,
|
|
505
|
+
"type": "option"
|
|
506
|
+
},
|
|
507
|
+
"verbose": {
|
|
508
|
+
"char": "v",
|
|
509
|
+
"description": "Print to stdout the array of assemblies deleted",
|
|
510
|
+
"name": "verbose",
|
|
511
|
+
"allowNo": false,
|
|
512
|
+
"type": "boolean"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
"hasDynamicHelp": false,
|
|
516
|
+
"hiddenAliases": [],
|
|
517
|
+
"id": "assembly:delete",
|
|
518
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
519
|
+
"pluginName": "@apollo-annotation/cli",
|
|
520
|
+
"pluginType": "core",
|
|
521
|
+
"strict": true,
|
|
522
|
+
"summary": "Delete assemblies",
|
|
523
|
+
"enableJsonFlag": false,
|
|
524
|
+
"isESM": true,
|
|
525
|
+
"relativePath": [
|
|
526
|
+
"dist",
|
|
527
|
+
"commands",
|
|
528
|
+
"assembly",
|
|
529
|
+
"delete.js"
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
"assembly:get": {
|
|
533
|
+
"aliases": [],
|
|
534
|
+
"args": {},
|
|
535
|
+
"description": "Print to stdout the list of assemblies in json format",
|
|
536
|
+
"flags": {
|
|
537
|
+
"profile": {
|
|
538
|
+
"description": "Use credentials from this profile",
|
|
539
|
+
"name": "profile",
|
|
540
|
+
"hasDynamicHelp": false,
|
|
541
|
+
"multiple": false,
|
|
542
|
+
"type": "option"
|
|
543
|
+
},
|
|
544
|
+
"config-file": {
|
|
545
|
+
"description": "Use this config file (mostly for testing)",
|
|
546
|
+
"name": "config-file",
|
|
547
|
+
"hasDynamicHelp": false,
|
|
548
|
+
"multiple": false,
|
|
549
|
+
"type": "option"
|
|
550
|
+
},
|
|
551
|
+
"assembly": {
|
|
552
|
+
"char": "a",
|
|
553
|
+
"description": "Get assemblies in this list of names or IDs",
|
|
554
|
+
"name": "assembly",
|
|
555
|
+
"hasDynamicHelp": false,
|
|
556
|
+
"multiple": true,
|
|
557
|
+
"type": "option"
|
|
558
|
+
}
|
|
559
|
+
},
|
|
560
|
+
"hasDynamicHelp": false,
|
|
561
|
+
"hiddenAliases": [],
|
|
562
|
+
"id": "assembly:get",
|
|
563
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
564
|
+
"pluginName": "@apollo-annotation/cli",
|
|
565
|
+
"pluginType": "core",
|
|
566
|
+
"strict": true,
|
|
567
|
+
"summary": "Get available assemblies",
|
|
568
|
+
"enableJsonFlag": false,
|
|
569
|
+
"isESM": true,
|
|
570
|
+
"relativePath": [
|
|
571
|
+
"dist",
|
|
572
|
+
"commands",
|
|
573
|
+
"assembly",
|
|
574
|
+
"get.js"
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"assembly:sequence": {
|
|
578
|
+
"aliases": [],
|
|
579
|
+
"args": {},
|
|
580
|
+
"description": "Return the reference sequence for a given assembly and coordinates",
|
|
581
|
+
"examples": [
|
|
582
|
+
{
|
|
583
|
+
"description": "Get all sequences in myAssembly:",
|
|
584
|
+
"command": "<%= config.bin %> <%= command.id %> -a myAssembly"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"description": "Get sequence in coordinates chr1:1..1000:",
|
|
588
|
+
"command": "<%= config.bin %> <%= command.id %> -a myAssembly -r chr1 -s 1 -e 1000"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"flags": {
|
|
592
|
+
"profile": {
|
|
593
|
+
"description": "Use credentials from this profile",
|
|
594
|
+
"name": "profile",
|
|
595
|
+
"hasDynamicHelp": false,
|
|
596
|
+
"multiple": false,
|
|
597
|
+
"type": "option"
|
|
598
|
+
},
|
|
599
|
+
"config-file": {
|
|
600
|
+
"description": "Use this config file (mostly for testing)",
|
|
601
|
+
"name": "config-file",
|
|
602
|
+
"hasDynamicHelp": false,
|
|
603
|
+
"multiple": false,
|
|
604
|
+
"type": "option"
|
|
605
|
+
},
|
|
606
|
+
"assembly": {
|
|
607
|
+
"char": "a",
|
|
608
|
+
"description": "Find input reference sequence in this assembly",
|
|
609
|
+
"name": "assembly",
|
|
610
|
+
"hasDynamicHelp": false,
|
|
611
|
+
"multiple": false,
|
|
612
|
+
"type": "option"
|
|
613
|
+
},
|
|
614
|
+
"refseq": {
|
|
615
|
+
"char": "r",
|
|
616
|
+
"description": "Reference sequence. If unset, get all sequences",
|
|
617
|
+
"name": "refseq",
|
|
618
|
+
"hasDynamicHelp": false,
|
|
619
|
+
"multiple": false,
|
|
620
|
+
"type": "option"
|
|
621
|
+
},
|
|
622
|
+
"start": {
|
|
623
|
+
"char": "s",
|
|
624
|
+
"description": "Start coordinate (1-based)",
|
|
625
|
+
"name": "start",
|
|
626
|
+
"default": 1,
|
|
627
|
+
"hasDynamicHelp": false,
|
|
628
|
+
"multiple": false,
|
|
629
|
+
"type": "option"
|
|
630
|
+
},
|
|
631
|
+
"end": {
|
|
632
|
+
"char": "e",
|
|
633
|
+
"description": "End coordinate",
|
|
634
|
+
"name": "end",
|
|
635
|
+
"hasDynamicHelp": false,
|
|
636
|
+
"multiple": false,
|
|
637
|
+
"type": "option"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"hasDynamicHelp": false,
|
|
641
|
+
"hiddenAliases": [],
|
|
642
|
+
"id": "assembly:sequence",
|
|
643
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
644
|
+
"pluginName": "@apollo-annotation/cli",
|
|
645
|
+
"pluginType": "core",
|
|
646
|
+
"strict": true,
|
|
647
|
+
"summary": "Get reference sequence in fasta format",
|
|
648
|
+
"enableJsonFlag": false,
|
|
649
|
+
"isESM": true,
|
|
650
|
+
"relativePath": [
|
|
651
|
+
"dist",
|
|
652
|
+
"commands",
|
|
653
|
+
"assembly",
|
|
654
|
+
"sequence.js"
|
|
655
|
+
]
|
|
656
|
+
},
|
|
657
|
+
"refseq:get": {
|
|
658
|
+
"aliases": [],
|
|
659
|
+
"args": {},
|
|
660
|
+
"description": "Output the reference sequences in one or more assemblies in json format. This\ncommand returns the sequence characteristics (e.g., name, ID, etc), not the DNA\nsequences. Use `assembly sequence` for that.",
|
|
661
|
+
"examples": [
|
|
662
|
+
{
|
|
663
|
+
"description": "All sequences in the database:",
|
|
664
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"description": "Only sequences for these assemblies:",
|
|
668
|
+
"command": "<%= config.bin %> <%= command.id %> -a mm9 mm10"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"flags": {
|
|
672
|
+
"profile": {
|
|
673
|
+
"description": "Use credentials from this profile",
|
|
674
|
+
"name": "profile",
|
|
675
|
+
"hasDynamicHelp": false,
|
|
676
|
+
"multiple": false,
|
|
677
|
+
"type": "option"
|
|
678
|
+
},
|
|
679
|
+
"config-file": {
|
|
680
|
+
"description": "Use this config file (mostly for testing)",
|
|
681
|
+
"name": "config-file",
|
|
682
|
+
"hasDynamicHelp": false,
|
|
683
|
+
"multiple": false,
|
|
684
|
+
"type": "option"
|
|
685
|
+
},
|
|
686
|
+
"assembly": {
|
|
687
|
+
"char": "a",
|
|
688
|
+
"description": "Get reference sequences for these assembly names or IDs; use - to read it from stdin",
|
|
689
|
+
"name": "assembly",
|
|
690
|
+
"hasDynamicHelp": false,
|
|
691
|
+
"multiple": true,
|
|
692
|
+
"type": "option"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
"hasDynamicHelp": false,
|
|
696
|
+
"hiddenAliases": [],
|
|
697
|
+
"id": "refseq:get",
|
|
698
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
699
|
+
"pluginName": "@apollo-annotation/cli",
|
|
700
|
+
"pluginType": "core",
|
|
701
|
+
"strict": true,
|
|
702
|
+
"summary": "Get reference sequences",
|
|
703
|
+
"enableJsonFlag": false,
|
|
704
|
+
"isESM": true,
|
|
705
|
+
"relativePath": [
|
|
706
|
+
"dist",
|
|
707
|
+
"commands",
|
|
708
|
+
"refseq",
|
|
709
|
+
"get.js"
|
|
710
|
+
]
|
|
711
|
+
},
|
|
712
|
+
"user:get": {
|
|
713
|
+
"aliases": [],
|
|
714
|
+
"args": {},
|
|
715
|
+
"description": "If set, filters username and role must be both satisfied to return an entry",
|
|
716
|
+
"examples": [
|
|
717
|
+
{
|
|
718
|
+
"description": "By username:",
|
|
719
|
+
"command": "<%= config.bin %> <%= command.id %> -u Guest"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"description": "By role:",
|
|
723
|
+
"command": "<%= config.bin %> <%= command.id %> -r admin"
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"description": "Use jq for more control:",
|
|
727
|
+
"command": "<%= config.bin %> <%= command.id %> | jq '.[] | select(.createdAt > \"2024-03-18\")'"
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"flags": {
|
|
731
|
+
"profile": {
|
|
732
|
+
"description": "Use credentials from this profile",
|
|
733
|
+
"name": "profile",
|
|
734
|
+
"hasDynamicHelp": false,
|
|
735
|
+
"multiple": false,
|
|
736
|
+
"type": "option"
|
|
737
|
+
},
|
|
738
|
+
"config-file": {
|
|
739
|
+
"description": "Use this config file (mostly for testing)",
|
|
740
|
+
"name": "config-file",
|
|
741
|
+
"hasDynamicHelp": false,
|
|
742
|
+
"multiple": false,
|
|
743
|
+
"type": "option"
|
|
744
|
+
},
|
|
745
|
+
"username": {
|
|
746
|
+
"char": "u",
|
|
747
|
+
"description": "Find this username",
|
|
748
|
+
"name": "username",
|
|
749
|
+
"hasDynamicHelp": false,
|
|
750
|
+
"multiple": false,
|
|
751
|
+
"type": "option"
|
|
752
|
+
},
|
|
753
|
+
"role": {
|
|
754
|
+
"char": "r",
|
|
755
|
+
"description": "Get users with this role",
|
|
756
|
+
"name": "role",
|
|
757
|
+
"hasDynamicHelp": false,
|
|
758
|
+
"multiple": false,
|
|
759
|
+
"type": "option"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"hasDynamicHelp": false,
|
|
763
|
+
"hiddenAliases": [],
|
|
764
|
+
"id": "user:get",
|
|
765
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
766
|
+
"pluginName": "@apollo-annotation/cli",
|
|
767
|
+
"pluginType": "core",
|
|
768
|
+
"strict": true,
|
|
769
|
+
"summary": "Get list of users",
|
|
770
|
+
"enableJsonFlag": false,
|
|
771
|
+
"isESM": true,
|
|
772
|
+
"relativePath": [
|
|
773
|
+
"dist",
|
|
774
|
+
"commands",
|
|
775
|
+
"user",
|
|
776
|
+
"get.js"
|
|
777
|
+
]
|
|
778
|
+
},
|
|
779
|
+
"change:get": {
|
|
780
|
+
"aliases": [],
|
|
781
|
+
"args": {},
|
|
782
|
+
"description": "Return the change log in json format. Note that when an assembly is deleted the\nlink between common name and ID is lost (it can still be recovered by inspecting\nthe change log but at present this task is left to the user). In such cases you\nneed to use the assembly ID.",
|
|
783
|
+
"flags": {
|
|
784
|
+
"profile": {
|
|
785
|
+
"description": "Use credentials from this profile",
|
|
786
|
+
"name": "profile",
|
|
787
|
+
"hasDynamicHelp": false,
|
|
788
|
+
"multiple": false,
|
|
789
|
+
"type": "option"
|
|
790
|
+
},
|
|
791
|
+
"config-file": {
|
|
792
|
+
"description": "Use this config file (mostly for testing)",
|
|
793
|
+
"name": "config-file",
|
|
794
|
+
"hasDynamicHelp": false,
|
|
795
|
+
"multiple": false,
|
|
796
|
+
"type": "option"
|
|
797
|
+
},
|
|
798
|
+
"assembly": {
|
|
799
|
+
"char": "a",
|
|
800
|
+
"description": "Get changes only for these assembly names or IDs (but see description)",
|
|
801
|
+
"name": "assembly",
|
|
802
|
+
"hasDynamicHelp": false,
|
|
803
|
+
"multiple": true,
|
|
804
|
+
"type": "option"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"hasDynamicHelp": false,
|
|
808
|
+
"hiddenAliases": [],
|
|
809
|
+
"id": "change:get",
|
|
810
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
811
|
+
"pluginName": "@apollo-annotation/cli",
|
|
812
|
+
"pluginType": "core",
|
|
813
|
+
"strict": true,
|
|
814
|
+
"summary": "Get list of changes",
|
|
815
|
+
"enableJsonFlag": false,
|
|
816
|
+
"isESM": true,
|
|
817
|
+
"relativePath": [
|
|
818
|
+
"dist",
|
|
819
|
+
"commands",
|
|
820
|
+
"change",
|
|
821
|
+
"get.js"
|
|
822
|
+
]
|
|
823
|
+
},
|
|
824
|
+
"feature:add-child": {
|
|
825
|
+
"aliases": [],
|
|
826
|
+
"args": {},
|
|
827
|
+
"description": "See the other commands under `apollo feature` to retrive the parent ID of\ninterest and to populate the child feature with attributes.",
|
|
828
|
+
"examples": [
|
|
829
|
+
{
|
|
830
|
+
"description": "Add an exon at genomic coordinates 10..20 to this feature ID:",
|
|
831
|
+
"command": "<%= config.bin %> <%= command.id %> -i 6605826fbd0eee691f83e73f -t exon -s 10 -e 20"
|
|
832
|
+
}
|
|
833
|
+
],
|
|
834
|
+
"flags": {
|
|
835
|
+
"profile": {
|
|
836
|
+
"description": "Use credentials from this profile",
|
|
837
|
+
"name": "profile",
|
|
838
|
+
"hasDynamicHelp": false,
|
|
839
|
+
"multiple": false,
|
|
840
|
+
"type": "option"
|
|
841
|
+
},
|
|
842
|
+
"config-file": {
|
|
843
|
+
"description": "Use this config file (mostly for testing)",
|
|
844
|
+
"name": "config-file",
|
|
845
|
+
"hasDynamicHelp": false,
|
|
846
|
+
"multiple": false,
|
|
847
|
+
"type": "option"
|
|
848
|
+
},
|
|
849
|
+
"feature-id": {
|
|
850
|
+
"char": "i",
|
|
851
|
+
"description": "Add a child to this feature ID; use - to read it from stdin",
|
|
852
|
+
"name": "feature-id",
|
|
853
|
+
"default": "-",
|
|
854
|
+
"hasDynamicHelp": false,
|
|
855
|
+
"multiple": false,
|
|
856
|
+
"type": "option"
|
|
857
|
+
},
|
|
858
|
+
"start": {
|
|
859
|
+
"char": "s",
|
|
860
|
+
"description": "Start coordinate of the child feature (1-based)",
|
|
861
|
+
"name": "start",
|
|
862
|
+
"required": true,
|
|
863
|
+
"hasDynamicHelp": false,
|
|
864
|
+
"multiple": false,
|
|
865
|
+
"type": "option"
|
|
866
|
+
},
|
|
867
|
+
"end": {
|
|
868
|
+
"char": "e",
|
|
869
|
+
"description": "End coordinate of the child feature (1-based)",
|
|
870
|
+
"name": "end",
|
|
871
|
+
"required": true,
|
|
872
|
+
"hasDynamicHelp": false,
|
|
873
|
+
"multiple": false,
|
|
874
|
+
"type": "option"
|
|
875
|
+
},
|
|
876
|
+
"type": {
|
|
877
|
+
"char": "t",
|
|
878
|
+
"description": "Type of child feature",
|
|
879
|
+
"name": "type",
|
|
880
|
+
"required": true,
|
|
881
|
+
"hasDynamicHelp": false,
|
|
882
|
+
"multiple": false,
|
|
883
|
+
"type": "option"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
"hasDynamicHelp": false,
|
|
887
|
+
"hiddenAliases": [],
|
|
888
|
+
"id": "feature:add-child",
|
|
889
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
890
|
+
"pluginName": "@apollo-annotation/cli",
|
|
891
|
+
"pluginType": "core",
|
|
892
|
+
"strict": true,
|
|
893
|
+
"summary": "Add a child feature (e.g. add an exon to an mRNA)",
|
|
894
|
+
"enableJsonFlag": false,
|
|
895
|
+
"isESM": true,
|
|
896
|
+
"relativePath": [
|
|
897
|
+
"dist",
|
|
898
|
+
"commands",
|
|
899
|
+
"feature",
|
|
900
|
+
"add-child.js"
|
|
901
|
+
]
|
|
902
|
+
},
|
|
903
|
+
"feature:check": {
|
|
904
|
+
"aliases": [],
|
|
905
|
+
"args": {},
|
|
906
|
+
"description": "Use this command to view which features fail checks along with the reason for\nfailing. Use `apollo assembly check` for managing which checks should be applied\nto an assembly",
|
|
907
|
+
"examples": [
|
|
908
|
+
{
|
|
909
|
+
"description": "Get all check results in the database:",
|
|
910
|
+
"command": "<%= config.bin %> <%= command.id %>"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"description": "Get check results for assembly hg19:",
|
|
914
|
+
"command": "<%= config.bin %> <%= command.id %> -a hg19"
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"flags": {
|
|
918
|
+
"profile": {
|
|
919
|
+
"description": "Use credentials from this profile",
|
|
920
|
+
"name": "profile",
|
|
921
|
+
"hasDynamicHelp": false,
|
|
922
|
+
"multiple": false,
|
|
923
|
+
"type": "option"
|
|
924
|
+
},
|
|
925
|
+
"config-file": {
|
|
926
|
+
"description": "Use this config file (mostly for testing)",
|
|
927
|
+
"name": "config-file",
|
|
928
|
+
"hasDynamicHelp": false,
|
|
929
|
+
"multiple": false,
|
|
930
|
+
"type": "option"
|
|
931
|
+
},
|
|
932
|
+
"feature-id": {
|
|
933
|
+
"char": "i",
|
|
934
|
+
"description": "Get checks for these feature identifiers",
|
|
935
|
+
"name": "feature-id",
|
|
936
|
+
"hasDynamicHelp": false,
|
|
937
|
+
"multiple": true,
|
|
938
|
+
"type": "option"
|
|
939
|
+
},
|
|
940
|
+
"assembly": {
|
|
941
|
+
"char": "a",
|
|
942
|
+
"description": "Get checks for this assembly",
|
|
943
|
+
"name": "assembly",
|
|
944
|
+
"hasDynamicHelp": false,
|
|
945
|
+
"multiple": false,
|
|
946
|
+
"type": "option"
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
"hasDynamicHelp": false,
|
|
950
|
+
"hiddenAliases": [],
|
|
951
|
+
"id": "feature:check",
|
|
952
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
953
|
+
"pluginName": "@apollo-annotation/cli",
|
|
954
|
+
"pluginType": "core",
|
|
955
|
+
"strict": true,
|
|
956
|
+
"summary": "Get check results",
|
|
957
|
+
"enableJsonFlag": false,
|
|
958
|
+
"isESM": true,
|
|
959
|
+
"relativePath": [
|
|
960
|
+
"dist",
|
|
961
|
+
"commands",
|
|
962
|
+
"feature",
|
|
963
|
+
"check.js"
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
"feature:copy": {
|
|
967
|
+
"aliases": [],
|
|
968
|
+
"args": {},
|
|
969
|
+
"description": "The feature may be copied to the same or to a different assembly. he destination\nreference sequence may be selected by name only if unique in the database or by\nname and assembly or by identifier.",
|
|
970
|
+
"examples": [
|
|
971
|
+
{
|
|
972
|
+
"description": "Copy this feature ID to chr1:100 in assembly hg38:",
|
|
973
|
+
"command": "<%= config.bin %> <%= command.id %> -i 6605826fbd0eee691f83e73f -r chr1 -s 100 -a hg38"
|
|
974
|
+
}
|
|
975
|
+
],
|
|
976
|
+
"flags": {
|
|
977
|
+
"profile": {
|
|
978
|
+
"description": "Use credentials from this profile",
|
|
979
|
+
"name": "profile",
|
|
980
|
+
"hasDynamicHelp": false,
|
|
981
|
+
"multiple": false,
|
|
982
|
+
"type": "option"
|
|
983
|
+
},
|
|
984
|
+
"config-file": {
|
|
985
|
+
"description": "Use this config file (mostly for testing)",
|
|
986
|
+
"name": "config-file",
|
|
987
|
+
"hasDynamicHelp": false,
|
|
988
|
+
"multiple": false,
|
|
989
|
+
"type": "option"
|
|
990
|
+
},
|
|
991
|
+
"feature-id": {
|
|
992
|
+
"char": "i",
|
|
993
|
+
"description": "Feature ID to copy to; use - to read it from stdin",
|
|
994
|
+
"name": "feature-id",
|
|
995
|
+
"default": "-",
|
|
996
|
+
"hasDynamicHelp": false,
|
|
997
|
+
"multiple": false,
|
|
998
|
+
"type": "option"
|
|
999
|
+
},
|
|
1000
|
+
"refseq": {
|
|
1001
|
+
"char": "r",
|
|
1002
|
+
"description": "Name or ID of target reference sequence",
|
|
1003
|
+
"name": "refseq",
|
|
1004
|
+
"required": true,
|
|
1005
|
+
"hasDynamicHelp": false,
|
|
1006
|
+
"multiple": false,
|
|
1007
|
+
"type": "option"
|
|
1008
|
+
},
|
|
1009
|
+
"start": {
|
|
1010
|
+
"char": "s",
|
|
1011
|
+
"description": "Start position in target reference sequence",
|
|
1012
|
+
"name": "start",
|
|
1013
|
+
"required": true,
|
|
1014
|
+
"hasDynamicHelp": false,
|
|
1015
|
+
"multiple": false,
|
|
1016
|
+
"type": "option"
|
|
1017
|
+
},
|
|
1018
|
+
"assembly": {
|
|
1019
|
+
"char": "a",
|
|
1020
|
+
"description": "Name or ID of target assembly. Not required if refseq is unique in the database",
|
|
1021
|
+
"name": "assembly",
|
|
1022
|
+
"required": false,
|
|
1023
|
+
"hasDynamicHelp": false,
|
|
1024
|
+
"multiple": false,
|
|
1025
|
+
"type": "option"
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
"hasDynamicHelp": false,
|
|
1029
|
+
"hiddenAliases": [],
|
|
1030
|
+
"id": "feature:copy",
|
|
1031
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1032
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1033
|
+
"pluginType": "core",
|
|
1034
|
+
"strict": true,
|
|
1035
|
+
"summary": "Copy a feature to another location",
|
|
1036
|
+
"enableJsonFlag": false,
|
|
1037
|
+
"isESM": true,
|
|
1038
|
+
"relativePath": [
|
|
1039
|
+
"dist",
|
|
1040
|
+
"commands",
|
|
1041
|
+
"feature",
|
|
1042
|
+
"copy.js"
|
|
1043
|
+
]
|
|
1044
|
+
},
|
|
1045
|
+
"feature:delete": {
|
|
1046
|
+
"aliases": [],
|
|
1047
|
+
"args": {},
|
|
1048
|
+
"description": "Note that deleting a child feature after deleting its parent will result in an\nerror unless you set -f/--force.",
|
|
1049
|
+
"flags": {
|
|
1050
|
+
"profile": {
|
|
1051
|
+
"description": "Use credentials from this profile",
|
|
1052
|
+
"name": "profile",
|
|
1053
|
+
"hasDynamicHelp": false,
|
|
1054
|
+
"multiple": false,
|
|
1055
|
+
"type": "option"
|
|
1056
|
+
},
|
|
1057
|
+
"config-file": {
|
|
1058
|
+
"description": "Use this config file (mostly for testing)",
|
|
1059
|
+
"name": "config-file",
|
|
1060
|
+
"hasDynamicHelp": false,
|
|
1061
|
+
"multiple": false,
|
|
1062
|
+
"type": "option"
|
|
1063
|
+
},
|
|
1064
|
+
"feature-id": {
|
|
1065
|
+
"char": "i",
|
|
1066
|
+
"description": "Feature IDs to delete",
|
|
1067
|
+
"name": "feature-id",
|
|
1068
|
+
"default": [
|
|
1069
|
+
"-"
|
|
1070
|
+
],
|
|
1071
|
+
"hasDynamicHelp": false,
|
|
1072
|
+
"multiple": true,
|
|
1073
|
+
"type": "option"
|
|
1074
|
+
},
|
|
1075
|
+
"force": {
|
|
1076
|
+
"char": "f",
|
|
1077
|
+
"description": "Ignore non-existing features",
|
|
1078
|
+
"name": "force",
|
|
1079
|
+
"allowNo": false,
|
|
1080
|
+
"type": "boolean"
|
|
1081
|
+
},
|
|
1082
|
+
"dry-run": {
|
|
1083
|
+
"char": "n",
|
|
1084
|
+
"description": "Only show what would be delete",
|
|
1085
|
+
"name": "dry-run",
|
|
1086
|
+
"allowNo": false,
|
|
1087
|
+
"type": "boolean"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"hasDynamicHelp": false,
|
|
1091
|
+
"hiddenAliases": [],
|
|
1092
|
+
"id": "feature:delete",
|
|
1093
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1094
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1095
|
+
"pluginType": "core",
|
|
1096
|
+
"strict": true,
|
|
1097
|
+
"summary": "Delete one or more features by ID",
|
|
1098
|
+
"enableJsonFlag": false,
|
|
1099
|
+
"isESM": true,
|
|
1100
|
+
"relativePath": [
|
|
1101
|
+
"dist",
|
|
1102
|
+
"commands",
|
|
1103
|
+
"feature",
|
|
1104
|
+
"delete.js"
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1107
|
+
"feature:edit-attribute": {
|
|
1108
|
+
"aliases": [],
|
|
1109
|
+
"args": {},
|
|
1110
|
+
"description": "Be aware that there is no checking whether attributes names and values are\nvalid. For example, you can create non-unique ID attributes or you can set gene\nontology terms to non-existing terms",
|
|
1111
|
+
"examples": [
|
|
1112
|
+
{
|
|
1113
|
+
"description": "Add attribute \"domains\" with a list of values:",
|
|
1114
|
+
"command": "<%= config.bin %> <%= command.id %> -i 66...3f -a domains -v ABC PLD"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"description": "Print values in \"domains\" as json array:",
|
|
1118
|
+
"command": "<%= config.bin %> <%= command.id %> -i 66...3f -a domains"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"description": "Delete attribute \"domains\"",
|
|
1122
|
+
"command": "<%= config.bin %> <%= command.id %> -i 66...3f -a domains -d"
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"flags": {
|
|
1126
|
+
"profile": {
|
|
1127
|
+
"description": "Use credentials from this profile",
|
|
1128
|
+
"name": "profile",
|
|
1129
|
+
"hasDynamicHelp": false,
|
|
1130
|
+
"multiple": false,
|
|
1131
|
+
"type": "option"
|
|
1132
|
+
},
|
|
1133
|
+
"config-file": {
|
|
1134
|
+
"description": "Use this config file (mostly for testing)",
|
|
1135
|
+
"name": "config-file",
|
|
1136
|
+
"hasDynamicHelp": false,
|
|
1137
|
+
"multiple": false,
|
|
1138
|
+
"type": "option"
|
|
1139
|
+
},
|
|
1140
|
+
"feature-id": {
|
|
1141
|
+
"char": "i",
|
|
1142
|
+
"description": "Feature ID to edit or \"-\" to read it from stdin",
|
|
1143
|
+
"name": "feature-id",
|
|
1144
|
+
"default": "-",
|
|
1145
|
+
"hasDynamicHelp": false,
|
|
1146
|
+
"multiple": false,
|
|
1147
|
+
"type": "option"
|
|
1148
|
+
},
|
|
1149
|
+
"attribute": {
|
|
1150
|
+
"char": "a",
|
|
1151
|
+
"description": "Attribute key to add or edit",
|
|
1152
|
+
"name": "attribute",
|
|
1153
|
+
"required": true,
|
|
1154
|
+
"hasDynamicHelp": false,
|
|
1155
|
+
"multiple": false,
|
|
1156
|
+
"type": "option"
|
|
1157
|
+
},
|
|
1158
|
+
"value": {
|
|
1159
|
+
"char": "v",
|
|
1160
|
+
"description": "New attribute value. Separated mutliple values by space to them as a list. If unset return current value",
|
|
1161
|
+
"name": "value",
|
|
1162
|
+
"hasDynamicHelp": false,
|
|
1163
|
+
"multiple": true,
|
|
1164
|
+
"type": "option"
|
|
1165
|
+
},
|
|
1166
|
+
"delete": {
|
|
1167
|
+
"char": "d",
|
|
1168
|
+
"description": "Delete this attribute",
|
|
1169
|
+
"name": "delete",
|
|
1170
|
+
"allowNo": false,
|
|
1171
|
+
"type": "boolean"
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
"hasDynamicHelp": false,
|
|
1175
|
+
"hiddenAliases": [],
|
|
1176
|
+
"id": "feature:edit-attribute",
|
|
1177
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1178
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1179
|
+
"pluginType": "core",
|
|
1180
|
+
"strict": true,
|
|
1181
|
+
"summary": "Add, edit, or view a feature attribute",
|
|
1182
|
+
"enableJsonFlag": false,
|
|
1183
|
+
"isESM": true,
|
|
1184
|
+
"relativePath": [
|
|
1185
|
+
"dist",
|
|
1186
|
+
"commands",
|
|
1187
|
+
"feature",
|
|
1188
|
+
"edit-attribute.js"
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1191
|
+
"feature:edit-coords": {
|
|
1192
|
+
"aliases": [],
|
|
1193
|
+
"args": {},
|
|
1194
|
+
"description": "If editing a child feature that new coordinates must be within the parent's\ncoordinates. To get the identifier of the feature to edit consider using `apollo\nfeature get` or `apollo feature search`",
|
|
1195
|
+
"examples": [
|
|
1196
|
+
{
|
|
1197
|
+
"description": "Edit start and end:",
|
|
1198
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...xyz -s 10 -e 1000"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"description": "Edit end and leave start as it is:",
|
|
1202
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...xyz -e 2000"
|
|
1203
|
+
}
|
|
1204
|
+
],
|
|
1205
|
+
"flags": {
|
|
1206
|
+
"profile": {
|
|
1207
|
+
"description": "Use credentials from this profile",
|
|
1208
|
+
"name": "profile",
|
|
1209
|
+
"hasDynamicHelp": false,
|
|
1210
|
+
"multiple": false,
|
|
1211
|
+
"type": "option"
|
|
1212
|
+
},
|
|
1213
|
+
"config-file": {
|
|
1214
|
+
"description": "Use this config file (mostly for testing)",
|
|
1215
|
+
"name": "config-file",
|
|
1216
|
+
"hasDynamicHelp": false,
|
|
1217
|
+
"multiple": false,
|
|
1218
|
+
"type": "option"
|
|
1219
|
+
},
|
|
1220
|
+
"feature-id": {
|
|
1221
|
+
"char": "i",
|
|
1222
|
+
"description": "Feature ID to edit or \"-\" to read it from stdin",
|
|
1223
|
+
"name": "feature-id",
|
|
1224
|
+
"default": "-",
|
|
1225
|
+
"hasDynamicHelp": false,
|
|
1226
|
+
"multiple": false,
|
|
1227
|
+
"type": "option"
|
|
1228
|
+
},
|
|
1229
|
+
"start": {
|
|
1230
|
+
"char": "s",
|
|
1231
|
+
"description": "New start coordinate (1-based)",
|
|
1232
|
+
"name": "start",
|
|
1233
|
+
"hasDynamicHelp": false,
|
|
1234
|
+
"multiple": false,
|
|
1235
|
+
"type": "option"
|
|
1236
|
+
},
|
|
1237
|
+
"end": {
|
|
1238
|
+
"char": "e",
|
|
1239
|
+
"description": "New end coordinate (1-based)",
|
|
1240
|
+
"name": "end",
|
|
1241
|
+
"hasDynamicHelp": false,
|
|
1242
|
+
"multiple": false,
|
|
1243
|
+
"type": "option"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"hasDynamicHelp": false,
|
|
1247
|
+
"hiddenAliases": [],
|
|
1248
|
+
"id": "feature:edit-coords",
|
|
1249
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1250
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1251
|
+
"pluginType": "core",
|
|
1252
|
+
"strict": true,
|
|
1253
|
+
"summary": "Edit feature start and/or end coordinates",
|
|
1254
|
+
"enableJsonFlag": false,
|
|
1255
|
+
"isESM": true,
|
|
1256
|
+
"relativePath": [
|
|
1257
|
+
"dist",
|
|
1258
|
+
"commands",
|
|
1259
|
+
"feature",
|
|
1260
|
+
"edit-coords.js"
|
|
1261
|
+
]
|
|
1262
|
+
},
|
|
1263
|
+
"feature:edit-type": {
|
|
1264
|
+
"aliases": [],
|
|
1265
|
+
"args": {},
|
|
1266
|
+
"description": "Feature type is column 3 in gff format. It must be a valid sequence ontology\nterm although but the valifdity of the new term is not checked.",
|
|
1267
|
+
"flags": {
|
|
1268
|
+
"profile": {
|
|
1269
|
+
"description": "Use credentials from this profile",
|
|
1270
|
+
"name": "profile",
|
|
1271
|
+
"hasDynamicHelp": false,
|
|
1272
|
+
"multiple": false,
|
|
1273
|
+
"type": "option"
|
|
1274
|
+
},
|
|
1275
|
+
"config-file": {
|
|
1276
|
+
"description": "Use this config file (mostly for testing)",
|
|
1277
|
+
"name": "config-file",
|
|
1278
|
+
"hasDynamicHelp": false,
|
|
1279
|
+
"multiple": false,
|
|
1280
|
+
"type": "option"
|
|
1281
|
+
},
|
|
1282
|
+
"feature-id": {
|
|
1283
|
+
"char": "i",
|
|
1284
|
+
"description": "Feature ID to edit or \"-\" to read it from stdin",
|
|
1285
|
+
"name": "feature-id",
|
|
1286
|
+
"default": "-",
|
|
1287
|
+
"hasDynamicHelp": false,
|
|
1288
|
+
"multiple": false,
|
|
1289
|
+
"type": "option"
|
|
1290
|
+
},
|
|
1291
|
+
"type": {
|
|
1292
|
+
"char": "t",
|
|
1293
|
+
"description": "Assign feature to this type. If unset return the current type",
|
|
1294
|
+
"name": "type",
|
|
1295
|
+
"hasDynamicHelp": false,
|
|
1296
|
+
"multiple": false,
|
|
1297
|
+
"type": "option"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
"hasDynamicHelp": false,
|
|
1301
|
+
"hiddenAliases": [],
|
|
1302
|
+
"id": "feature:edit-type",
|
|
1303
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1304
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1305
|
+
"pluginType": "core",
|
|
1306
|
+
"strict": true,
|
|
1307
|
+
"summary": "Edit or view feature type",
|
|
1308
|
+
"enableJsonFlag": false,
|
|
1309
|
+
"isESM": true,
|
|
1310
|
+
"relativePath": [
|
|
1311
|
+
"dist",
|
|
1312
|
+
"commands",
|
|
1313
|
+
"feature",
|
|
1314
|
+
"edit-type.js"
|
|
1315
|
+
]
|
|
1316
|
+
},
|
|
1317
|
+
"feature:edit": {
|
|
1318
|
+
"aliases": [],
|
|
1319
|
+
"args": {},
|
|
1320
|
+
"description": "Edit a feature by submitting a json input with all the required attributes for\nApollo to process it. This is a very low level command which most users probably\ndo not need.\n\n Input may be a json string or a json file and it may be an array of changes.\nThis 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 }",
|
|
1321
|
+
"examples": [
|
|
1322
|
+
{
|
|
1323
|
+
"description": "Editing by passing a json to stdin:",
|
|
1324
|
+
"command": "echo '{\"typeName\": ... \"newType\": \"G_quartet\"}' | <%= config.bin %> <%= command.id %> -j -"
|
|
1325
|
+
}
|
|
1326
|
+
],
|
|
1327
|
+
"flags": {
|
|
1328
|
+
"profile": {
|
|
1329
|
+
"description": "Use credentials from this profile",
|
|
1330
|
+
"name": "profile",
|
|
1331
|
+
"hasDynamicHelp": false,
|
|
1332
|
+
"multiple": false,
|
|
1333
|
+
"type": "option"
|
|
1334
|
+
},
|
|
1335
|
+
"config-file": {
|
|
1336
|
+
"description": "Use this config file (mostly for testing)",
|
|
1337
|
+
"name": "config-file",
|
|
1338
|
+
"hasDynamicHelp": false,
|
|
1339
|
+
"multiple": false,
|
|
1340
|
+
"type": "option"
|
|
1341
|
+
},
|
|
1342
|
+
"json-input": {
|
|
1343
|
+
"char": "j",
|
|
1344
|
+
"description": "Json string or json file or \"-\" to read json from stdin",
|
|
1345
|
+
"name": "json-input",
|
|
1346
|
+
"default": "-",
|
|
1347
|
+
"hasDynamicHelp": false,
|
|
1348
|
+
"multiple": false,
|
|
1349
|
+
"type": "option"
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
"hasDynamicHelp": false,
|
|
1353
|
+
"hiddenAliases": [],
|
|
1354
|
+
"id": "feature:edit",
|
|
1355
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1356
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1357
|
+
"pluginType": "core",
|
|
1358
|
+
"strict": true,
|
|
1359
|
+
"summary": "Edit features using an appropiate json input",
|
|
1360
|
+
"enableJsonFlag": false,
|
|
1361
|
+
"isESM": true,
|
|
1362
|
+
"relativePath": [
|
|
1363
|
+
"dist",
|
|
1364
|
+
"commands",
|
|
1365
|
+
"feature",
|
|
1366
|
+
"edit.js"
|
|
1367
|
+
]
|
|
1368
|
+
},
|
|
1369
|
+
"feature:get-id": {
|
|
1370
|
+
"aliases": [],
|
|
1371
|
+
"args": {},
|
|
1372
|
+
"description": "Invalid identifiers or identifiers not found in the database will be silently\nignored",
|
|
1373
|
+
"examples": [
|
|
1374
|
+
{
|
|
1375
|
+
"description": "Get features for these identifiers:",
|
|
1376
|
+
"command": "<%= config.bin %> <%= command.id %> -i abc...zyz def...foo"
|
|
1377
|
+
}
|
|
1378
|
+
],
|
|
1379
|
+
"flags": {
|
|
1380
|
+
"profile": {
|
|
1381
|
+
"description": "Use credentials from this profile",
|
|
1382
|
+
"name": "profile",
|
|
1383
|
+
"hasDynamicHelp": false,
|
|
1384
|
+
"multiple": false,
|
|
1385
|
+
"type": "option"
|
|
1386
|
+
},
|
|
1387
|
+
"config-file": {
|
|
1388
|
+
"description": "Use this config file (mostly for testing)",
|
|
1389
|
+
"name": "config-file",
|
|
1390
|
+
"hasDynamicHelp": false,
|
|
1391
|
+
"multiple": false,
|
|
1392
|
+
"type": "option"
|
|
1393
|
+
},
|
|
1394
|
+
"feature-id": {
|
|
1395
|
+
"char": "i",
|
|
1396
|
+
"description": "Retrieves feature with these IDs. Use\n\"-\" to read IDs from stdin (one per\nline)",
|
|
1397
|
+
"name": "feature-id",
|
|
1398
|
+
"default": [
|
|
1399
|
+
"-"
|
|
1400
|
+
],
|
|
1401
|
+
"hasDynamicHelp": false,
|
|
1402
|
+
"multiple": true,
|
|
1403
|
+
"type": "option"
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
"hasDynamicHelp": false,
|
|
1407
|
+
"hiddenAliases": [],
|
|
1408
|
+
"id": "feature:get-id",
|
|
1409
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1410
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1411
|
+
"pluginType": "core",
|
|
1412
|
+
"strict": true,
|
|
1413
|
+
"summary": "Get features given their identifiers",
|
|
1414
|
+
"enableJsonFlag": false,
|
|
1415
|
+
"isESM": true,
|
|
1416
|
+
"relativePath": [
|
|
1417
|
+
"dist",
|
|
1418
|
+
"commands",
|
|
1419
|
+
"feature",
|
|
1420
|
+
"get-id.js"
|
|
1421
|
+
]
|
|
1422
|
+
},
|
|
1423
|
+
"feature:get": {
|
|
1424
|
+
"aliases": [],
|
|
1425
|
+
"args": {},
|
|
1426
|
+
"description": "Get features in assembly, reference sequence or genomic window",
|
|
1427
|
+
"examples": [
|
|
1428
|
+
{
|
|
1429
|
+
"description": "Get all features in myAssembly:",
|
|
1430
|
+
"command": "<%= config.bin %> <%= command.id %> -a myAssembly"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"description": "Get features intersecting chr1:1..1000. You can omit the assembly name if there\nare no other reference sequences named chr1:",
|
|
1434
|
+
"command": "<%= config.bin %> <%= command.id %> -a myAssembly -r chr1 -s 1 -e 1000"
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1437
|
+
"flags": {
|
|
1438
|
+
"profile": {
|
|
1439
|
+
"description": "Use credentials from this profile",
|
|
1440
|
+
"name": "profile",
|
|
1441
|
+
"hasDynamicHelp": false,
|
|
1442
|
+
"multiple": false,
|
|
1443
|
+
"type": "option"
|
|
1444
|
+
},
|
|
1445
|
+
"config-file": {
|
|
1446
|
+
"description": "Use this config file (mostly for testing)",
|
|
1447
|
+
"name": "config-file",
|
|
1448
|
+
"hasDynamicHelp": false,
|
|
1449
|
+
"multiple": false,
|
|
1450
|
+
"type": "option"
|
|
1451
|
+
},
|
|
1452
|
+
"assembly": {
|
|
1453
|
+
"char": "a",
|
|
1454
|
+
"description": "Find input reference sequence in this assembly",
|
|
1455
|
+
"name": "assembly",
|
|
1456
|
+
"hasDynamicHelp": false,
|
|
1457
|
+
"multiple": false,
|
|
1458
|
+
"type": "option"
|
|
1459
|
+
},
|
|
1460
|
+
"refseq": {
|
|
1461
|
+
"char": "r",
|
|
1462
|
+
"description": "Reference sequence. If unset, query all sequences",
|
|
1463
|
+
"name": "refseq",
|
|
1464
|
+
"hasDynamicHelp": false,
|
|
1465
|
+
"multiple": false,
|
|
1466
|
+
"type": "option"
|
|
1467
|
+
},
|
|
1468
|
+
"start": {
|
|
1469
|
+
"char": "s",
|
|
1470
|
+
"description": "Start coordinate (1-based)",
|
|
1471
|
+
"name": "start",
|
|
1472
|
+
"default": 1,
|
|
1473
|
+
"hasDynamicHelp": false,
|
|
1474
|
+
"multiple": false,
|
|
1475
|
+
"type": "option"
|
|
1476
|
+
},
|
|
1477
|
+
"end": {
|
|
1478
|
+
"char": "e",
|
|
1479
|
+
"description": "End coordinate",
|
|
1480
|
+
"name": "end",
|
|
1481
|
+
"hasDynamicHelp": false,
|
|
1482
|
+
"multiple": false,
|
|
1483
|
+
"type": "option"
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
"hasDynamicHelp": false,
|
|
1487
|
+
"hiddenAliases": [],
|
|
1488
|
+
"id": "feature:get",
|
|
1489
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1490
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1491
|
+
"pluginType": "core",
|
|
1492
|
+
"strict": true,
|
|
1493
|
+
"enableJsonFlag": false,
|
|
1494
|
+
"isESM": true,
|
|
1495
|
+
"relativePath": [
|
|
1496
|
+
"dist",
|
|
1497
|
+
"commands",
|
|
1498
|
+
"feature",
|
|
1499
|
+
"get.js"
|
|
1500
|
+
]
|
|
1501
|
+
},
|
|
1502
|
+
"feature:import": {
|
|
1503
|
+
"aliases": [],
|
|
1504
|
+
"args": {},
|
|
1505
|
+
"description": "By default, features are added to the existing ones.",
|
|
1506
|
+
"examples": [
|
|
1507
|
+
{
|
|
1508
|
+
"description": "Delete features in myAssembly and then import features.gff3:",
|
|
1509
|
+
"command": "<%= config.bin %> <%= command.id %> -d -i features.gff3 -a myAssembly"
|
|
1510
|
+
}
|
|
1511
|
+
],
|
|
1512
|
+
"flags": {
|
|
1513
|
+
"profile": {
|
|
1514
|
+
"description": "Use credentials from this profile",
|
|
1515
|
+
"name": "profile",
|
|
1516
|
+
"hasDynamicHelp": false,
|
|
1517
|
+
"multiple": false,
|
|
1518
|
+
"type": "option"
|
|
1519
|
+
},
|
|
1520
|
+
"config-file": {
|
|
1521
|
+
"description": "Use this config file (mostly for testing)",
|
|
1522
|
+
"name": "config-file",
|
|
1523
|
+
"hasDynamicHelp": false,
|
|
1524
|
+
"multiple": false,
|
|
1525
|
+
"type": "option"
|
|
1526
|
+
},
|
|
1527
|
+
"input-file": {
|
|
1528
|
+
"char": "i",
|
|
1529
|
+
"description": "Input gff or gtf file",
|
|
1530
|
+
"name": "input-file",
|
|
1531
|
+
"required": true,
|
|
1532
|
+
"hasDynamicHelp": false,
|
|
1533
|
+
"multiple": false,
|
|
1534
|
+
"type": "option"
|
|
1535
|
+
},
|
|
1536
|
+
"assembly": {
|
|
1537
|
+
"char": "a",
|
|
1538
|
+
"description": "Import into this assembly name or assembly ID",
|
|
1539
|
+
"name": "assembly",
|
|
1540
|
+
"required": true,
|
|
1541
|
+
"hasDynamicHelp": false,
|
|
1542
|
+
"multiple": false,
|
|
1543
|
+
"type": "option"
|
|
1544
|
+
},
|
|
1545
|
+
"delete-existing": {
|
|
1546
|
+
"char": "d",
|
|
1547
|
+
"description": "Delete existing features before importing",
|
|
1548
|
+
"name": "delete-existing",
|
|
1549
|
+
"allowNo": false,
|
|
1550
|
+
"type": "boolean"
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
"hasDynamicHelp": false,
|
|
1554
|
+
"hiddenAliases": [],
|
|
1555
|
+
"id": "feature:import",
|
|
1556
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1557
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1558
|
+
"pluginType": "core",
|
|
1559
|
+
"strict": true,
|
|
1560
|
+
"summary": "Import features from local gff file",
|
|
1561
|
+
"enableJsonFlag": false,
|
|
1562
|
+
"isESM": true,
|
|
1563
|
+
"relativePath": [
|
|
1564
|
+
"dist",
|
|
1565
|
+
"commands",
|
|
1566
|
+
"feature",
|
|
1567
|
+
"import.js"
|
|
1568
|
+
]
|
|
1569
|
+
},
|
|
1570
|
+
"feature:search": {
|
|
1571
|
+
"aliases": [],
|
|
1572
|
+
"args": {},
|
|
1573
|
+
"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\nmatch:\n\n - \"someKey\"\n - \"with\"\n - \"Finger\"\n - \"chr1\"\n - \"0.987\"",
|
|
1574
|
+
"examples": [
|
|
1575
|
+
{
|
|
1576
|
+
"description": "Search \"bac\" in these assemblies:",
|
|
1577
|
+
"command": "<%= config.bin %> <%= command.id %> -a mm9 mm10 -t bac"
|
|
1578
|
+
}
|
|
1579
|
+
],
|
|
1580
|
+
"flags": {
|
|
1581
|
+
"profile": {
|
|
1582
|
+
"description": "Use credentials from this profile",
|
|
1583
|
+
"name": "profile",
|
|
1584
|
+
"hasDynamicHelp": false,
|
|
1585
|
+
"multiple": false,
|
|
1586
|
+
"type": "option"
|
|
1587
|
+
},
|
|
1588
|
+
"config-file": {
|
|
1589
|
+
"description": "Use this config file (mostly for testing)",
|
|
1590
|
+
"name": "config-file",
|
|
1591
|
+
"hasDynamicHelp": false,
|
|
1592
|
+
"multiple": false,
|
|
1593
|
+
"type": "option"
|
|
1594
|
+
},
|
|
1595
|
+
"text": {
|
|
1596
|
+
"char": "t",
|
|
1597
|
+
"description": "Search for this text query",
|
|
1598
|
+
"name": "text",
|
|
1599
|
+
"required": true,
|
|
1600
|
+
"hasDynamicHelp": false,
|
|
1601
|
+
"multiple": false,
|
|
1602
|
+
"type": "option"
|
|
1603
|
+
},
|
|
1604
|
+
"assembly": {
|
|
1605
|
+
"char": "a",
|
|
1606
|
+
"description": "Assembly names or IDs to search; use \"-\" to read it from stdin. If omitted\nsearch all assemblies",
|
|
1607
|
+
"name": "assembly",
|
|
1608
|
+
"hasDynamicHelp": false,
|
|
1609
|
+
"multiple": true,
|
|
1610
|
+
"type": "option"
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"hasDynamicHelp": false,
|
|
1614
|
+
"hiddenAliases": [],
|
|
1615
|
+
"id": "feature:search",
|
|
1616
|
+
"pluginAlias": "@apollo-annotation/cli",
|
|
1617
|
+
"pluginName": "@apollo-annotation/cli",
|
|
1618
|
+
"pluginType": "core",
|
|
1619
|
+
"strict": true,
|
|
1620
|
+
"summary": "Free text search for feature in one or more assemblies",
|
|
1621
|
+
"enableJsonFlag": false,
|
|
1622
|
+
"isESM": true,
|
|
1623
|
+
"relativePath": [
|
|
1624
|
+
"dist",
|
|
1625
|
+
"commands",
|
|
1626
|
+
"feature",
|
|
1627
|
+
"search.js"
|
|
1628
|
+
]
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"version": "0.1.10"
|
|
1632
|
+
}
|