eweitz / ideogram

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

Enable display and annotation of human MT chromosome #227

Closed eweitz closed 4 years ago

eweitz commented 4 years ago

This supports a feature request for annotating human MT, the mitochondrial chromosome (#224). MT can now be displayed in the human genome.

In the whole-genome view, MT is shown only as a label. This is due to its extremely small size relative to nuclear chromosomes. Users can now also click on this chromosome label to toggle single-chromosome view. In that view, MT is shown as a grey line, which contains any features that have been annotated.

Example configuration:

var config = {
  organism: 'human',
  showNonNuclearChromosomes: true,
  annotations: [{
    name: 'ND1',
    chr: 'MT',
    start: 3307,
    stop: 4262
  }]
};

var ideogram = new Ideogram(config);

More work is needed to enable the broader user story. For example, there is no way to indicate an MT gene in the whole-genome view. General enhancements to enable that are coming soon.