OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extract_data_helper.hh
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // This file is part of the OpenStructure project <www.openstructure.org>
3 //
4 // Copyright (C) 2008-2019 by the OpenStructure authors
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License as published by the Free
8 // Software Foundation; either version 3.0 of the License, or (at your option)
9 // any later version.
10 // This library is distributed in the hope that it will be useful, but WITHOUT
11 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 // FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13 // details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library; if not, write to the Free Software Foundation, Inc.,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 //------------------------------------------------------------------------------
19 
20 #ifndef OST_DB_EXTRACT_DATA_HELPER_HH
21 #define OST_DB_EXTRACT_DATA_HELPER_HH
22 
23 #include <ost/geom/vec3.hh>
25 #include <ost/db/linear_indexer.hh>
28 
29 namespace ost { namespace db {
30 
31 void ExtractValidPositions(const String& entry_name, const String& chain_name,
32  LinearIndexer& indexer,
33  LinearCharacterContainer& atom_seqcontainer,
34  LinearPositionContainer& position_container,
36  geom::Vec3List& positions);
37 
38 void ExtractTemplateData(const String& entry_name, const String& chain_name,
39  const ost::seq::AlignmentHandle& aln,
40  LinearIndexer& indexer,
41  LinearCharacterContainer& seqres_container,
42  LinearCharacterContainer& atomseq_container,
43  LinearPositionContainer& position_container,
44  std::vector<int>& residue_numbers,
45  geom::Vec3List& ca_positions);
46 
47 }} //ns
48 
49 #endif
mutable sequence handle.
std::string String
Definition: base.hh:54
void ExtractValidPositions(const String &entry_name, const String &chain_name, LinearIndexer &indexer, LinearCharacterContainer &atom_seqcontainer, LinearPositionContainer &position_container, ost::seq::SequenceHandle &seq, geom::Vec3List &positions)
void ExtractTemplateData(const String &entry_name, const String &chain_name, const ost::seq::AlignmentHandle &aln, LinearIndexer &indexer, LinearCharacterContainer &seqres_container, LinearCharacterContainer &atomseq_container, LinearPositionContainer &position_container, std::vector< int > &residue_numbers, geom::Vec3List &ca_positions)
representation of a multiple sequence alignemnt consisting of two or more sequences ...