Skip to content

Commit

Permalink
remove useCA
Browse files Browse the repository at this point in the history
  • Loading branch information
clami66 committed Mar 25, 2024
1 parent 5dedab7 commit b28d6a9
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/DockQ/DockQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ def parse_args():
parser.add_argument(
"--verbose", "-v", default=False, action="store_true", help="talk a lot!"
)
parser.add_argument(
"--use_CA",
"-ca",
default=False,
action="store_true",
help="use CA instead of backbone",
)
parser.add_argument(
"--no_align",
default=False,
Expand Down Expand Up @@ -328,11 +321,10 @@ def calc_DockQ(
sample_chains,
ref_chains,
alignments,
use_CA_only=False,
capri_peptide=False,
low_memory=False,
):
atom_for_sup = ("CA", "C", "N", "O", "P") if not use_CA_only else ("CA", "P")
atom_for_sup = ("CA", "C", "N", "O", "P")
fnat_threshold = 4.0 if capri_peptide else 5.0
interface_threshold = 8.0 if capri_peptide else 10.0
clash_threshold = 2.0
Expand Down Expand Up @@ -685,7 +677,6 @@ def run_on_chains(
model_chains,
native_chains,
no_align=False,
use_CA_only=False,
capri_peptide=False,
low_memory=False,
):
Expand All @@ -704,7 +695,6 @@ def run_on_chains(
model_chains,
native_chains,
alignments=tuple(alignments),
use_CA_only=use_CA_only,
capri_peptide=capri_peptide,
low_memory=False,
)
Expand All @@ -716,7 +706,6 @@ def run_on_all_native_interfaces(
native_structure,
chain_map={"A": "A", "B": "B"},
no_align=False,
use_CA_only=False,
capri_peptide=False,
low_memory=False,
):
Expand All @@ -740,7 +729,6 @@ def run_on_all_native_interfaces(
model_chains,
native_chains,
no_align=no_align,
use_CA_only=use_CA_only,
capri_peptide=capri_peptide,
low_memory=False,
)
Expand Down Expand Up @@ -976,7 +964,6 @@ def main():
native_structure,
chain_map,
args.no_align,
args.use_CA,
args.capri_peptide,
low_memory,
)
Expand Down Expand Up @@ -1012,7 +999,6 @@ def main():
native_structure,
best_mapping,
args.no_align,
args.use_CA,
args.capri_peptide,
low_memory=False,
)
Expand Down

0 comments on commit b28d6a9

Please sign in to comment.