pyxetabase 4.0.0.dev8__tar.gz → 4.0.0.dev10__tar.gz
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.
Potentially problematic release.
This version of pyxetabase might be problematic. Click here for more details.
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/PKG-INFO +1 -1
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/job_client.py +2 -1
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/user_tool_client.py +11 -55
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase.egg-info/PKG-INFO +1 -1
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/setup.py +1 -1
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/LICENSE +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/README.rst +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/__init__.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/commons.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/exceptions.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/opencga_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/opencga_config.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/__init__.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/_parent_rest_clients.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/admin_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/alignment_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/clinical_analysis_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/cohort_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/cvdb_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/disease_panel_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/family_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/federation_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/file_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/ga4gh_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/individual_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/meta_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/organization_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/project_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/sample_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/study_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/user_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/variant_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/variant_operation_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/workflow_client.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_response.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/retry.py +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase.egg-info/SOURCES.txt +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase.egg-info/dependency_links.txt +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase.egg-info/requires.txt +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase.egg-info/top_level.txt +0 -0
- {pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/setup.cfg +0 -0
|
@@ -265,7 +265,8 @@ class Job(_ParentRestClient):
|
|
|
265
265
|
Execute an analysis from a custom binary.
|
|
266
266
|
PATH: /{apiVersion}/jobs/tool/run
|
|
267
267
|
|
|
268
|
-
:param dict data:
|
|
268
|
+
:param dict data: Container image to be executed and its requirements.
|
|
269
|
+
(REQUIRED)
|
|
269
270
|
:param str study: Study [[organization@]project:]study where study and
|
|
270
271
|
project can be either the ID or UUID.
|
|
271
272
|
:param str job_id: Job ID. It must be a unique string within the
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/user_tool_client.py
RENAMED
|
@@ -64,7 +64,7 @@ class UserTool(_ParentRestClient):
|
|
|
64
64
|
:param str scope: External tool scope. Allowed types:
|
|
65
65
|
[CLINICAL_INTERPRETATION, SECONDARY_ANALYSIS, RESEARCH or OTHER].
|
|
66
66
|
:param str workflow_repository_name: Workflow repository name.
|
|
67
|
-
:param str
|
|
67
|
+
:param str container_name: Container name.
|
|
68
68
|
:param str creation_date: Creation date. Format: yyyyMMddHHmmss.
|
|
69
69
|
Examples: >2018, 2017-2018, <201805.
|
|
70
70
|
:param str modification_date: Modification date. Format:
|
|
@@ -133,39 +133,7 @@ class UserTool(_ParentRestClient):
|
|
|
133
133
|
Execute an analysis from a custom binary.
|
|
134
134
|
PATH: /{apiVersion}/tools/custom/run
|
|
135
135
|
|
|
136
|
-
:param dict data: Container image to be executed and its requirements.
|
|
137
|
-
(REQUIRED)
|
|
138
|
-
:param str study: Study [[organization@]project:]study where study and
|
|
139
|
-
project can be either the ID or UUID.
|
|
140
|
-
:param str job_id: Job ID. It must be a unique string within the
|
|
141
|
-
study. An ID will be autogenerated automatically if not provided.
|
|
142
|
-
:param str job_description: Job description.
|
|
143
|
-
:param str job_depends_on: Comma separated list of existing job IDs
|
|
144
|
-
the job will depend on.
|
|
145
|
-
:param str job_tags: Job tags.
|
|
146
|
-
:param str job_scheduled_start_time: Time when the job is scheduled to
|
|
147
|
-
start.
|
|
148
|
-
:param str job_priority: Priority of the job.
|
|
149
|
-
:param bool job_dry_run: Flag indicating that the job will be executed
|
|
150
|
-
in dry-run mode. In this mode, OpenCGA will validate that all
|
|
151
|
-
parameters and prerequisites are correctly set for successful
|
|
152
|
-
execution, but the job will not actually run.
|
|
153
|
-
"""
|
|
154
|
-
|
|
155
|
-
return self._post(category='tools', resource='run', subcategory='custom', data=data, **options)
|
|
156
|
-
|
|
157
|
-
def run_custom(self, tool_id, data=None, **options):
|
|
158
|
-
"""
|
|
159
|
-
Execute an analysis from a custom binary.
|
|
160
|
-
PATH: /{apiVersion}/tools/custom/{toolId}/run
|
|
161
|
-
|
|
162
136
|
:param dict data: Custom tool run parameters. (REQUIRED)
|
|
163
|
-
:param str tool_id: Comma separated list of external tool IDs up to a
|
|
164
|
-
maximum of 100. Also admits basic regular expressions using the
|
|
165
|
-
operator '~', i.e. '~{perl-regex}' e.g. '~value' for case
|
|
166
|
-
sensitive, '~/value/i' for case insensitive search. (REQUIRED)
|
|
167
|
-
:param int version: Tool version. If not provided, the latest version
|
|
168
|
-
will be used.
|
|
169
137
|
:param str study: Study [[organization@]project:]study where study and
|
|
170
138
|
project can be either the ID or UUID.
|
|
171
139
|
:param str job_id: Job ID. It must be a unique string within the
|
|
@@ -183,7 +151,7 @@ class UserTool(_ParentRestClient):
|
|
|
183
151
|
execution, but the job will not actually run.
|
|
184
152
|
"""
|
|
185
153
|
|
|
186
|
-
return self._post(category='tools', resource='run', subcategory='custom',
|
|
154
|
+
return self._post(category='tools', resource='run', subcategory='custom', data=data, **options)
|
|
187
155
|
|
|
188
156
|
def update_custom(self, tool_id, data=None, **options):
|
|
189
157
|
"""
|
|
@@ -236,7 +204,7 @@ class UserTool(_ParentRestClient):
|
|
|
236
204
|
:param str scope: External tool scope. Allowed types:
|
|
237
205
|
[CLINICAL_INTERPRETATION, SECONDARY_ANALYSIS, RESEARCH or OTHER].
|
|
238
206
|
:param str workflow_repository_name: Workflow repository name.
|
|
239
|
-
:param str
|
|
207
|
+
:param str container_name: Container name.
|
|
240
208
|
:param str creation_date: Creation date. Format: yyyyMMddHHmmss.
|
|
241
209
|
Examples: >2018, 2017-2018, <201805.
|
|
242
210
|
:param str modification_date: Modification date. Format:
|
|
@@ -290,7 +258,7 @@ class UserTool(_ParentRestClient):
|
|
|
290
258
|
:param str scope: External tool scope. Allowed types:
|
|
291
259
|
[CLINICAL_INTERPRETATION, SECONDARY_ANALYSIS, RESEARCH or OTHER].
|
|
292
260
|
:param str workflow_repository_name: Workflow repository name.
|
|
293
|
-
:param str
|
|
261
|
+
:param str container_name: Container name.
|
|
294
262
|
:param str creation_date: Creation date. Format: yyyyMMddHHmmss.
|
|
295
263
|
Examples: >2018, 2017-2018, <201805.
|
|
296
264
|
:param str modification_date: Modification date. Format:
|
|
@@ -326,18 +294,12 @@ class UserTool(_ParentRestClient):
|
|
|
326
294
|
|
|
327
295
|
return self._post(category='tools', resource='create', subcategory='walker', data=data, **options)
|
|
328
296
|
|
|
329
|
-
def run_walker(self,
|
|
297
|
+
def run_walker(self, data=None, **options):
|
|
330
298
|
"""
|
|
331
299
|
Execute an analysis from a custom binary.
|
|
332
|
-
PATH: /{apiVersion}/tools/walker/
|
|
300
|
+
PATH: /{apiVersion}/tools/walker/run
|
|
333
301
|
|
|
334
302
|
:param dict data: Variant walker params. (REQUIRED)
|
|
335
|
-
:param str tool_id: Comma separated list of external tool IDs up to a
|
|
336
|
-
maximum of 100. Also admits basic regular expressions using the
|
|
337
|
-
operator '~', i.e. '~{perl-regex}' e.g. '~value' for case
|
|
338
|
-
sensitive, '~/value/i' for case insensitive search. (REQUIRED)
|
|
339
|
-
:param int version: Tool version. If not provided, the latest version
|
|
340
|
-
will be used.
|
|
341
303
|
:param str project: Project [organization@]project where project can
|
|
342
304
|
be either the ID or the alias.
|
|
343
305
|
:param str study: Study [[organization@]project:]study where study and
|
|
@@ -357,7 +319,7 @@ class UserTool(_ParentRestClient):
|
|
|
357
319
|
execution, but the job will not actually run.
|
|
358
320
|
"""
|
|
359
321
|
|
|
360
|
-
return self._post(category='tools', resource='run', subcategory='walker',
|
|
322
|
+
return self._post(category='tools', resource='run', subcategory='walker', data=data, **options)
|
|
361
323
|
|
|
362
324
|
def create_workflow(self, data=None, **options):
|
|
363
325
|
"""
|
|
@@ -389,18 +351,12 @@ class UserTool(_ParentRestClient):
|
|
|
389
351
|
|
|
390
352
|
return self._post(category='tools', resource='import', subcategory='workflow', data=data, **options)
|
|
391
353
|
|
|
392
|
-
def run_workflow(self,
|
|
354
|
+
def run_workflow(self, data=None, **options):
|
|
393
355
|
"""
|
|
394
|
-
|
|
395
|
-
PATH: /{apiVersion}/tools/workflow/
|
|
356
|
+
Run a user tool of type WORKFLOW.
|
|
357
|
+
PATH: /{apiVersion}/tools/workflow/run
|
|
396
358
|
|
|
397
359
|
:param dict data: Workflow tool run parameters. (REQUIRED)
|
|
398
|
-
:param str tool_id: Comma separated list of external tool IDs up to a
|
|
399
|
-
maximum of 100. Also admits basic regular expressions using the
|
|
400
|
-
operator '~', i.e. '~{perl-regex}' e.g. '~value' for case
|
|
401
|
-
sensitive, '~/value/i' for case insensitive search. (REQUIRED)
|
|
402
|
-
:param int version: Tool version. If not provided, the latest version
|
|
403
|
-
will be used.
|
|
404
360
|
:param str study: Study [[organization@]project:]study where study and
|
|
405
361
|
project can be either the ID or UUID.
|
|
406
362
|
:param str job_id: Job ID. It must be a unique string within the
|
|
@@ -418,7 +374,7 @@ class UserTool(_ParentRestClient):
|
|
|
418
374
|
execution, but the job will not actually run.
|
|
419
375
|
"""
|
|
420
376
|
|
|
421
|
-
return self._post(category='tools', resource='run', subcategory='workflow',
|
|
377
|
+
return self._post(category='tools', resource='run', subcategory='workflow', data=data, **options)
|
|
422
378
|
|
|
423
379
|
def update_workflow(self, tool_id, data=None, **options):
|
|
424
380
|
"""
|
|
@@ -14,7 +14,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
|
|
14
14
|
|
|
15
15
|
setup(
|
|
16
16
|
name='pyxetabase',
|
|
17
|
-
version='4.0.0.
|
|
17
|
+
version='4.0.0.dev10',
|
|
18
18
|
description='A REST client for OpenCGA enterprise REST web services',
|
|
19
19
|
long_description=long_description,
|
|
20
20
|
long_description_content_type='text/x-rst',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/_parent_rest_clients.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/alignment_client.py
RENAMED
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/clinical_analysis_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/disease_panel_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/federation_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/individual_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/organization_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev8 → pyxetabase-4.0.0.dev10}/pyxetabase/rest_clients/variant_operation_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|