python-katlas 0.0.7__tar.gz → 0.0.8__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.
- {python-katlas-0.0.7/python_katlas.egg-info → python-katlas-0.0.8}/PKG-INFO +1 -1
- python-katlas-0.0.8/katlas/__init__.py +1 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/_modidx.py +2 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/core.py +14 -1
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/dl.py +2 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/feature.py +2 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/plot.py +2 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/train.py +2 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8/python_katlas.egg-info}/PKG-INFO +1 -1
- {python-katlas-0.0.7 → python-katlas-0.0.8}/settings.ini +1 -1
- python-katlas-0.0.7/katlas/__init__.py +0 -1
- {python-katlas-0.0.7 → python-katlas-0.0.8}/LICENSE +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/MANIFEST.in +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/README.md +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/katlas/imports.py +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/python_katlas.egg-info/SOURCES.txt +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/python_katlas.egg-info/dependency_links.txt +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/python_katlas.egg-info/entry_points.txt +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/python_katlas.egg-info/not-zip-safe +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/python_katlas.egg-info/requires.txt +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/python_katlas.egg-info/top_level.txt +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/setup.cfg +0 -0
- {python-katlas-0.0.7 → python-katlas-0.0.8}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.7"
|
|
@@ -19,6 +19,8 @@ d = { 'settings': { 'branch': 'main',
|
|
|
19
19
|
'katlas.core.Data.get_cddm_others_info': ('core.html#data.get_cddm_others_info', 'katlas/core.py'),
|
|
20
20
|
'katlas.core.Data.get_cddm_upper': ('core.html#data.get_cddm_upper', 'katlas/core.py'),
|
|
21
21
|
'katlas.core.Data.get_combine': ('core.html#data.get_combine', 'katlas/core.py'),
|
|
22
|
+
'katlas.core.Data.get_combine_site_phosphorylated': ( 'core.html#data.get_combine_site_phosphorylated',
|
|
23
|
+
'katlas/core.py'),
|
|
22
24
|
'katlas.core.Data.get_combine_site_psp_ochoa': ('core.html#data.get_combine_site_psp_ochoa', 'katlas/core.py'),
|
|
23
25
|
'katlas.core.Data.get_cptac_ensembl_site': ('core.html#data.get_cptac_ensembl_site', 'katlas/core.py'),
|
|
24
26
|
'katlas.core.Data.get_cptac_gene_site': ('core.html#data.get_cptac_gene_site', 'katlas/core.py'),
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"""Core functions in Katlas library"""
|
|
2
|
+
|
|
1
3
|
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_core.ipynb.
|
|
2
4
|
|
|
3
5
|
# %% auto 0
|
|
@@ -177,7 +179,7 @@ class Data:
|
|
|
177
179
|
return Data.fetch_data(Data.OCHOA_URL)
|
|
178
180
|
|
|
179
181
|
# combine ochoa and PSP low throughput data
|
|
180
|
-
COMBINE_PSP_OCHOA_URL = "https://github.com/sky1ove/katlas/raw/main/dataset/phosphosites/
|
|
182
|
+
COMBINE_PSP_OCHOA_URL = "https://github.com/sky1ove/katlas/raw/main/dataset/phosphosites/combine_site_psp_ochoa.parquet"
|
|
181
183
|
@staticmethod
|
|
182
184
|
def get_combine_site_psp_ochoa():
|
|
183
185
|
"Combined Ochoa and PhosphoSitePlus"
|
|
@@ -187,6 +189,17 @@ class Data:
|
|
|
187
189
|
df.columns = [int(col) if col.lstrip('-').isdigit() else col for col in df.columns]
|
|
188
190
|
return df
|
|
189
191
|
|
|
192
|
+
# combine ochoa and PSP low throughput data
|
|
193
|
+
P_COMBINE_PSP_OCHOA_URL = "https://github.com/sky1ove/katlas/raw/main/dataset/phosphosites/phosphorylated_combine_site.parquet"
|
|
194
|
+
@staticmethod
|
|
195
|
+
def get_combine_site_phosphorylated():
|
|
196
|
+
"Combined Ochoa and PhosphoSitePlus with phosphorylation status"
|
|
197
|
+
df = Data.fetch_data(Data.P_COMBINE_PSP_OCHOA_URL)
|
|
198
|
+
|
|
199
|
+
#Convert the number in the column name into integer
|
|
200
|
+
df.columns = [int(col) if col.lstrip('-').isdigit() else col for col in df.columns]
|
|
201
|
+
return df
|
|
202
|
+
|
|
190
203
|
|
|
191
204
|
# %% ../nbs/00_core.ipynb 12
|
|
192
205
|
class CPTAC:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.0.6"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|