inferploidy 0.1.1__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.
- inferploidy-0.1.1/LICENSE +20 -0
- inferploidy-0.1.1/MANIFEST.in +4 -0
- inferploidy-0.1.1/PKG-INFO +47 -0
- inferploidy-0.1.1/README.md +6 -0
- inferploidy-0.1.1/pyproject.toml +30 -0
- inferploidy-0.1.1/setup.cfg +4 -0
- inferploidy-0.1.1/setup.py +5 -0
- inferploidy-0.1.1/src/inferploidy/__init__.py +7 -0
- inferploidy-0.1.1/src/inferploidy/clustering.py +17 -0
- inferploidy-0.1.1/src/inferploidy/hicat.py +5677 -0
- inferploidy-0.1.1/src/inferploidy/inferploidy.py +49 -0
- inferploidy-0.1.1/src/inferploidy/pl.py +3041 -0
- inferploidy-0.1.1/src/inferploidy.egg-info/PKG-INFO +47 -0
- inferploidy-0.1.1/src/inferploidy.egg-info/SOURCES.txt +16 -0
- inferploidy-0.1.1/src/inferploidy.egg-info/dependency_links.txt +1 -0
- inferploidy-0.1.1/src/inferploidy.egg-info/entry_points.txt +2 -0
- inferploidy-0.1.1/src/inferploidy.egg-info/requires.txt +10 -0
- inferploidy-0.1.1/src/inferploidy.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Seokhyun Yoon
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the “Software”), to deal in the
|
|
7
|
+
Software without restriction, including without limitation the rights to use, copy,
|
|
8
|
+
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
|
9
|
+
and to permit persons to whom the Software is furnished to do so, subject to the
|
|
10
|
+
following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all copies
|
|
13
|
+
or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
16
|
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
17
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
18
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
20
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: inferploidy
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Tookits for Tumor cell identification in single-cell RNA-seq data
|
|
5
|
+
Author-email: Seokhyun Yoon <syoon@dku.edu>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2023 Seokhyun Yoon
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
11
|
+
this software and associated documentation files (the “Software”), to deal in the
|
|
12
|
+
Software without restriction, including without limitation the rights to use, copy,
|
|
13
|
+
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
|
14
|
+
and to permit persons to whom the Software is furnished to do so, subject to the
|
|
15
|
+
following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all copies
|
|
18
|
+
or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
21
|
+
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
22
|
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
23
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
24
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
25
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
26
|
+
Project-URL: Homepage, https://github.com/combio-dku
|
|
27
|
+
Keywords: single-cell omics,bioinformatics
|
|
28
|
+
Classifier: Programming Language :: Python
|
|
29
|
+
Classifier: Programming Language :: Python :: 3
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: numpy; extra == "dev"
|
|
34
|
+
Requires-Dist: pandas; extra == "dev"
|
|
35
|
+
Requires-Dist: scipy; extra == "dev"
|
|
36
|
+
Requires-Dist: scikit-learn; extra == "dev"
|
|
37
|
+
Requires-Dist: scikit-network; extra == "dev"
|
|
38
|
+
Requires-Dist: infercnvpy; extra == "dev"
|
|
39
|
+
Requires-Dist: scanpy; extra == "dev"
|
|
40
|
+
Requires-Dist: seaborn; extra == "dev"
|
|
41
|
+
|
|
42
|
+
## MLBI_at_DKU_Lib
|
|
43
|
+
Tookits for Tumor cell identification in single-cell RNA-seq data.
|
|
44
|
+
|
|
45
|
+
## Contact
|
|
46
|
+
Send email to syoon@dku.edu for any inquiry on the usages.
|
|
47
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# pyproject.toml
|
|
2
|
+
|
|
3
|
+
[build-system]
|
|
4
|
+
requires = ["setuptools>=61.0.0", "wheel"]
|
|
5
|
+
build-backend = "setuptools.build_meta"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = "inferploidy"
|
|
9
|
+
version = "0.1.1"
|
|
10
|
+
description = "Tookits for Tumor cell identification in single-cell RNA-seq data"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
authors = [{ name = "Seokhyun Yoon", email = "syoon@dku.edu" }]
|
|
13
|
+
license = { file = "LICENSE" }
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
]
|
|
18
|
+
keywords = ["single-cell omics", "bioinformatics"]
|
|
19
|
+
dependencies = [
|
|
20
|
+
]
|
|
21
|
+
# requires-python = "<3.11"
|
|
22
|
+
|
|
23
|
+
[project.optional-dependencies]
|
|
24
|
+
dev = ["numpy", "pandas", "scipy", "scikit-learn", "scikit-network", "infercnvpy", "scanpy", "seaborn"]
|
|
25
|
+
|
|
26
|
+
[project.urls]
|
|
27
|
+
Homepage = "https://github.com/combio-dku"
|
|
28
|
+
|
|
29
|
+
[project.scripts]
|
|
30
|
+
realpython = "reader.__main__:main"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import copy, random
|
|
2
|
+
import numpy as np
|
|
3
|
+
import pandas as pd
|
|
4
|
+
import sklearn
|
|
5
|
+
import sklearn.linear_model as lm
|
|
6
|
+
from sklearn.neighbors import kneighbors_graph
|
|
7
|
+
from scipy.sparse import csr_matrix, csc_matrix
|
|
8
|
+
|
|
9
|
+
CLUSTERING_AGO = 'lv'
|
|
10
|
+
SKNETWORK = True
|
|
11
|
+
try:
|
|
12
|
+
from sknetwork.clustering import Louvain
|
|
13
|
+
except ImportError:
|
|
14
|
+
print('WARNING: sknetwork not installed. GMM will be used for clustering.')
|
|
15
|
+
CLUSTERING_AGO = 'km'
|
|
16
|
+
SKNETWORK = False
|
|
17
|
+
|