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

Monte Carlo Drug Design, base code. #282

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

roccomoretti
Copy link
Member

This is code from the long-running drug design branch (PR 1036 in the old repo), and consists of everything which hasn't already been merged and is probably worth still merging.

This is being merged at this time primarily as Tracy Tang (@YidanTang) has based her work on this branch, and is getting ready to merge & publish her stuff.

The changes are primarily Movers, Filters and and Chemistries added to src/protocols/drug_design/

Other changes of notes are additions of the src/protocols/rotamer_gen/ directory, which contains two Chemistry objects, one which adds RDKit rotamers, and one which adds BCL rotamers (and requires the extras=bcl build).

This is code from the long-running drug design branch (PR 1036 in the old repo),
and consists of everything which hasn't already been merged and is probably worth still merging.

This is being merged at this time primarily as Tracy Tang based her work on this branch,
and is getting ready to merge & publish her stuff.
@roccomoretti roccomoretti added ready_for_review This PR is ready to be reviewed and merged. 90 standard tests labels Dec 18, 2024
runtime_assert( max_trans >= 0 );
if ( x >= min && x <= max ) { return 1.0; }
if ( x <= min - min_trans || x >= max + max_trans ) { return 0.0; }
if ( x < min && x >= min - min_trans ) {

Choose a reason for hiding this comment

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

this should run ok and return 0 for values at the edge of the transition region, but the x == min - min_trans case is included in both this if statement and the above one. Same with max.

"Filter is false if the metric is greater than this value" );

protocols::filters::xsd_type_definition_w_attributes( xsd, class_name(),
"Test the number of heteroatom-heteroatom (non C/H) bonds in a residue.",

Choose a reason for hiding this comment

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

This is probably a copy-paste from another filter and forgot to update the definition for this filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
90 standard tests ready_for_review This PR is ready to be reviewed and merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants