eweitz / ideogram

Chromosome visualization for the web
https://eweitz.github.io/ideogram
Other
294 stars 71 forks source link

Enable annotation labels #248

Closed eweitz closed 4 years ago

eweitz commented 4 years ago

This adds support for labeling annotations, i.e. marked genomic features. The labels show the name of the feature beside the annotation shape. They are designed to be small and (in a subsequent PR) visible by default.

The labels are not designed to appear for all annotations. Like genomic features in the "Genes" track of NCBI Genome Data Viewer, or geographic features in Google Maps, the annotations labels in Ideogram often leave features unlabeled for merely geometric reasons (to minimize collisions and overlap), while prioritizing important features where possible. With this preliminary work done, the plan is to first maximize label counts while minimizing overlap, then enable clients to prioritize features for labeling.

The intent for now is to make genomic information more glanceable, and suggest to users that annotations are interactive.

annotation_labels_ideogram_2020-10-21