Scine::Swoose  2.1.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
StructurePreparationData.h
Go to the documentation of this file.
1 
8 #ifndef PDBPREPARATION_DATAMANAGER_H
9 #define PDBPREPARATION_DATAMANAGER_H
10 
11 #include "ProteinStructures.h"
15 #include <list>
16 #include <vector>
17 
18 namespace Scine {
19 namespace StructurePreparation {
20 
45  int numberOfAtoms{0};
49  std::vector<int> vectorOfProteinIndices;
57  std::vector<std::list<int>> listsOfNeighbors;
62  std::vector<std::vector<int>> atomIndexMapping;
67  std::vector<std::vector<int>> subsystemMapping;
72  std::vector<ProteinAtom> protein;
76  std::vector<int> listOfBackboneAlphaCarbons;
77 };
78 
79 // Default filenames
80 struct Default {
81  std::string proteinFile = "rmc.pdb";
82  std::string nonRegContainerFile = "nonregular_container.xyz";
83  std::string protonatedProteinFile = "rmc_H.xyz";
84  std::string protonatedNonRegContainerFile = "nonregular_container_H.xyz";
85  std::string nonRegContainerInfoFile = "atomic_info_nonregular_container.dat";
86  std::string systemFile = "system.xyz";
87  std::string titrationSitesFile = "titrable_sites.dat";
88 };
89 
91  Default d;
95  std::string proteinFile;
99  std::string nonRegContainerFile;
112  std::string atomicInfoFile;
120  std::string systemFile;
124  std::string connectivityFile;
132  std::string workingDirectory;
136  std::string titrationSitesFile;
137  void initialize() {
138  // Define files here because they are needed in every mode
143  Utils::NativeFilenames::combinePathSegments(workingDirectory, d.protonatedNonRegContainerFile);
147  }
148 };
149 
150 } // namespace StructurePreparation
151 } // namespace Scine
152 
153 #endif // PDBPREPARATION_DATAMANAGER_H
std::vector< ProteinAtom > protein
A vector of ProteinAtoms that assigns to each atom index the residue name, the atom type name and the...
Definition: StructurePreparationData.h:72
std::string protonatedProteinFile
The path to the protonated protein file. Note that per default, all pH sensitive groups are protonate...
Definition: StructurePreparationData.h:104
Utils::BondOrderCollection bondOrders
A bond order matrix of the full system.
Definition: StructurePreparationData.h:41
std::string titrationSitesFile
This file contains the atom index and the residue name of a pH sensible atom.
Definition: StructurePreparationData.h:136
std::vector< std::list< int > > listsOfNeighbors
The connectivity of the system. It is a vector of a list of neighbor atom indices for each atom...
Definition: StructurePreparationData.h:57
std::vector< int > listOfBackboneAlphaCarbons
A vector that contains the indices of all carbon atoms in the peptid bond.
Definition: StructurePreparationData.h:76
static std::string combinePathSegments(const T &l, const U &r)
This struct holds all objects used inside the MM parametrization algorithm.
Definition: StructurePreparationData.h:25
std::string proteinFile
The path to the protein structure file.
Definition: StructurePreparationData.h:95
std::string protonatedNonRegContainerFile
The path to the protonated nonRegContainer file.
Definition: StructurePreparationData.h:108
std::string preparationDataDirectory
The parent directory for all structure preparation data.
Definition: StructurePreparationData.h:128
int numberOfAtoms
Number of atoms in the full structure.
Definition: StructurePreparationData.h:45
std::string nonRegContainerFile
The path to the nonRegContainer structure file.
Definition: StructurePreparationData.h:99
Definition: StructurePreparationData.h:80
std::vector< int > vectorOfNonRegContainerIndices
Vector of indices of the full structure that belong to the nonRegContainer subsystem.
Definition: StructurePreparationData.h:53
std::string atomicInfoFile
The path to the atomic info file for the protein.
Definition: StructurePreparationData.h:112
std::string connectivityFile
The Connectivity file that is automatically generated during the preparation.
Definition: StructurePreparationData.h:124
Utils::AtomCollection fullStructure
The structure of the system to prepare.
Definition: StructurePreparationData.h:29
std::vector< std::vector< int > > atomIndexMapping
Vector of all fragments containing a vector of indices that correspond to the indices of the atoms in...
Definition: StructurePreparationData.h:62
Utils::AtomCollection proteinStructure
The protein substructure, i. e. all correctly identified amino acids.
Definition: StructurePreparationData.h:33
std::vector< int > vectorOfProteinIndices
Vector of indices of the full structure that belong to the protein subsystem.
Definition: StructurePreparationData.h:49
std::string systemFile
The path to which the final processed structure is written.
Definition: StructurePreparationData.h:120
std::string workingDirectory
The working directory.
Definition: StructurePreparationData.h:132
std::vector< std::vector< int > > subsystemMapping
Vector containing a vector of indices that correspond to the indices of the protein and the nonregula...
Definition: StructurePreparationData.h:67
std::string nonRegContainerInfoFile
The path to the atomic info file for the nonRegContainer.
Definition: StructurePreparationData.h:116
Utils::AtomCollection nonregularContainer
The nonregular substructure.
Definition: StructurePreparationData.h:37
Definition: StructurePreparationData.h:90