Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature: allow user to collapse R1 and R2 in the same UMI group to separate consensus reads #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Qirong-Lin
Copy link

Hi dynast team:

Thanks for developing this amazing tool.

I added a new feature to the dynast consensus tool. Users can add one extra tag --separate-r1-r2 to collapse R1 and R2 to separate consensus reads, while maintaining the same qname (SHA256 hash for the UMI group) for both of them. After collapsing, the R1 consensus will have flag 65 (read paired, first in pair), and the R2 consensus will have flag 129 (read paired, second in pair).

Running dynast consensus without specifying --separate-r1-r2 will have the same result as before, i.e. R1 and R2 will be collapsed together.

I updated the source code and added a help message. I also updated the version from 1.0.1 to 1.0.2beta in this pull request.

Best,
Qirong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant