Skip to content

Commit 4b12e48

Browse files
committed
remvoe print statements and update readme
1 parent a3546aa commit 4b12e48

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ Minimum sequence identity cutoff threshold. Default is 86. While it is possible
121121

122122
Each partition takes into account a fraction of its neighboring partitions k-mers. This is to avoid sub-optimal identity scores when partitons don't overlap identically. Default is 0.5, and the accepted range is between 0 and 1. Anything greater than 0.5 is not recommended.
123123

124-
`-s / --sparsity <int>`
124+
`-m / --modimizer <int>`
125125

126-
A higher sparsity value means less k-mers to compare, at the expense of lower accuracy. Modimizers are selected `0 mod s`, an inverse of the selected k-mer density. The default is `s = 2/Mbp` of sequence for fast performance without compromising accuracy. For example, on a human Y chromosome ~ 62Mbp, ModDotPlot will set `s = 124`. Interactive mode will automatically round up to the nearest power of 2, in order to make computations easier.
126+
Modimizer sketch size. Must be higher than window size `w`. A lower sketch size means less k-mers to compare (and faster runtime), at the expense of lower accuracy. Recommended to be kept > 1000.
127127

128128

129129
`-r / --resolution <int>`
@@ -165,7 +165,6 @@ Save the matrices produced in interactive mode. By default, a folder called `int
165165

166166
Load previously saved matrices. Used instead of `-f/--fasta`
167167

168-
169168
---
170169

171170
### Static Mode Commands
@@ -330,14 +329,16 @@ Progress: |███████████████████████
330329
331330
Chr1:14M-18M k-mers retrieved!
332331
333-
Computing self identity matrix for Chr1:14M-18M...
334-
335-
Sparsity value s: 10
332+
Computing self identity matrix for chr1:14M-18M...
336333
337-
Sequence length n: 4000001
334+
Sequence length n: 4000000
338335
339336
Window size w: 4000
340337
338+
Modimizer sketch value: 1000
339+
340+
Plot Resolution r: 1000
341+
341342
Progress: |████████████████████████████████████████| 100.0% Completed
342343
343344

src/moddotplot/estimate_identity.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def createSelfMatrix(
3737
ambiguous,
3838
sketch_size,
3939
):
40-
print(f"{sketch_size}\n")
4140
no_neighbors = partitionOverlaps(sequence, window_size, 0, sequence_length, k)
4241
if delta > 0:
4342
neighbors = partitionOverlaps(sequence, window_size, delta, sequence_length, k)

0 commit comments

Comments
 (0)