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

Oval or diamond/octagon in addition to arrows for displayed features? #83

Open
photocyte opened this issue Jan 8, 2024 · 1 comment

Comments

@photocyte
Copy link

Hi there,

I've been using DNAFeaturesViewer for visualizing domains on polypeptides. (Yes, not exactly it's the intended use case of DFV - but its seeing as FASTA & GFF files are used in both areas, works well).

Typically, domains are shown with ovals, not the rectangular arrows like DFV shows by default which are more typically used for CDS features.

Would it be possible for DNAFeaturesViewer to be able to display features as ovals, or, as a simple solution, apply the code for the "arrow" to both the left and right of the feature, thus making an octogon. I've been editing the path of the features manually in my vector editor to make the octogon from the default feature arrows. Example below:

Screenshot 2024-01-08 at 11 34 46 AM
@veghp
Copy link
Member

veghp commented Jan 11, 2024

Hi,

Thanks & I agree this could be a good enhancement. First implementing the double-arrow feature to make a hexagon, which could be potentially easy (but I need to review the code).

Then it could be extended with a parameter to use an ellipse, or possibly round the edges of the rectangle (but I can't say now if these are possible).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants