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

How can I skip a genomic segment in the plot? #21

Closed
SentientVirus opened this issue Sep 8, 2023 · 2 comments
Closed

How can I skip a genomic segment in the plot? #21

SentientVirus opened this issue Sep 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@SentientVirus
Copy link

Hi,
First of all, thank you for developing this package, I have used GenoPlotR in the past, but I personally prefer to program in Python, and with PygenomeViz you can get very nice plots without changing the defaults. I am using PygenomeViz to display Blast matches, but in a few of my comparisons, there is an inserted sequence in the middle. I wanted to plot the segments before and after the insertion next to each other, but I didn't manage to do so. Instead, what I have done so far is moving the positions of the CDS and matches, and then manually editing the image. Is there an easier way to plot several segments next to each other, or to skip a segment in the plot? If not, that could be a nice new feature.

Thank you for reading this post!

@moshi4
Copy link
Owner

moshi4 commented Sep 8, 2023

Hi @SentientVirus,

Thanks for your interest in pyGenomeViz.

Is there an easier way to plot several segments next to each other, or to skip a segment in the plot?

There doesn't seem to be an easy solution in pyGenomeViz.

If not, that could be a nice new feature.

As you pointed out, I understand that it would be more convenient to be able to place multiple segments within a track in pyGenomeViz.

However, the API design of pyGenomeViz is bad, which makes it quite difficult to modify it to place multiple segments. It may be faster to redesign the API from scratch and re-implement it as new software.

For these reasons, I'm not currently considering implementing the functionality to place multiple segments in pyGenomeViz.

@moshi4 moshi4 added the enhancement New feature or request label May 2, 2024
@moshi4
Copy link
Owner

moshi4 commented May 18, 2024

Close as the issue is resolved in major upgrade v1.0.0

@moshi4 moshi4 closed this as completed May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants