eweitz / ideogram

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

Protein diagrams: show unfeatured regions, enlarge #355

Closed eweitz closed 1 year ago

eweitz commented 1 year ago

This refines protein diagrams to visually connect and polish biological features, clarifying the graphics for biologists.

Previously, protein features were small and unconnected to each other. That's common for linear diagrams of proteins, but it's not ideal. The diagrams represent a contiguous molecule, not merely a series of features. So now, protein diagrams in Ideogram.js have a visually diminutive but clear line that runs through the entire length of the protein. This emphasizes the real continuity of the molecule. It also often reveals that e.g. proteins often don't end where their Pfam entries end.

Features are now also larger. New top and bottom borders visually distinguish the protein. Missing Pfam entries were fixed, and many features were color-mapped. Altogether, this graphical polish makes the protein biology notably clearer.

Here is how it looks.

LDLR far before

In v1.42.0:

LDLR_without_protein_topology__Ideogram_2023-06-24

LDLR soon before

Immediately preceding look:

LDLR_with_protein_topology__Ideogram_2023-06-24

LDLR after

With changes described above:

LDLR_with_unfeatured_regions__Ideogram_2023-07-10

PSCK9 far before

In v1.42.0:

PSCK9_as_of_v1-42-0__Ideogram_2023-07-10

PSCK9 after

With changes described above:

PSCK9_with_unfeatured_regions__Ideogram_2023-07-10

PSCK7 far before

In v1.42.0:

PSCK7_as_of_v1-42-0__Ideogram_2023-07-10

PSCK7 after

With changes described above:

PSCK7_with_unfeatured_regions__Ideogram_2023-07-10