IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/22
The Integrative Modeling Platform
build.py
1 #!/usr/bin/env python
2 
3 __doc__ = "Build cyclic symmetric complexes in their density map."
4 
5 import IMP.cnmultifit
6 from IMP import ArgumentParser
7 
8 
9 def parse_args():
10  desc = """
11  This program builds cyclic symmetric complexes in their density maps."""
12 
13  parser = ArgumentParser(description=desc)
14  parser.add_argument("--chimera", dest="chimera", default="",
15  metavar="FILE",
16  help="the name of the Chimera output file, if desired")
17  parser.add_argument("param_file", help="parameter file name")
18  return parser.parse_args()
19 
20 
21 def main():
22  IMP.set_log_level(IMP.WARNING)
23  args = parse_args()
24  IMP.cnmultifit.do_all_fitting(args.param_file, args.chimera)
25 
26 
27 if __name__ == '__main__':
28  main()
void do_all_fitting(const std::string param_filename, const std::string chimera_filename="")
High level interface to build cyclic symmetric complexes.
Generate cyclic atomic structures using cryo-electron microscopy data.
void set_log_level(LogLevel l)
Set the current global log level.