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_synteny error when target length is > query length #31

Open
mountainmanjared opened this issue Oct 21, 2021 · 0 comments
Open

plot_synteny error when target length is > query length #31

mountainmanjared opened this issue Oct 21, 2021 · 0 comments

Comments

@mountainmanjared
Copy link

Hello,
I tried to run plot_synteny with the following command:
"plot_synteny(gen_alignment_paf, q_chrom="Omy_2", t_chrom="OmyA_02", centre=TRUE) +
theme_bw()" ,
to which I get this error:
"Error: Aesthetics must be either length 1 or the same as the data (17026): ymin and ymax
Run rlang::last_error() to see where the error occurred.
In addition: Warning messages:
1: In tlen - qlen :
longer object length is not a multiple of shorter object length
2: In qlen > tlen :
longer object length is not a multiple of shorter object length
3: In if (qlen > tlen) { :
the condition has length > 1 and only the first element will be used
4: In synt_df[["x"]][synt_df[["seq"]] == q_chrom] + os :
longer object length is not a multiple of shorter object length"

My target length is ~100mb and query is ~80mb. Switching the naming of q_chrom and _tchrom does not solve the issue. I'm running R v. 4.0.5 on Ubuntu v18. The dotplot() function works fine with these data.

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