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.accessibleSurface)%'.'<<std::endl;
os<<kHeaderLine%(boost::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.nrOfHBonds%(stats.nrOfHBonds*100.0/stats.nrOfResidues))%'.'<<std::endl;
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<<kHeaderLine%(boost::format("%5.5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS IN PARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES")%stats.nrOfHBondsInParallelBridges%(stats.nrOfHBondsInParallelBridges*100.0/stats.nrOfResidues))%'.'<<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<<kHeaderLine%(boost::format("%5.5d%5.1f TOTAL NUMBER OF HYDROGEN BONDS IN ANTIPARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES")%stats.nrOfHBondsInAntiparallelBridges%(stats.nrOfHBondsInAntiparallelBridges*100.0/stats.nrOfResidues))%'.'<<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;
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");
@@ -80,8 +80,8 @@ int d_main(int argc, const char* argv[])
("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")
// ("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")
("help,h","Display help message")
...
...
@@ -95,7 +95,7 @@ int d_main(int argc, const char* argv[])
("output,o",po::value<std::string>(),"Output to this file")
("debug,d",po::value<int>(),"Debug level (for even more verbose output)")
("compounds",po::value<std::string>(),"Location of the components.cif file from CCD, alias")
// ("compounds", po::value<std::string>(), "Location of the components.cif file from CCD, alias")
;
po::options_descriptioncmdline_options;
...
...
@@ -144,37 +144,32 @@ int d_main(int argc, const char* argv[])