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

plot_arrays(plot_logo = TRUE) fails when repeats are different lengths #2

Open
acvill opened this issue Dec 12, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@acvill
Copy link
Owner

acvill commented Dec 12, 2024

[CRISPRviewR version 0.3.0]

Problem

ggseqlogo::ggseqlogo() fails when the repeat sequence lengths are different. This only happens when repeats at the ends of arrays are truncated in the process of reassigning sequences when calling read_minced(fix_repeats = TRUE). (See explanation here.).

Solution

Overwrite truncated repeats with NA. I favor this approach because there's no reason to preserve truncated repeats.

@acvill acvill added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant