/** * \file helpers.h \brief A set of helper functions * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #ifndef IMP_HELPERS_H #define IMP_HELPERS_H #include #include #include #include void read_trans_file(const std::string file_name, std::vector& transforms); void read_pdb_atoms(const std::string file_name, IMP::Particles& particles); void read_pdb_ca_atoms(const std::string file_name, IMP::Particles& particles); void transform(IMP::Particles& particles, IMP::algebra::Transformation3D& t); void get_atom_2_residue_map(const IMP::Particles& atom_particles, const IMP::Particles& residue_particles, std::vector& atom_2_residue_map); IMP::algebra::Vector3D get_ca_coordinate(const IMP::Particles& atom_particles, int residue_index, char chain_id); void get_residue_solvent_accessibility(const IMP::Particles& residue_particles, IMP::Floats& residue_solvent_accessibility); #endif /* IMP_HELPERS_H */