8000 Option for circular genome alignment and counting · Issue #54 · formbio/laava · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Option for circular genome alignment and counting #54

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 relate 8000 d emails.

Already on GitHub? Sign in to your account

Open
etal opened this issue Aug 15, 2024 · 0 comments
Open

Option for circular genome alignment and counting #54

etal opened this issue Aug 15, 2024 · 0 comments

Comments

@etal
Copy link
Contributor
etal commented Aug 15, 2024

If the vector plasmid is circular, but the reference sequence is linear, sequencing reads spanning the origin will appear in the SAM/BAM output with two alignments, one on each side of the origin, and a misleading two-part classification such as "backbone|vector+backbone".

Add a workflow input option for whether the vector reference should be treated as circular (boolean). Then, if circular:

  • Perform read mapping twice -- once with the linear reference as-is, and again with the full reference sequence concatenated end-to-end.
  • Then, resolve reads spanning the origin in the concatenated reference versus the corresponding reads in the original linear reference. Ensure that the same total number of reads are present in the output, i.e. no reads are duplicated or lost after resolution. Consider adding the "TP" tag to the output BAM header and allowing read coordinates to go beyond the reference end -- see SAM/BAM support for circular reference sequences.
  • Classify origin-spanning reads (primarily backbone and vector+backbone) using modular arithmetic so that the alignment coordinates used in the report stay within the original reference's boundaries.
@etal etal added this to the v3.2 milestone Aug 15, 2024
@etal etal modified the milestones: v3.2, v3.x Nov 22, 2024
@etal etal removed this from the v3.x milestone Mar 10, 2025
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

No branches or pull requests

1 participant
0