pythonflex 0.1.3__tar.gz → 0.1.5__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.
- {pythonflex-0.1.3 → pythonflex-0.1.5}/PKG-INFO +1 -1
- {pythonflex-0.1.3 → pythonflex-0.1.5}/pyproject.toml +1 -1
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/analysis.py +2 -2
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/logging_config.py +1 -1
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/preprocessing.py +2 -2
- {pythonflex-0.1.3 → pythonflex-0.1.5}/.gitignore +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/.python-version +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/README.md +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/__init__.py +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/dataset/liver_cell_lines_500_genes.csv +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/dataset/melanoma_cell_lines_500_genes.csv +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/dataset/neuroblastoma_cell_lines_500_genes.csv +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/gold_standard/CORUM.parquet +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/gold_standard/GOBP.parquet +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/gold_standard/PATHWAY.parquet +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/gold_standard/corum.csv +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/gold_standard/gobp.csv +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/gold_standard/pathway.csv +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/examples/basic_usage.py +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/examples/dataset_filtering.py +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/plotting.py +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/utils.py +0 -0
- {pythonflex-0.1.3 → pythonflex-0.1.5}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythonflex
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5
|
|
4
4
|
Summary: pythonFLEX is a benchmarking toolkit for evaluating CRISPR screen results against biological gold standards. The toolkit computes gene-level and complex-level performance metrics, helping researchers systematically assess the biological relevance and resolution of their CRISPR screening data.
|
|
5
5
|
Author-email: Yasir Demirtaş <tyasird@hotmail.com>
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pythonflex"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.5"
|
|
4
4
|
description = "pythonFLEX is a benchmarking toolkit for evaluating CRISPR screen results against biological gold standards. The toolkit computes gene-level and complex-level performance metrics, helping researchers systematically assess the biological relevance and resolution of their CRISPR screening data."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -72,7 +72,7 @@ def initialize(config={}):
|
|
|
72
72
|
log.set_visible_levels(visible_levels)
|
|
73
73
|
|
|
74
74
|
log.info("******************************************************************")
|
|
75
|
-
log.info("🧬
|
|
75
|
+
log.info("🧬 pythonFLEX: Systematic CRISPR screen benchmarking framework")
|
|
76
76
|
log.info("******************************************************************")
|
|
77
77
|
log.started("Initialization")
|
|
78
78
|
|
|
@@ -91,7 +91,7 @@ def initialize(config={}):
|
|
|
91
91
|
os.makedirs(output_folder, exist_ok=True)
|
|
92
92
|
log.progress(f"Output folder '{output_folder}' ensured to exist.")
|
|
93
93
|
log.done("Initialization completed. ")
|
|
94
|
-
tprint("
|
|
94
|
+
tprint("FLEX",font="standard")
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -10,7 +10,7 @@ tqdm.pandas()
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def get_example_data_path(filename: str):
|
|
13
|
-
return resources.files("
|
|
13
|
+
return resources.files("pythonflex.data").joinpath("dataset").joinpath(filename)
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def _load_file(filepath, ext):
|
|
@@ -151,7 +151,7 @@ def load_gold_standard():
|
|
|
151
151
|
if gold_standard_source in gold_standard_files:
|
|
152
152
|
# Load predefined gold standard from package resources
|
|
153
153
|
filename = gold_standard_files[gold_standard_source]
|
|
154
|
-
filename_path = resources.files("
|
|
154
|
+
filename_path = resources.files("pythonflex.data").joinpath(filename)
|
|
155
155
|
if not filename_path.exists(): # Check if the file exists
|
|
156
156
|
raise ValueError(f"Invalid Gold Standard type: {gold_standard_source}. File not found.")
|
|
157
157
|
terms = pd.read_parquet(filename_path) # type: ignore
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/dataset/liver_cell_lines_500_genes.csv
RENAMED
|
File without changes
|
{pythonflex-0.1.3 → pythonflex-0.1.5}/src/pythonflex/data/dataset/melanoma_cell_lines_500_genes.csv
RENAMED
|
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
|
|
File without changes
|