Skip to content

Commit

Permalink
Add
Browse files Browse the repository at this point in the history
  • Loading branch information
liambai committed Oct 17, 2024
1 parent 745d30f commit a1e089c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions plm_interpretability/logistic_regression_probe/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,30 @@ class ResidueAnnotation:
swissprot_header="TRANSIT",
class_names=[ResidueAnnotation.ALL_CLASSES, "Mitochondrion", "Chloroplast"],
),
ResidueAnnotation(
name="Helix",
swissprot_header="HELIX",
class_names=[ResidueAnnotation.ALL_CLASSES],
),
ResidueAnnotation(
name="Beta strand",
swissprot_header="STRAND",
class_names=[ResidueAnnotation.ALL_CLASSES],
),
ResidueAnnotation(
name="Turn",
swissprot_header="TURN",
class_names=[ResidueAnnotation.ALL_CLASSES],
),
ResidueAnnotation(
name="Coiled coil",
swissprot_header="COILED",
class_names=[ResidueAnnotation.ALL_CLASSES],
),
ResidueAnnotation(
name="Region",
swissprot_header="REGION",
class_names=["Disordered", "Interaction with tRNA"], # TODO: Add more
),
]
RESIDUE_ANNOTATION_NAMES = {a.name for a in RESIDUE_ANNOTATIONS}

0 comments on commit a1e089c

Please sign in to comment.