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

Add AYA to constants #387 #390

Merged
merged 5 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* Fixes progress bar for `download_pdb_multiprocessing`. [#394](https://github.com/a-r-j/graphein/pull/394)
* Add support for DSSP >4. Backwards compatibility is still supported. [#355](https://github.com/a-r-j/graphein/pull/355). Fixes [#353](https://github.com/a-r-j/graphein/issues/353).
* Fixes bug where RSA features are missing from nodes with insertion codes. [#355](https://github.com/a-r-j/graphein/pull/355). Fixes [#354](https://github.com/a-r-j/graphein/issues/353).
* Fix bug where the `deprotonate` argument is not wired up to `graphein.protein.graphs.construct_graphs`. [#375](https://github.com/a-r-j/graphein/pull/375)
* Add missing modified residue `AYA` to constants [#390](https://github.com/a-r-j/graphein/pull/390)
* Fix bug where the `deprotonate` argument is not wired up to `graphein.protein.graphs.construct_graphs` [#375](https://github.com/a-r-j/graphein/pull/375)
* Fix cluster file loading bug in `pdb_data.py` [#396](https://github.com/a-r-j/graphein/pull/396)

Expand Down
2 changes: 1 addition & 1 deletion graphein/protein/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def remove_alt_locs(
# Unsort
if keep in ["max_occupancy", "min_occupancy"]:
df = df.sort_index()

df = df.reset_index(drop=True)
return df


Expand Down
4 changes: 4 additions & 0 deletions graphein/protein/resi_atoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@
"ABA",
"ACE",
"AIB",
"AYA",
"BMT",
"BOC",
"CBX",
Expand Down Expand Up @@ -535,6 +536,7 @@
"ABA",
"ACE",
"AIB",
"AYA",
"ALA",
"ARG",
"ASN",
Expand Down Expand Up @@ -639,6 +641,7 @@
"ASN": "N",
"ASP": "D",
"ASX": "B",
"AYA": "A",
"BMT": "T",
"BOC": "X",
"CBX": "X",
Expand Down Expand Up @@ -795,6 +798,7 @@
"ABA": "ALA",
"ACE": "-",
"AIB": "ALA",
"AYA": "ALA",
"BMT": "THR",
"BOC": "-",
"CBX": "-",
Expand Down
Loading