offtracker 2.10.0__zip → 2.10.2__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.10.0/offtracker.egg-info → offtracker-2.10.2}/PKG-INFO +3 -3
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/X_sequence.py +4 -4
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/_version.py +3 -2
- {offtracker-2.10.0 → offtracker-2.10.2/offtracker.egg-info}/PKG-INFO +3 -3
- {offtracker-2.10.0 → offtracker-2.10.2}/scripts/offtracker_candidates.py +1 -1
- {offtracker-2.10.0 → offtracker-2.10.2}/scripts/offtracker_config.py +1 -2
- {offtracker-2.10.0 → offtracker-2.10.2}/LICENSE.txt +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/MANIFEST.in +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/README.md +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/X_offplot.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/X_offtracker.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/__init__.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/snakefile/Snakefile_QC.smk +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/snakefile/Snakefile_offtracker.smk +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/1.1_bed2fr.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/1.3_bdg_normalize_v4.0.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/bedGraphToBigWig +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/hg38.chrom.sizes +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/mm10.chrom.sizes +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/offtracker_blacklist_hg38.merged.bed +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker/utility/offtracker_blacklist_mm10.merged.bed +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker.egg-info/SOURCES.txt +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker.egg-info/dependency_links.txt +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker.egg-info/requires.txt +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/offtracker.egg-info/top_level.txt +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/scripts/offtracker_analysis.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/scripts/offtracker_plot.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/scripts/offtracker_qc.py +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/setup.cfg +0 -0
- {offtracker-2.10.0 → offtracker-2.10.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: offtracker
|
3
|
-
Version: 2.10.
|
3
|
+
Version: 2.10.2
|
4
4
|
Summary: Tracking-seq data analysis
|
5
5
|
Home-page: https://github.com/Lan-lab/offtracker
|
6
6
|
Author: Runda Xu
|
@@ -10,9 +10,9 @@ Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE.txt
|
11
11
|
|
12
12
|
|
13
|
-
#
|
13
|
+
# Offtracker
|
14
14
|
|
15
|
-
|
15
|
+
Offtracker is an end to end pipeline of Tracking-seq data analysis for detecting off-target sites of any genome editing tools that generate double-strand breaks (DSBs) or single-strand breaks (SSBs).
|
16
16
|
|
17
17
|
## System requirements
|
18
18
|
|
@@ -155,8 +155,8 @@ def detect_fastq(folder, n_subfolder, NGS_type='paired-end'):
|
|
155
155
|
if len(files_R2) > 0:
|
156
156
|
files_R2 = pd.Series(files_R2).sort_values().reset_index(drop=True)
|
157
157
|
# 拆分文件名
|
158
|
-
suffix = files_R2.str.extract('(\.fastq.*|\.fq.*)',expand=False)
|
159
|
-
prefix = files_R2.str.extract('(.*)(?:.fq|.fastq)',expand=False)
|
158
|
+
suffix = files_R2.str.extract(r'(\.fastq.*|\.fq.*)',expand=False)
|
159
|
+
prefix = files_R2.str.extract(r'(.*)(?:.fq|.fastq)',expand=False)
|
160
160
|
# 将 prefix 进一步拆分为 sample_dir (真样品名) 和 nametype (某种统一后缀),支持五种样本名后缀
|
161
161
|
nametype = []
|
162
162
|
sample_dir = []
|
@@ -194,8 +194,8 @@ def detect_fastq(folder, n_subfolder, NGS_type='paired-end'):
|
|
194
194
|
#
|
195
195
|
if len(files_R1) > 0:
|
196
196
|
# 拆分文件名
|
197
|
-
suffix = files_R1.str.extract('(\.fastq.*|\.fq.*)',expand=False)
|
198
|
-
prefix = files_R1.str.extract('(.*)(?:.fq|.fastq)',expand=False)
|
197
|
+
suffix = files_R1.str.extract(r'(\.fastq.*|\.fq.*)',expand=False)
|
198
|
+
prefix = files_R1.str.extract(r'(.*)(?:.fq|.fastq)',expand=False)
|
199
199
|
# 单端模式下,所有前缀都视为样品名
|
200
200
|
sample_names = prefix.apply(os.path.basename)
|
201
201
|
else:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "2.10.
|
1
|
+
__version__ = "2.10.2"
|
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 大更新,还没微调
|
@@ -33,4 +33,5 @@ __version__ = "2.10.0"
|
|
33
33
|
# 2025.04.25. v2.8.0 修复了 offtracker candidates 会把小写序列转换成 N 的 bug
|
34
34
|
# 2025.05.22. v2.9.0 翻新部分代码结构
|
35
35
|
# 2025.06.05. v2.10.0 增加了QC模块。保留了负数score的记录,并在plot时显示为红字。增加了 "--ignore_chr" 用于跳过common chr过滤。
|
36
|
-
|
36
|
+
# 2025.06.17. v2.10.1 修复翻新代码结构导致的bug
|
37
|
+
# 2025.06.17. v2.10.2 修复翻新代码结构导致的bug
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: offtracker
|
3
|
-
Version: 2.10.
|
3
|
+
Version: 2.10.2
|
4
4
|
Summary: Tracking-seq data analysis
|
5
5
|
Home-page: https://github.com/Lan-lab/offtracker
|
6
6
|
Author: Runda Xu
|
@@ -10,9 +10,9 @@ Description-Content-Type: text/markdown
|
|
10
10
|
License-File: LICENSE.txt
|
11
11
|
|
12
12
|
|
13
|
-
#
|
13
|
+
# Offtracker
|
14
14
|
|
15
|
-
|
15
|
+
Offtracker is an end to end pipeline of Tracking-seq data analysis for detecting off-target sites of any genome editing tools that generate double-strand breaks (DSBs) or single-strand breaks (SSBs).
|
16
16
|
|
17
17
|
## System requirements
|
18
18
|
|
@@ -16,7 +16,7 @@ if sys.version_info < (3,0):
|
|
16
16
|
import offtracker
|
17
17
|
import offtracker.X_sequence as xseq
|
18
18
|
script_dir = os.path.abspath(os.path.dirname(offtracker.__file__))
|
19
|
-
script_folder= os.path.join(script_dir, '
|
19
|
+
script_folder= os.path.join(script_dir, 'utility')
|
20
20
|
|
21
21
|
import argparse
|
22
22
|
import pandas as pd
|
@@ -61,7 +61,7 @@ else:
|
|
61
61
|
args.ignore_chr = ''
|
62
62
|
|
63
63
|
# 搜索 folder 的 n级子目录下的所有 fastq/fastq.gz/fq/fq.gz 文件
|
64
|
-
sample_names, files_R1, files_R2 = xseq.detect_fastq(args.folder, n_subfolder=args.subfolder
|
64
|
+
sample_names, files_R1, files_R2 = xseq.detect_fastq(args.folder, n_subfolder=args.subfolder)
|
65
65
|
|
66
66
|
assert not isinstance(sample_names, str), 'No fastq file is detected!'
|
67
67
|
|
@@ -69,7 +69,6 @@ dict_yaml = {
|
|
69
69
|
# fastq 信息
|
70
70
|
'files_R1':dict(zip(sample_names,files_R1)),
|
71
71
|
'files_R2':dict(zip(sample_names,files_R2)), # 单端 files_R2=[] 结果会自动为 {}
|
72
|
-
'NGS_type':args.NGS_type,
|
73
72
|
# 输入输出文件夹
|
74
73
|
'input_dir':args.folder,
|
75
74
|
'output_dir':args.outdir,
|
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.10.0 → offtracker-2.10.2}/offtracker/utility/offtracker_blacklist_hg38.merged.bed
RENAMED
File without changes
|
{offtracker-2.10.0 → offtracker-2.10.2}/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
|