Skip to content

Solved issue #201 - #210

Open
gdkwxn wants to merge 5 commits into
masterfrom
pc_res
Open

Solved issue #201#210
gdkwxn wants to merge 5 commits into
masterfrom
pc_res

Conversation

@gdkwxn

@gdkwxn gdkwxn commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Solved issue #201, I updated the code to output a CSV file containing information regarding problematic chains in a structure

gdkwxn added 2 commits August 1, 2026 22:48
…etter

- added more identifiers in gap_letter (a,b..AA, AB..
- Added warning message for when a structure has to get additional identifiers (AA, AB)
…hat includes information about problematic chains in a structure
Copilot AI lite review requested due to automatic review settings August 9, 2026 05:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to address residue renumbering failures when the “gap tracker” exceeds the available alternate identifier set by introducing a generated gap-label scheme and surfacing warnings for structures/chains with many gaps during MSA-based renumbering.

Changes:

  • Added get_gap_letter() to generate gap alternate identifiers beyond the previous fixed list.
  • Added tracking/reporting of structures/chains that require multi-character alternate identifiers.
  • Added a warning output file listing affected structure:chain pairs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +222 to 226
for freq in gaps: # accepted gap percentage based on user defined occupancy threshold

# Changing the functionality of gap_letter
#freq_tracker = 1
#gap_tracker = 0
Comment thread src/pdbcleanresiduestandardizationutils.py
Comment thread src/pdbcleanresiduestandardizationutils.py
gdkwxn and others added 3 commits August 10, 2026 16:31
Changed output file type from txt -> csv

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
updated the logic behind the assignment of function get_gap_letter(n)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This takes into consideration the 0-9 identifiers that we included into gap_letter
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.

3 participants