We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b377081 commit 264f1f3Copy full SHA for 264f1f3
1 file changed
umi_tools/dedup.py
@@ -345,8 +345,8 @@ def main(argv=None):
345
# above are cheap and always collected from all positions.
346
if np.random.random() < options.stats_sample_fraction:
347
348
- # A single-UMI position has no pairs, so average
349
- # distance is -1 by convention; skip the O(N^2) call.
+ # Single-UMI positions have no pairs; result and null
+ # are both -1 by convention, with no null draw needed.
350
pre_size = len(bundle)
351
if pre_size == 1:
352
pre_cluster_stats.append(-1)
0 commit comments