Skip to content

Commit

Permalink
set defaults as acetylation/amidation for ACE/NH2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezra Peisach committed Nov 13, 2024
1 parent ad04832 commit f5f6b03
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wwpdb/apps/seqmodule/align/AlignmentTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,8 @@ def __annotateConflictingComments(self, authIdx, refIdx, beg_pos, end_pos, write
if self._seqAlignList[i][refIdx][1] == self._gapSymbol:
if (i == 0) and (self._seqAlignList[i][authIdx][1] in ("MET", "MSE")):
comment = "initiating methionine"
elif (i == 0) and (self._seqAlignList[i][authIdx][1] == "ACE"):
comment = "acetylation"
elif i < first_pair_position:
if first_fragment:
comment = "expression tag"
Expand All @@ -1223,7 +1225,11 @@ def __annotateConflictingComments(self, authIdx, refIdx, beg_pos, end_pos, write
#
elif i > last_pair_position:
if last_fragment:
comment = "expression tag"
if (i == end_pos) and (self._seqAlignList[i][authIdx][1] == "NH2"):
comment = "amidation"
else:
comment = "expression tag"
#
else:
comment = "linker"
#
Expand Down

0 comments on commit f5f6b03

Please sign in to comment.