Daniel-Liu-c0deb0t / UMICollapse

Accelerating the deduplication and collapsing process for reads with Unique Molecular Identifiers (UMI). Heavily optimized for scalability and orders of magnitude faster than a previous tool.
MIT License
62 stars 8 forks source link

Percentage parameter #12

Open gouinK opened 2 years ago

gouinK commented 2 years ago

Greetings,

This is a great tool - does the percentage (-p) parameter correspond to the 2 in this formula for determining the directional edge cutoff?

Na >= 2Nb - 1

Thanks!

Daniel-Liu-c0deb0t commented 2 years ago

No, it is slightly reformulated:

Nb <= (Na + 1) * 0.5

This is equivalent to your formula, but -p corresponds to the 0.5 instead of the 2.