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

Question on tagging of supplemental alignments #5

Closed
mrvollger opened this issue May 5, 2023 · 2 comments
Closed

Question on tagging of supplemental alignments #5

mrvollger opened this issue May 5, 2023 · 2 comments
Labels
question Further information is requested

Comments

@mrvollger
Copy link

Hi Matt,

Thanks again for the great tool. I am wondering, how are supplemental reads tagged? are they treated as their own reads or do they "inherit" the HP and PS of the primary alignment?

Thanks!
Mitchell

@holtjma
Copy link
Collaborator

holtjma commented May 5, 2023

Mitchell,

Within a given phase block, each read mapping gets converted into a set of alleles based on the provided variants. Afterwards, all mappings with the same read name are collapsed into a single read observation. This means that within a block, all primary and supplementary mappings for a read are effectively fused together into a single unit, and will receive the same PS and HP tags throughout that phase block.

Note that this is just within a block, if the mappings are in different blocks (i.e. too far apart or different contigs), then they can get different PS and HP tags. Does that clarify it?

Matt

@holtjma holtjma added the question Further information is requested label May 5, 2023
@mrvollger
Copy link
Author

Perfect. Thanks!

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

No branches or pull requests

2 participants