Class for loading conformations from a list of PDB / cif files, or from a plain txt file listing the conformations as Point_d. Class for loading conformations from a list of PDB / cif files, or from a plain txt file listing the conformations as Point_d.
More...
|
| | T_Conformation_loader (void) |
| | Default constructor.
|
| virtual boost::program_options::options_description | add_options (void) override |
| | Virtual method for adding options to the module.
|
| virtual bool | check_options (std::string &message) const override |
| | Checks that the input options' values are coherent.
|
| std::string | get_output_prefix (void) const override |
| | Returns a prefix that concatains the input line options used when running the module.
|
| bool | load (unsigned verbose, std::ostream &out) override |
| | Load function.
|
| std::string | get_name (void) const override |
| | Return the name of the class itself.
|
| void | statistics (std::ostream &out) |
| | Prints statistics about the loaded conformations.
|
| const std::vector< std::vector< Conformation > > & | get_conformations (void) const |
| | Get the vector of conformations.
|
| std::vector< std::vector< Conformation > > & | get_conformations (void) |
| | Get the vector of conformations.
|
| Molecular_system_loader & | get_molecular_system_loader (void) |
| | Get the molecular system loader.
|
| void | save_conformations (void) |
| | Save the loaded conformations in the current dir, with output_prefix as filename.
|
template<
class Conformation_builder_ = Default_conformation_builder>
class SBL::IO::T_Conformation_loader< Conformation_builder_ >
Class for loading conformations from a list of PDB / cif files, or from a plain txt file listing the conformations as Point_d. Class for loading conformations from a list of PDB / cif files, or from a plain txt file listing the conformations as Point_d.
It combines the options from the SBL::IO::T_Molecular_system_loader and the SBL::Models::T_Points_d_file_loader. To programmatically load a conformation from a PDB / mmCIF file, one must add the file to the molecular system loader :
T_Conformation_loader<Default_conformation_builder> conformation_loader;
conformation_loader.get_molecular_system_loader().set_loaded_file_paths({"path_to_my_file"});
To load from the application command line, PDB / mmCIF files can be added as :
myapplication -f "path_to_my_file"
- Template Parameters
-
| Conformation_builder_ | : Functor building a conformation from a dD point or a molecular model from the SBL. |