offtracker 2.14.2__zip → 2.14.4__zip
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.
- {offtracker-2.14.2/offtracker.egg-info → offtracker-2.14.4}/PKG-INFO +1 -1
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/_version.py +2 -2
- {offtracker-2.14.2 → offtracker-2.14.4/offtracker.egg-info}/PKG-INFO +1 -1
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker.egg-info/requires.txt +1 -11
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_analysis.py +1 -1
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_config.py +2 -2
- {offtracker-2.14.2 → offtracker-2.14.4}/setup.py +2 -2
- {offtracker-2.14.2 → offtracker-2.14.4}/LICENSE.txt +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/MANIFEST.in +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/README.md +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/X_offplot.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/X_offtracker.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/X_sequence.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/__init__.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/snakefile/Snakefile_QC.smk +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/snakefile/Snakefile_offtracker.smk +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/1.1_bed2fr.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/1.3_bdg_normalize_v4.0.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/bedGraphToBigWig +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/hg38.chrom.sizes +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/mm10.chrom.sizes +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/offtracker_blacklist_hg38.merged.bed +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/offtracker_blacklist_mm10.merged.bed +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker.egg-info/SOURCES.txt +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker.egg-info/dependency_links.txt +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/offtracker.egg-info/top_level.txt +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_candidates.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_correction.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_init.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_plot.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/scripts/offtracker_qc.py +0 -0
- {offtracker-2.14.2 → offtracker-2.14.4}/setup.cfg +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = "2.14.
|
|
1
|
+
__version__ = "2.14.4"
|
|
2
2
|
# 2023.08.11. v1.1.0 adding a option for not normalizing the bw file
|
|
3
3
|
# 2023.10.26. v1.9.0 prerelease for v2.0
|
|
4
4
|
# 2023.10.27. v2.0.0 大更新,还没微调
|
|
@@ -47,4 +47,4 @@ __version__ = "2.14.2"
|
|
|
47
47
|
# 2025.08.09. v2.13.2 chromap + trim 参数
|
|
48
48
|
# 2025.10.05. v2.14.0 添加 threads 监控,在 offtracker_config.py 中添加 --cpu_help 选项进入互动模式,推荐 CPU 参数。
|
|
49
49
|
# 2025.10.05. v2.14.1 修正小问题。
|
|
50
|
-
# 2025.10.06. v2.14.
|
|
50
|
+
# 2025.10.06. v2.14.4 修正依赖和bug。
|
|
@@ -400,7 +400,7 @@ def main():
|
|
|
400
400
|
# 2025.06.05. BE可能会形成单边信号,但是很少见,如果 control 用的是别的 sgRNA 的样本,对应脱靶位置附近一般就是负数
|
|
401
401
|
# bool_neg_score = df_result['track_score']< -1
|
|
402
402
|
df_output = df_result[bool_fdr|bool_score].copy()
|
|
403
|
-
df_output = df_output['track_score']>1.75
|
|
403
|
+
df_output = df_output[df_output['track_score']>1.75].copy()
|
|
404
404
|
if pattern_ctr != 'none':
|
|
405
405
|
df_output = df_output[['target_location', 'best_strand','best_target','deletion','insertion','mismatch',
|
|
406
406
|
'exp_L_length', 'exp_R_length','ctr_L_length','ctr_R_length','L_length','R_length','signal_length',
|
|
@@ -103,8 +103,8 @@ def main():
|
|
|
103
103
|
print('Total samples:', n_sample)
|
|
104
104
|
print('\n')
|
|
105
105
|
# 用户输入分配的最大内存和CPU线程数
|
|
106
|
-
max_memory_gb = float(input(rf"Please input the maximum memory for the program (GB
|
|
107
|
-
max_cpu_threads = int(input(rf"Please input the maximum CPU threads for the program
|
|
106
|
+
max_memory_gb = float(input(rf"Please input the maximum memory for the program (25 GB - {memory_available} GB): "))
|
|
107
|
+
max_cpu_threads = int(input(rf"Please input the maximum CPU threads for the program (1 - {cpu_available}): "))
|
|
108
108
|
assert (max_memory_gb < memory_available)&(max_memory_gb >= 25), f'max memory must be < available memory ({memory_available} GB) and >= 25 GB, current input: {max_memory_gb} GB'
|
|
109
109
|
assert (max_cpu_threads <= cpu_available)&(max_cpu_threads >= 1), f'max CPU threads must be <= available CPU threads ({cpu_available}) and >= 1, current input: {max_cpu_threads}'
|
|
110
110
|
# 计算推荐的 cpu 参数
|
|
@@ -26,8 +26,8 @@ with open(os.path.join(here, package_folder, '_version.py'),'r',encoding='utf-8'
|
|
|
26
26
|
|
|
27
27
|
# requirements
|
|
28
28
|
REQUIRED = [
|
|
29
|
-
'pandas', 'polars>=1.19.0', 'numpy', 'scipy', 'matplotlib', 'biopython<=1.85', 'pybedtools', 'pyyaml', 'psutil',
|
|
30
|
-
'os','sys','re', 'glob', 'time','itertools','argparse', 'multiprocessing', 'shutil', 'yaml', 'math'
|
|
29
|
+
'pandas', 'polars>=1.19.0', 'numpy', 'scipy', 'matplotlib', 'biopython<=1.85', 'pybedtools', 'pyarrow', 'pyyaml', 'psutil',
|
|
30
|
+
# 'os','sys','re', 'glob', 'time','itertools','argparse', 'multiprocessing', 'shutil', 'yaml', 'math'
|
|
31
31
|
]
|
|
32
32
|
## pybedtools may be not supported in Windows
|
|
33
33
|
|
|
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
|
|
File without changes
|
{offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/offtracker_blacklist_hg38.merged.bed
RENAMED
|
File without changes
|
{offtracker-2.14.2 → offtracker-2.14.4}/offtracker/utility/offtracker_blacklist_mm10.merged.bed
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
|