seer-pas-sdk 0.3.2__py3-none-any.whl → 0.3.3__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.
- seer_pas_sdk/core/sdk.py +47 -3
- {seer_pas_sdk-0.3.2.dist-info → seer_pas_sdk-0.3.3.dist-info}/METADATA +1 -1
- {seer_pas_sdk-0.3.2.dist-info → seer_pas_sdk-0.3.3.dist-info}/RECORD +6 -6
- {seer_pas_sdk-0.3.2.dist-info → seer_pas_sdk-0.3.3.dist-info}/WHEEL +0 -0
- {seer_pas_sdk-0.3.2.dist-info → seer_pas_sdk-0.3.3.dist-info}/licenses/LICENSE.txt +0 -0
- {seer_pas_sdk-0.3.2.dist-info → seer_pas_sdk-0.3.3.dist-info}/top_level.txt +0 -0
seer_pas_sdk/core/sdk.py
CHANGED
|
@@ -1737,7 +1737,32 @@ class SeerSDK:
|
|
|
1737
1737
|
raise ServerError(
|
|
1738
1738
|
"Could not fetch protein results table. Please verify that your analysis completed."
|
|
1739
1739
|
)
|
|
1740
|
-
|
|
1740
|
+
res = dict_to_df(res.json())
|
|
1741
|
+
res.rename(
|
|
1742
|
+
columns={
|
|
1743
|
+
"proteinId": "uniprot_id",
|
|
1744
|
+
"n": "n_samples",
|
|
1745
|
+
"bp": "biological_process",
|
|
1746
|
+
"mf": "molecular_function",
|
|
1747
|
+
"cc": "cellular_component",
|
|
1748
|
+
"nFrac": "fraction_samples",
|
|
1749
|
+
"proteinNames": "protein_name",
|
|
1750
|
+
"geneName": "gene_name",
|
|
1751
|
+
},
|
|
1752
|
+
inplace=True,
|
|
1753
|
+
)
|
|
1754
|
+
|
|
1755
|
+
res.drop(
|
|
1756
|
+
columns=[
|
|
1757
|
+
"median_undefined",
|
|
1758
|
+
"n_undefined",
|
|
1759
|
+
"n_null",
|
|
1760
|
+
"median_null",
|
|
1761
|
+
],
|
|
1762
|
+
inplace=True,
|
|
1763
|
+
errors="ignore",
|
|
1764
|
+
)
|
|
1765
|
+
return res if as_df else res.to_dict(orient="records")
|
|
1741
1766
|
|
|
1742
1767
|
def get_peptide_results_table(
|
|
1743
1768
|
self,
|
|
@@ -1779,9 +1804,28 @@ class SeerSDK:
|
|
|
1779
1804
|
)
|
|
1780
1805
|
if res.status_code != 200:
|
|
1781
1806
|
raise ServerError(
|
|
1782
|
-
"Could not fetch
|
|
1807
|
+
"Could not fetch peptide results table. Please verify that your analysis completed."
|
|
1783
1808
|
)
|
|
1784
|
-
|
|
1809
|
+
res = dict_to_df(res.json())
|
|
1810
|
+
res.rename(
|
|
1811
|
+
columns={
|
|
1812
|
+
"proteinId": "uniprot_id",
|
|
1813
|
+
"n": "n_samples",
|
|
1814
|
+
"bp": "biological_process",
|
|
1815
|
+
"mf": "molecular_function",
|
|
1816
|
+
"cc": "cellular_component",
|
|
1817
|
+
"nFrac": "fraction_samples",
|
|
1818
|
+
"proteinNames": "protein_name",
|
|
1819
|
+
"geneName": "gene_name",
|
|
1820
|
+
},
|
|
1821
|
+
inplace=True,
|
|
1822
|
+
)
|
|
1823
|
+
|
|
1824
|
+
res.drop(columns=["n_undefined"], inplace=True, errors="ignore")
|
|
1825
|
+
res.drop(
|
|
1826
|
+
columns=["median_undefined"], inplace=True, errors="ignore"
|
|
1827
|
+
)
|
|
1828
|
+
return res if as_df else res.to_dict(orient="records")
|
|
1785
1829
|
|
|
1786
1830
|
def list_ms_data_files(self, folder="", space=None):
|
|
1787
1831
|
"""
|
|
@@ -5,14 +5,14 @@ seer_pas_sdk/common/__init__.py,sha256=jA5qm-t9x3qXMp5Q6v7vV2kZdLw32-lnbtf0fPY4l
|
|
|
5
5
|
seer_pas_sdk/common/errors.py,sha256=4HFORWnaQQCMXRE8kwdsJWvQRB_3KFEZ7yMb391e4gA,142
|
|
6
6
|
seer_pas_sdk/common/groupanalysis.py,sha256=DxB-gbQfYzl7p9MTYWDIqghcH-IeakzdYdrRZrlIHek,1730
|
|
7
7
|
seer_pas_sdk/core/__init__.py,sha256=rxbKgg-Qe24OaxX2zyHHYPYgDCTEKE_-41bB2wvpvL4,25
|
|
8
|
-
seer_pas_sdk/core/sdk.py,sha256=
|
|
8
|
+
seer_pas_sdk/core/sdk.py,sha256=yjQAMDH5FTz-EQeB5d_Q0Qq9P-2Ca9bF2pVeDSR4GtU,107380
|
|
9
9
|
seer_pas_sdk/core/unsupported.py,sha256=XAPZ3tidqjnsgftf3NUdTGIzvnsjHy0e_eGRCAo6GPo,59890
|
|
10
10
|
seer_pas_sdk/objects/__init__.py,sha256=HJLS6sOr7DfzdI14fv5dWcITEj5QQsKcdfED3YNvUrY,107
|
|
11
11
|
seer_pas_sdk/objects/groupanalysis.py,sha256=x3D_5NmYBoPDilNCQqUoCFARIfIeUq4FBY3_N6u8tfM,994
|
|
12
12
|
seer_pas_sdk/objects/platemap.py,sha256=8IvJPAecs_e_FyqibzhCw-O4zjCFnf-zMUp_5krTEsg,5864
|
|
13
13
|
seer_pas_sdk/objects/volcanoplot.py,sha256=tKuCWDIdoO8FLJlhpXhuwHn0aMYnvudTugxAslDXyGs,9357
|
|
14
|
-
seer_pas_sdk-0.3.
|
|
15
|
-
seer_pas_sdk-0.3.
|
|
16
|
-
seer_pas_sdk-0.3.
|
|
17
|
-
seer_pas_sdk-0.3.
|
|
18
|
-
seer_pas_sdk-0.3.
|
|
14
|
+
seer_pas_sdk-0.3.3.dist-info/licenses/LICENSE.txt,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
|
|
15
|
+
seer_pas_sdk-0.3.3.dist-info/METADATA,sha256=LfLErPJW2iZBwSfBgZU61azIJtvDdh2d4Zvviv5zyjM,13448
|
|
16
|
+
seer_pas_sdk-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
seer_pas_sdk-0.3.3.dist-info/top_level.txt,sha256=-2kZ-KFMGtXwr8H1O5llMKlcJ8gRKohEmrIvazXB61s,13
|
|
18
|
+
seer_pas_sdk-0.3.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|