Skip to content

Commit 3e174ca

Browse files
author
Yuhe Cheng
committed
change default NM,minor bug fix
1 parent 1a7ef3d commit 3e174ca

28 files changed

+28589
-10
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build/
2+
src/DupCaller.egg-info
3+
.prettierignore
4+
.pre-commit-config.yaml

get-pip.py

Lines changed: 28582 additions & 0 deletions
Large diffs are not rendered by default.

nextflow/DupCaller.nf

Whitespace-only changes.

src/DupCaller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
"--nmflt",
225225
type=int,
226226
help="if set to a number, any read group and half of reads has a higher NM will be filtered",
227-
default=10,
227+
default=5,
228228
)
229229
call_parser.add_argument(
230230
"-w",
@@ -289,7 +289,7 @@
289289
nargs="+",
290290
type=str,
291291
help="contigs to consider for variant calling",
292-
default=["chr" + str(_) for _ in range(1, 23, 1)] + ["chrX"],
292+
default=["chr" + str(_) for _ in range(1, 23, 1)] + ["chrX","chrY"],
293293
)
294294
learn_parser.add_argument(
295295
"-p", "--threads", type=int, help="number of threads", default=1

src/subcommands/Estimate.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,6 @@ def do_estimate(args):
206206
num2trinucSbs.append(
207207
minus_base + "[" + ref_base + ">" + alt_base + "]" + plus_base
208208
)
209-
# rf_sizes = np.zeros(len(trinuc_by_rf.columns),dtype=int)
210-
# for nn,rf in enumerate(trinuc_by_rf.columns):
211-
# ts = int(rf.split("+")[0])
212-
# bs = int(rf.split("+")[1])
213-
# rf_sizes[nn] = ts+bs
214-
# sorted_index = np.argsort(rf_sizes)
215-
# rf_sizes_sorted = rf_sizes[sorted_index]
216209
trinuc_by_rf_np = trinuc_by_rf.to_numpy()
217210
trinuc_mut_np = np.zeros([96, len(trinuc_by_rf.columns)], dtype=int)
218211
duplex_no_dict = dict()
1.06 KB
Binary file not shown.
1.06 KB
Binary file not shown.
14.1 KB
Binary file not shown.
14.4 KB
Binary file not shown.
9.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)