pyxetabase 4.0.0.dev62__py3-none-any.whl → 4.0.0.dev74__py3-none-any.whl

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.
@@ -445,6 +445,88 @@ class ClinicalAnalysis(_ParentRestClient):
445
445
 
446
446
  return self._post(category='analysis', resource='load', subcategory='clinical', data=data, **options)
447
447
 
448
+ def run_pipeline_affy(self, data=None, **options):
449
+ """
450
+ Execute the clinical genomics pipeline that performs QC (FastQC,...),
451
+ mapping (BWA, Bowtie,...) , variant calling (GATK,...) and variant
452
+ indexing in OpenCGA storage.
453
+ PATH: /{apiVersion}/analysis/clinical/pipeline/affy/run
454
+
455
+ :param dict data: JSON with parameters to execute the command
456
+ affy-pipeline. (REQUIRED)
457
+ :param str study: Study [[organization@]project:]study where study and
458
+ project can be either the ID or UUID.
459
+ :param str job_id: Job ID. It must be a unique string within the
460
+ study. An ID will be autogenerated automatically if not provided.
461
+ :param str job_description: Job description.
462
+ :param str job_depends_on: Comma separated list of existing job IDs
463
+ the job will depend on.
464
+ :param str job_tags: Job tags.
465
+ :param str job_scheduled_start_time: Time when the job is scheduled to
466
+ start.
467
+ :param str job_priority: Priority of the job.
468
+ :param bool job_dry_run: Flag indicating that the job will be executed
469
+ in dry-run mode. In this mode, OpenCGA will validate that all
470
+ parameters and prerequisites are correctly set for successful
471
+ execution, but the job will not actually run.
472
+ """
473
+
474
+ return self._post(category='analysis', resource='run', subcategory='clinical/pipeline/affy', data=data, **options)
475
+
476
+ def run_pipeline_genomics(self, data=None, **options):
477
+ """
478
+ Execute the clinical genomics pipeline that performs QC (FastQC,...),
479
+ mapping (BWA, Bowtie,...) , variant calling (GATK,...) and variant
480
+ indexing in OpenCGA storage.
481
+ PATH: /{apiVersion}/analysis/clinical/pipeline/genomics/run
482
+
483
+ :param dict data: JSON with parameters to execute the command
484
+ ngs-pipeline-genomics. (REQUIRED)
485
+ :param str study: Study [[organization@]project:]study where study and
486
+ project can be either the ID or UUID.
487
+ :param str job_id: Job ID. It must be a unique string within the
488
+ study. An ID will be autogenerated automatically if not provided.
489
+ :param str job_description: Job description.
490
+ :param str job_depends_on: Comma separated list of existing job IDs
491
+ the job will depend on.
492
+ :param str job_tags: Job tags.
493
+ :param str job_scheduled_start_time: Time when the job is scheduled to
494
+ start.
495
+ :param str job_priority: Priority of the job.
496
+ :param bool job_dry_run: Flag indicating that the job will be executed
497
+ in dry-run mode. In this mode, OpenCGA will validate that all
498
+ parameters and prerequisites are correctly set for successful
499
+ execution, but the job will not actually run.
500
+ """
501
+
502
+ return self._post(category='analysis', resource='run', subcategory='clinical/pipeline/genomics', data=data, **options)
503
+
504
+ def run_pipeline_prepare(self, data=None, **options):
505
+ """
506
+ Prepare the clinical pipeline.
507
+ PATH: /{apiVersion}/analysis/clinical/pipeline/prepare/run
508
+
509
+ :param dict data: JSON with parameters to execute the command
510
+ ngs-pipeline-prepare. (REQUIRED)
511
+ :param str study: Study [[organization@]project:]study where study and
512
+ project can be either the ID or UUID.
513
+ :param str job_id: Job ID. It must be a unique string within the
514
+ study. An ID will be autogenerated automatically if not provided.
515
+ :param str job_description: Job description.
516
+ :param str job_depends_on: Comma separated list of existing job IDs
517
+ the job will depend on.
518
+ :param str job_tags: Job tags.
519
+ :param str job_scheduled_start_time: Time when the job is scheduled to
520
+ start.
521
+ :param str job_priority: Priority of the job.
522
+ :param bool job_dry_run: Flag indicating that the job will be executed
523
+ in dry-run mode. In this mode, OpenCGA will validate that all
524
+ parameters and prerequisites are correctly set for successful
525
+ execution, but the job will not actually run.
526
+ """
527
+
528
+ return self._post(category='analysis', resource='run', subcategory='clinical/pipeline/prepare', data=data, **options)
529
+
448
530
  def aggregation_stats_rga(self, field, **options):
449
531
  """
450
532
  RGA aggregation stats.
@@ -1029,6 +1111,9 @@ class ClinicalAnalysis(_ParentRestClient):
1029
1111
  analysts is being updated. Allowed values: ['ADD SET REMOVE']
1030
1112
  :param str files_action: Action to be performed if the array of files
1031
1113
  is being updated. Allowed values: ['ADD SET REMOVE']
1114
+ :param str reported_files_action: Action to be performed if the array
1115
+ of reported files is being updated. Allowed values: ['ADD SET
1116
+ REMOVE']
1032
1117
  :param str panels_action: Action to be performed if the array of
1033
1118
  panels is being updated. Allowed values: ['ADD SET REMOVE']
1034
1119
  :param str annotation_sets_action: Action to be performed if the array
@@ -1203,11 +1288,10 @@ class ClinicalAnalysis(_ParentRestClient):
1203
1288
  project can be either the ID or UUID.
1204
1289
  :param str comments_action: Action to be performed if the array of
1205
1290
  comments is being updated. Allowed values: ['ADD REMOVE REPLACE']
1206
- :param str supporting_evidences_action: Action to be performed if the
1207
- array of supporting evidences is being updated. Allowed values:
1208
- ['ADD SET REMOVE']
1209
- :param str files_action: Action to be performed if the array of files
1210
- is being updated. Allowed values: ['ADD SET REMOVE']
1291
+ :param str signatures_action: Action to be performed if the array of
1292
+ signatures is being updated. Allowed values: ['ADD SET REMOVE']
1293
+ :param str references_action: Action to be performed if the array of
1294
+ references is being updated. Allowed values: ['ADD SET REMOVE']
1211
1295
  :param bool include_result: Flag indicating to include the created or
1212
1296
  updated document result in the response.
1213
1297
  """
@@ -407,11 +407,11 @@ class File(_ParentRestClient):
407
407
  :param str format: File format. Allowed values: ['VCF BCF GVCF TBI
408
408
  BIGWIG SAM BAM BAI CRAM CRAI FASTQ FASTA PED TAB_SEPARATED_VALUES
409
409
  COMMA_SEPARATED_VALUES XML PROTOCOL_BUFFER JSON AVRO PARQUET PDF
410
- IMAGE PLAIN BINARY NONE UNKNOWN']
410
+ IMAGE PLAIN BINARY JAVASCRIPT NONE UNKNOWN']
411
411
  :param str file_format: [DEPRECATED] File format. Allowed values:
412
412
  ['VCF BCF GVCF TBI BIGWIG SAM BAM BAI CRAM CRAI FASTQ FASTA PED
413
413
  TAB_SEPARATED_VALUES COMMA_SEPARATED_VALUES XML PROTOCOL_BUFFER
414
- JSON AVRO PARQUET PDF IMAGE PLAIN BINARY NONE UNKNOWN']
414
+ JSON AVRO PARQUET PDF IMAGE PLAIN BINARY JAVASCRIPT NONE UNKNOWN']
415
415
  :param str bioformat: File bioformat. Allowed values:
416
416
  ['MICROARRAY_EXPRESSION_ONECHANNEL_AGILENT
417
417
  MICROARRAY_EXPRESSION_ONECHANNEL_AFFYMETRIX
@@ -422,7 +422,7 @@ class File(_ParentRestClient):
422
422
  OTHER_BLAST OTHER_INTERACTION OTHER_GENOTYPE OTHER_PLINK OTHER_VCF
423
423
  OTHER_PED VCF4 CVDB VARIANT ALIGNMENT COVERAGE SEQUENCE PEDIGREE
424
424
  REFERENCE_GENOME NONE UNKNOWN']
425
- :param str checksum: Expected MD5 file checksum.
425
+ :param str checksum: Expected SHA-256 file checksum.
426
426
  :param bool resource: Boolean field indicating whether the file is a
427
427
  resource or not.
428
428
  :param str study: Study [[organization@]project:]study where study and
@@ -569,6 +569,19 @@ class File(_ParentRestClient):
569
569
 
570
570
  return self._post(category='files', resource='annotations/update', query_id=file, subcategory='annotationSets', second_query_id=annotation_set, data=data, **options)
571
571
 
572
+ def update_content(self, file, data=None, **options):
573
+ """
574
+ Overwrite the content of a file.
575
+ PATH: /{apiVersion}/files/{file}/content/update
576
+
577
+ :param dict data: File parameters. (REQUIRED)
578
+ :param str file: File id or name. (REQUIRED)
579
+ :param str study: Study [[organization@]project:]study where study and
580
+ project can be either the ID or UUID.
581
+ """
582
+
583
+ return self._post(category='files', resource='update', query_id=file, subcategory='content', data=data, **options)
584
+
572
585
  def download(self, file, **options):
573
586
  """
574
587
  Download file.
@@ -56,6 +56,12 @@ class Job(_ParentRestClient):
56
56
  search.
57
57
  :param str tool_type: Tool type executed by the job [OPERATION,
58
58
  ANALYSIS].
59
+ :param str tool.minimum_requirements.queue: Queue where the job is
60
+ expected to be executed.
61
+ :param str tool.minimum_requirements.processor_type: Processor type
62
+ required to run the job. Allowed values: [CPU, GPU, FPGA].
63
+ :param str execution.queue.id: Queue id where the job has been
64
+ submitted to be executed.
59
65
  :param str user_id: User that created the job.
60
66
  :param str priority: Priority of the job.
61
67
  :param str status: Filter by status.
@@ -118,6 +124,12 @@ class Job(_ParentRestClient):
118
124
  search.
119
125
  :param str tool_type: Tool type executed by the job [OPERATION,
120
126
  ANALYSIS].
127
+ :param str tool.minimum_requirements.queue: Queue where the job is
128
+ expected to be executed.
129
+ :param str tool.minimum_requirements.processor_type: Processor type
130
+ required to run the job. Allowed values: [CPU, GPU, FPGA].
131
+ :param str execution.queue.id: Queue id where the job has been
132
+ submitted to be executed.
121
133
  :param str tool.external_executor.id: Id of the external executor.
122
134
  This field is only applicable for jobs executed by an external
123
135
  executor.
@@ -202,6 +214,12 @@ class Job(_ParentRestClient):
202
214
  search.
203
215
  :param str tool_type: Tool type executed by the job [OPERATION,
204
216
  ANALYSIS].
217
+ :param str tool.minimum_requirements.queue: Queue where the job is
218
+ expected to be executed.
219
+ :param str tool.minimum_requirements.processor_type: Processor type
220
+ required to run the job. Allowed values: [CPU, GPU, FPGA].
221
+ :param str execution.queue.id: Queue id where the job has been
222
+ submitted to be executed.
205
223
  :param str tool.external_executor.id: Id of the external executor.
206
224
  This field is only applicable for jobs executed by an external
207
225
  executor.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyxetabase
3
- Version: 4.0.0.dev62
3
+ Version: 4.0.0.dev74
4
4
  Summary: A REST client for OpenCGA enterprise REST web services
5
5
  Author: Daniel Perez-Gil
6
6
  Author-email: daniel.perez@zettagenomics.com
@@ -9,16 +9,16 @@ pyxetabase/rest_clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
9
9
  pyxetabase/rest_clients/_parent_rest_clients.py,sha256=OuCnmaziUCENpmpA3CzKJGEhMY_Z-7Q_rlkH75QDi7I,5854
10
10
  pyxetabase/rest_clients/admin_client.py,sha256=SzUuUBw1WNaCEOaS15UsHhn0OPgJ0WTEEoR043Z2zwM,7206
11
11
  pyxetabase/rest_clients/alignment_client.py,sha256=srY1fmjMZCPWlbqhrD2gYVhS2zu7fgPx61tZOqQi4Wc,18509
12
- pyxetabase/rest_clients/clinical_analysis_client.py,sha256=jtEciqNiloadVxKmrq7UW-hYQlv9rHBR7G28IVTeXBM,65945
12
+ pyxetabase/rest_clients/clinical_analysis_client.py,sha256=JvDSSxkdGIXP7nTX_CsxodjB6JNP8q_Df5vxW_kc6_M,70461
13
13
  pyxetabase/rest_clients/cohort_client.py,sha256=_OIKohOlZcz3kRfP-FEneLkdCDVewlbG75YrhMT0aTg,17104
14
14
  pyxetabase/rest_clients/cvdb_client.py,sha256=V7ny5nQEeJqsbALAe7JLyoV6b0XyYF7c9lsn-qK-i8o,143102
15
15
  pyxetabase/rest_clients/disease_panel_client.py,sha256=YQIykUElEUGtOKGivnl9vNyHIrrZ_tXMnA1cvK8eE1A,18066
16
16
  pyxetabase/rest_clients/family_client.py,sha256=n-kyjnrV09R50JxyiHjFs8rCQkOKFU0Z1O7oVYuaKxg,18586
17
17
  pyxetabase/rest_clients/federation_client.py,sha256=p5B8dRq9gj-fdgIfIPhmkT7mNU65cRFtH06kaGtmbWE,5066
18
- pyxetabase/rest_clients/file_client.py,sha256=xOndKo1z5pTUySKLn9dQK10tIdopwH4Fe0Sp2-wwJeU,34210
18
+ pyxetabase/rest_clients/file_client.py,sha256=pbGgpRHlxRCNWTuVnuA1U5Zm3fKpwmJye1tKXElE90g,34777
19
19
  pyxetabase/rest_clients/ga4gh_client.py,sha256=fPnmiblnfpz_zcZPJblGqOFksrdiF3MUer3fv2nwQwk,3506
20
20
  pyxetabase/rest_clients/individual_client.py,sha256=C59zr_t7tTxNR7ZBeAPY6fyYl59fE7KY05MaLyXWmXw,23225
21
- pyxetabase/rest_clients/job_client.py,sha256=ROODPyg0prlJ1rZb7rvy3A-LK5dXVs7hzXoKek-c9gc,19851
21
+ pyxetabase/rest_clients/job_client.py,sha256=oN55qQsj2C7LF4VG5tQQtyCNZNf4Y1MdmZCNiMP4Dnw,20955
22
22
  pyxetabase/rest_clients/meta_client.py,sha256=uExVRfdSKiXteLYe7R3q9x3zCp9mMWWMyPDU56TtoDo,2308
23
23
  pyxetabase/rest_clients/organization_client.py,sha256=tnwUTCqJoGiKXMQLMv4ymHA16JxnR5iL2SMLaJDBRs8,9465
24
24
  pyxetabase/rest_clients/project_client.py,sha256=M8naPsj47z2ylTrJNU_JyHReKzXrB038PoEtKKrtxmc,5212
@@ -29,8 +29,8 @@ pyxetabase/rest_clients/user_tool_client.py,sha256=QCqFpwB0B6w0likPj8y_lhQ3VXBME
29
29
  pyxetabase/rest_clients/variant_client.py,sha256=mmBuVE0JBThJr5zsLGci5nykNcCKyfZXRKl-h3HT9PA,75436
30
30
  pyxetabase/rest_clients/variant_operation_client.py,sha256=ceZ2-ii0D1oCDMRz_EURwUf_VjtsV5lzJuY-ZwG1b6Q,36840
31
31
  pyxetabase/rest_clients/workflow_client.py,sha256=HYu4YInpzQvDRDNtFkT8LmxUHuMaPdPP59wSvHkBZtc,12487
32
- pyxetabase-4.0.0.dev62.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
33
- pyxetabase-4.0.0.dev62.dist-info/METADATA,sha256=oxyOqvlJ16jGd0QlDxM44U3K-CcxKWILwrI-jPHzOSM,5540
34
- pyxetabase-4.0.0.dev62.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
35
- pyxetabase-4.0.0.dev62.dist-info/top_level.txt,sha256=0m5pDpBX-lM8QpPl7bTpTQAm4kgu2-nr-pcaEu4Tn_8,11
36
- pyxetabase-4.0.0.dev62.dist-info/RECORD,,
32
+ pyxetabase-4.0.0.dev74.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
33
+ pyxetabase-4.0.0.dev74.dist-info/METADATA,sha256=u5_mUMi6ZXCYfvq9lKkllXvC4DbTSd3yjzOzRSX1Kz0,5540
34
+ pyxetabase-4.0.0.dev74.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
35
+ pyxetabase-4.0.0.dev74.dist-info/top_level.txt,sha256=0m5pDpBX-lM8QpPl7bTpTQAm4kgu2-nr-pcaEu4Tn_8,11
36
+ pyxetabase-4.0.0.dev74.dist-info/RECORD,,