-
Notifications
You must be signed in to change notification settings - Fork 35
Evaluate host idxs atoms in DSSP filters after distance evaluation [Issue #1418] #1440
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1440 +/- ##
==========================================
- Coverage 95.19% 93.15% -2.04%
==========================================
Files 165 165
Lines 12433 12446 +13
==========================================
- Hits 11835 11594 -241
- Misses 598 852 +254
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| ) | ||
|
|
||
| if len(stable_ag) < 20: | ||
| if len(filtered_host_idxs) < 20: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naive question, why 20?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a heuristic that Hannah and I decided upon. We'll probably refine in the future, but for now it's ~ 6 residues if you're using the backbone.
Co-authored-by: Alyssa Travitz <31974495+atravitz@users.noreply.github.com>
|
|
||
| if filtered_host_idxs is None: | ||
| filtered_host_idxs = _host_atoms_search( | ||
| atomgroup=selected_host_ag, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would we also want to try out the protein chain selection (as in line 154) when no dssp filter is applied, or just use the selected host ag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you raise an issue for this? We can address it separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Raised an issue!
|
I think the two tests are failing because the selected residues are now outside the 1.5nm distance |
|
No API break detected ✅ |
When finding host atoms, rather than just looking at the number of atoms in the atomgroup prior to evaluating how far they are from the guest anchor, we now check how many atoms there are after distance filtering.
Developers certificate of origin