2222@click .option ('--neighbor_def' , default = 'non_heavy_res' ,
2323 type = click .Choice (['non_heavy_res' , 'non_heavy_atom' , 'ca_res' , 'ca_atom' ]))
2424@click .option ('--cutoff' , default = 6 )
25- @click .option ('--source_type' , default = 'rcsb' , type = click .Choice (['rcsb' , 'db5' , 'evcoupling' ]))
25+ @click .option ('--source_type' , default = 'rcsb' , type = click .Choice (['rcsb' , 'db5' , 'evcoupling' , 'casp_capri' ]))
2626@click .option ('--unbound/--bound' , default = False )
2727def main (input_dir : str , output_dir : str , num_cpus : int , rank : int , size : int ,
2828 neighbor_def : str , cutoff : int , source_type : str , unbound : bool ):
@@ -44,7 +44,7 @@ def main(input_dir: str, output_dir: str, num_cpus: int, rank: int, size: int,
4444 get_neighbors = nb .build_get_neighbors (neighbor_def , cutoff )
4545 get_pairs = pair .build_get_pairs (neighbor_def , source_type , unbound , get_neighbors , False )
4646 complexes = comp .read_complexes (complexes_dill )
47- pair .all_complex_to_pairs (complexes , get_pairs , pairs_dir , num_cpus )
47+ pair .all_complex_to_pairs (complexes , source_type , get_pairs , pairs_dir , num_cpus )
4848
4949
5050if __name__ == '__main__' :
0 commit comments