Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
e081495b
Commit
e081495b
authored
5 months ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
Add control over max_symmetries to action
parent
10831370
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
actions/ost-compare-ligand-structures
+13
-2
13 additions, 2 deletions
actions/ost-compare-ligand-structures
with
13 additions
and
2 deletions
actions/ost-compare-ligand-structures
+
13
−
2
View file @
e081495b
...
...
@@ -366,6 +366,15 @@ def _ParseArgs():
help=("Enumerate all potential binding sites in the model when "
"searching rigid superposition for RMSD computation"))
parser.add_argument(
"-ms",
"--max--symmetries",
dest="max_symmetries",
default=1e4,
type=int,
help=("If more than that many isomorphisms exist for a target-ligand "
"pair, it will be ignored and reported as unassigned."))
args = parser.parse_args()
if args.output is None:
args.output = "out.%s" % args.output_format
...
...
@@ -516,7 +525,8 @@ def _SetupLDDTPLIScorer(model, model_ligands, reference, reference_ligands, args
substructure_match = args.substructure_match,
coverage_delta = args.coverage_delta,
lddt_pli_radius = args.lddt_pli_radius,
add_mdl_contacts = args.lddt_pli_add_mdl_contacts)
add_mdl_contacts = args.lddt_pli_add_mdl_contacts,
max_symmetries = args.max_symmetries)
def _SetupSCRMSDScorer(model, model_ligands, reference, reference_ligands, args):
return ligand_scoring_scrmsd.SCRMSDScorer(model, reference,
...
...
@@ -528,7 +538,8 @@ def _SetupSCRMSDScorer(model, model_ligands, reference, reference_ligands, args)
coverage_delta = args.coverage_delta,
bs_radius = args.radius,
lddt_lp_radius = args.lddt_lp_radius,
full_bs_search = args.full_bs_search)
full_bs_search = args.full_bs_search,
max_symmetries = args.max_symmetries)
def _Process(model, model_ligands, reference, reference_ligands, args):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment