IMP logo
IMP Reference Guide  2.10.0
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="", metavar="FILE",
15  help="the name of the Chimera output file, if desired")
16  parser.add_argument("param_file", help="parameter file name")
17  return parser.parse_args()
18 
19 
20 def main():
21  IMP.set_log_level(IMP.WARNING)
22  args = parse_args()
23  IMP.cnmultifit.do_all_fitting(args.param_file, args.chimera)
24 
25 if __name__ == '__main__':
26  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.