pyxetabase 4.0.0.dev83__tar.gz → 4.0.0.dev85__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.
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/PKG-INFO +1 -1
- pyxetabase-4.0.0.dev85/pyxetabase/rest_clients/f_h_i_r_client.py +63 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase.egg-info/PKG-INFO +1 -1
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase.egg-info/SOURCES.txt +1 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/setup.py +1 -1
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/LICENSE +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/README.rst +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/__init__.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/commons.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/exceptions.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/opencga_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/opencga_config.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/__init__.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/_parent_rest_clients.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/admin_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/alignment_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/clinical_analysis_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/cohort_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/cvdb_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/disease_panel_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/family_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/federation_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/file_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/ga4gh_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/individual_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/job_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/meta_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/organization_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/project_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/sample_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/study_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/user_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/user_tool_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/variant_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/variant_operation_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/workflow_client.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_response.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/retry.py +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase.egg-info/dependency_links.txt +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase.egg-info/requires.txt +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase.egg-info/top_level.txt +0 -0
- {pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/setup.cfg +0 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"""
|
|
2
|
+
WARNING: AUTOGENERATED CODE
|
|
3
|
+
|
|
4
|
+
This code was generated by a tool.
|
|
5
|
+
|
|
6
|
+
Manual changes to this file may cause unexpected behavior in your application.
|
|
7
|
+
Manual changes to this file will be overwritten if the code is regenerated.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from pyxetabase.rest_clients._parent_rest_clients import _ParentRestClient
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class FHIR(_ParentRestClient):
|
|
14
|
+
"""
|
|
15
|
+
This class contains methods for the 'FHIR' webservices
|
|
16
|
+
PATH: /{apiVersion}/fhir
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
def __init__(self, configuration, token=None, login_handler=None, *args, **kwargs):
|
|
20
|
+
super(FHIR, self).__init__(configuration, token, login_handler, *args, **kwargs)
|
|
21
|
+
|
|
22
|
+
def observation(self, _query, **options):
|
|
23
|
+
"""
|
|
24
|
+
Observation web service.
|
|
25
|
+
PATH: /{apiVersion}/fhir/Observation
|
|
26
|
+
|
|
27
|
+
:param str _query: One of 'ptlist', 'ptcount' or 'ptvars'. (REQUIRED)
|
|
28
|
+
:param str _type: Comma separated observation variants.
|
|
29
|
+
:param str _type_filter: Used to restrict the variant to a specific
|
|
30
|
+
gene only, or a specific chromosome only, or a variant type only
|
|
31
|
+
for the _variantLocation. Valid values are: gene, chr,
|
|
32
|
+
exon,fusion,CNV.
|
|
33
|
+
:param str _since: Date of variant report that results must be >=
|
|
34
|
+
(anded with _until).
|
|
35
|
+
:param str _until: Date of variant report that results must be <=
|
|
36
|
+
(anded w/_since).
|
|
37
|
+
:param str _elements: Comma separated list of observation.variant
|
|
38
|
+
elements to include in response (see observation.variant spec for
|
|
39
|
+
names to be used).
|
|
40
|
+
:param str patient: Comma separated list of patient research ids to
|
|
41
|
+
filter response.
|
|
42
|
+
:param str _variant_desc: String(s) using full HGVS or ISCN
|
|
43
|
+
nomenclature.
|
|
44
|
+
:param str _variant_location: String(s) using genomic coordinates of
|
|
45
|
+
location or HGNC approved gene symbols. for fusions use the ::
|
|
46
|
+
between the 5' and 3' ends of the genes or chromosomes (e.g.,
|
|
47
|
+
ROS1::SDC4 or 3:123456::4:345756).
|
|
48
|
+
:param int _patient_limit: How many patients to limit response to.
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
options['Query'] = _query
|
|
52
|
+
return self._get(category='fhir', resource='Observation', **options)
|
|
53
|
+
|
|
54
|
+
def find_variants(self, data=None, **options):
|
|
55
|
+
"""
|
|
56
|
+
Retrieve count or list of patients having specified variants.
|
|
57
|
+
PATH: /{apiVersion}/fhir/findVariants
|
|
58
|
+
|
|
59
|
+
:param dict data: Mandatory body parameter. (REQUIRED)
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
return self._post(category='fhir', resource='findVariants', data=data, **options)
|
|
63
|
+
|
|
@@ -21,6 +21,7 @@ pyxetabase/rest_clients/clinical_analysis_client.py
|
|
|
21
21
|
pyxetabase/rest_clients/cohort_client.py
|
|
22
22
|
pyxetabase/rest_clients/cvdb_client.py
|
|
23
23
|
pyxetabase/rest_clients/disease_panel_client.py
|
|
24
|
+
pyxetabase/rest_clients/f_h_i_r_client.py
|
|
24
25
|
pyxetabase/rest_clients/family_client.py
|
|
25
26
|
pyxetabase/rest_clients/federation_client.py
|
|
26
27
|
pyxetabase/rest_clients/file_client.py
|
|
@@ -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.dev85',
|
|
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.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/_parent_rest_clients.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/alignment_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/disease_panel_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/federation_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/individual_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/organization_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/user_tool_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyxetabase-4.0.0.dev83 → pyxetabase-4.0.0.dev85}/pyxetabase/rest_clients/workflow_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|