Protein diagrams: show unfeatured regions, enlarge #355
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 soon before
Immediately preceding look:
LDLR after
With changes described above:
PSCK9 far before
In v1.42.0:
PSCK9 after
With changes described above:
PSCK7 far before
In v1.42.0:
PSCK7 after
With changes described above: