os<<boost::format("%5.5d%3.3d%3.3d%3.3d%3.3d TOTAL NUMBER OF RESIDUES, NUMBER OF CHAINS, NUMBER OF SS-BRIDGES(TOTAL,INTRACHAIN,INTERCHAIN) %|127t|%c")%
os<<kHeaderLine%(boost::format("%8.1f ACCESSIBLE SURFACE OF PROTEIN (ANGSTROM**2)")%stats.accessible_surface)%'.'<<std::endl;
os<<pdbx::format("%8.1f ACCESSIBLE SURFACE OF PROTEIN (ANGSTROM**2) .",stats.accessible_surface)<<std::endl;
// hydrogenbond summary
os<<kHeaderLine%(boost::format("%5.5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(J) , SAME NUMBER PER 100 RESIDUES")%stats.count.H_bonds%(stats.count.H_bonds*100.0/stats.count.residues))%'.'<<std::endl;
os<<pdbx::format("%5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(J) , SAME NUMBER PER 100 RESIDUES .",stats.count.H_bonds,(stats.count.H_bonds*100.0/stats.count.residues))<<std::endl;
os<<kHeaderLine%(boost::format("%5.5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS IN PARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES")%stats.count.H_bonds_in_parallel_bridges%(stats.count.H_bonds_in_parallel_bridges*100.0/stats.count.residues))%'.'<<std::endl;
os<<pdbx::format("%5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS IN PARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES .",stats.count.H_bonds_in_parallel_bridges,(stats.count.H_bonds_in_parallel_bridges*100.0/stats.count.residues))<<std::endl;
os<<kHeaderLine%(boost::format("%5.5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS IN ANTIPARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES")%stats.count.H_bonds_in_antiparallel_bridges%(stats.count.H_bonds_in_antiparallel_bridges*100.0/stats.count.residues))%'.'<<std::endl;
os<<pdbx::format("%5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS IN ANTIPARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES .",stats.count.H_bonds_in_antiparallel_bridges,(stats.count.H_bonds_in_antiparallel_bridges*100.0/stats.count.residues))<<std::endl;
boost::formatkHBondsLine("%5.5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I%c%1.1d), SAME NUMBER PER 100 RESIDUES");
os<<pdbx::format("%5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I%c%1d), SAME NUMBER PER 100 RESIDUES .",stats.count.H_Bonds_per_distance[k],(stats.count.H_Bonds_per_distance[k]*100.0/stats.count.residues),(k-5<0?'-':'+'),abs(k-5))<<std::endl;
"Dictionary file containing restraints for residues in this specific target, can be specified multiple times.")
("output-format",po::value<std::string>(),"Output format, can be either 'dssp' for classic DSSP or 'mmcif' for annotated mmCIF. The default is chosen based on the extension of the output file, if any.")
("min-pp-stretch",po::value<short>(),"Minimal number of residues having PSI/PHI in range for a PP helix, default is 3")
("write-other","If set, write the type OTHER for loops, default is to leave this out")
// ("components", po::value<std::string>(), "Location of the components.cif file from CCD")
// ("extra-compounds", po::value<std::string>(), "File containing residue information for extra compounds in this specific target, should be either in CCD format or a CCP4 restraints file")
("mmcif-dictionary",po::value<std::string>(),"Path to the mmcif_pdbx.dic file to use instead of default")
cfg::make_option<std::string>("output-format","Output format, can be either 'dssp' for classic DSSP or 'mmcif' for annotated mmCIF. The default is chosen based on the extension of the output file, if any."),
cfg::make_option<short>("min-pp-stretch",3,"Minimal number of residues having PSI/PHI in range for a PP helix, default is 3"),
cfg::make_option("write-other","If set, write the type OTHER for loops, default is to leave this out"),
// cfg::make_option("components", po::value<std::string, "Location of the components.cif file from CCD")
// cfg::make_option("extra-compounds", po::value<std::string, "File containing residue information for extra compounds in this specific target, should be either in CCD format or a CCP4 restraints file")
cfg::make_option<std::string>("mmcif-dictionary","Path to the mmcif_pdbx.dic file to use instead of default"),
cfg::make_option("help,h","Display help message"),
cfg::make_option("version","Print version"),
cfg::make_option("verbose,v","verbose output"),
cfg::make_hidden_option<int>("debug,d","Debug level (for even more verbose output)"));