Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
PDB_line_selector_chain Class Reference

#include <line_selectors.h>

Public Member Functions

template<class Str_iterator >
 PDB_line_selector_chain (const Str_iterator &begin, const Str_iterator &end, bool keep_water=true, bool keep_remaining_chains=false, double Water_Bfactorlim=200, bool keep_hydrogen=false)
 

Detailed Description

This class is a line selector defining one system per group of chains provided.

Constructor & Destructor Documentation

◆ PDB_line_selector_chain()

PDB_line_selector_chain ( const Str_iterator &  begin,
const Str_iterator &  end,
bool  keep_water = true,
bool  keep_remaining_chains = false,
double  Water_Bfactorlim = 200,
bool  keep_hydrogen = false 
)
inline

Constructor from a range of string. A string AB indicates that the system is composed of chains A and B

Template Parameters
Str_iteratoris an iterator over std::string objects.
Parameters
beginis the first iterator of the range of strings.
endis the past-end iterator of the range of strings.
keep_waterindicate whether water molecules should be kept.
keep_remaining_chainsindicates whether the last system should contains unselected chains.
Water_Bfactorlimwater molecules with a temperature factor higher that this value are discarded.
keep_hydrogenindicates whether hydrogens atoms must be selected.