Code Monkey home page Code Monkey logo

Comments (3)

Zulko avatar Zulko commented on August 23, 2024

Unfortunately that's the limitation of the circular display, and the improvements you mention are not easy (a middle step would be to have just top and bottom annotations, but even this would be a small project of its own, so I can't give you an estimate of when it will be possible).

In our group we use linear display most of the time, even though we work with plasmids too, as they are much more readable. We use the circular view only with a couple of annotation labels, like highlighted restriction sites.

from dnafeaturesviewer.

mmcguffi avatar mmcguffi commented on August 23, 2024

Thank you for getting back to me! Top and bottom would be great -- I could try this myself. Could you point me to the relevant code and maybe I can fork the repo?

from dnafeaturesviewer.

Zulko avatar Zulko commented on August 23, 2024

Thanks for offering your help (expect it to be a bit complicated!).

The subclass CircularGraphicRecord is defined here:

https://github.com/Edinburgh-Genome-Foundry/DnaFeaturesViewer/blob/master/dna_features_viewer/CircularGraphicRecord/CircularGraphicRecord.py

This class re-defines some methods like how the features are placed, but all other methods are inherited from GraphicRecord (which is why annotations are placed the same way, at the top, in both linear and circular plots). There should be a way to separate the features in 2 groups, and then plot them separately, but I'm not sure what would work/not work.

from dnafeaturesviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.