Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding TRANSMEMBRANE and TOPOLOGICAL DOMAIN to protein types #359

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

pnrobinson
Copy link
Member

We need this to display in the protein graphic.
@ielis I am not sure we want to crash if there is an unrecognized domain. Maybe it is better to just call anything we do not recognized "Region" and to emit a warning with a request for feedback? I am pretty sure we did not get all possible domains and I have not been able to find a complete list.

Copy link
Member

@ielis ielis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks OK, of course we must add the missing feature types.

However, we should also re-consider if defining FeatureType as an enum is actually justified. Perhaps we should change it to a str? This would affect one predicate (VariantPredicates.protein_feature_type()) and otherwise probably not too much other stuff.

Let's merge this PR and re-evaluate if a need for a new protein FeatureType arises.

@ielis ielis merged commit be10016 into develop Nov 26, 2024
@ielis ielis deleted the topological_domain branch November 26, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants