OpenStructure
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
stage
include
ost
bindings
wrap_tmalign.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
#ifndef OST_BINDINGS_TMALIGN_H
20
#define OST_BINDINGS_TMALIGN_H
21
22
#include <
ost/geom/mat4.hh
>
23
#include <
ost/geom/vec3.hh
>
24
#include <
ost/seq/alignment_handle.hh
>
25
#include <
ost/mol/chain_view.hh
>
26
#include <
ost/mol/chain_handle.hh
>
27
28
namespace
ost {
namespace
bindings {
29
30
struct
TMAlignResult
{
31
32
TMAlignResult
() { }
33
34
TMAlignResult
(
Real
rm,
Real
tm,
int
aln_l,
const
geom::Mat4
& t,
35
const
ost::seq::AlignmentHandle
& aln):
rmsd
(rm),
36
tm_score
(tm),
37
aligned_length
(aln_l),
38
transform
(t),
39
alignment
(aln) { }
40
41
42
Real
rmsd
;
43
Real
tm_score
;
44
int
aligned_length
;
45
geom::Mat4
transform
;
46
ost::seq::AlignmentHandle
alignment
;
47
48
Real
GetTMScore
() {
return
tm_score
; }
49
Real
GetRMSD
() {
return
rmsd
; }
50
int
GetAlignedLength
() {
return
aligned_length
; }
51
const
geom::Mat4
&
GetTransform
() {
return
transform
; }
52
const
ost::seq::AlignmentHandle
&
GetAlignment
() {
return
alignment
; }
53
};
54
55
TMAlignResult
WrappedTMAlign
(
const
geom::Vec3List
& pos_one,
56
const
geom::Vec3List
& pos_two,
57
const
ost::seq::SequenceHandle
& seq1,
58
const
ost::seq::SequenceHandle
& seq2,
59
bool
fast =
false
);
60
61
TMAlignResult
WrappedTMAlign
(
const
ost::mol::ChainView
& ent1,
62
const
ost::mol::ChainView
& ent2,
63
bool
fast =
false
);
64
}}
//ns
65
66
#endif
ost::bindings::TMAlignResult::TMAlignResult
TMAlignResult(Real rm, Real tm, int aln_l, const geom::Mat4 &t, const ost::seq::AlignmentHandle &aln)
Definition:
wrap_tmalign.hh:34
ost::seq::SequenceHandle
mutable sequence handle.
Definition:
sequence_handle.hh:172
geom::Mat4
Definition:
mat4.hh:39
Real
float Real
Definition:
base.hh:44
ost::bindings::TMAlignResult::GetRMSD
Real GetRMSD()
Definition:
wrap_tmalign.hh:49
mat4.hh
ost::bindings::TMAlignResult
Definition:
wrap_tmalign.hh:30
ost::bindings::TMAlignResult::alignment
ost::seq::AlignmentHandle alignment
Definition:
wrap_tmalign.hh:46
ost::bindings::TMAlignResult::aligned_length
int aligned_length
Definition:
wrap_tmalign.hh:44
ost::bindings::TMAlignResult::transform
geom::Mat4 transform
Definition:
wrap_tmalign.hh:45
ost::bindings::TMAlignResult::rmsd
Real rmsd
Definition:
wrap_tmalign.hh:42
ost::bindings::TMAlignResult::GetTMScore
Real GetTMScore()
Definition:
wrap_tmalign.hh:48
chain_handle.hh
ost::mol::ChainView
definition of ChainView
Definition:
chain_view.hh:37
alignment_handle.hh
ost::bindings::TMAlignResult::TMAlignResult
TMAlignResult()
Definition:
wrap_tmalign.hh:32
ost::bindings::TMAlignResult::GetAlignedLength
int GetAlignedLength()
Definition:
wrap_tmalign.hh:50
ost::bindings::WrappedTMAlign
TMAlignResult WrappedTMAlign(const geom::Vec3List &pos_one, const geom::Vec3List &pos_two, const ost::seq::SequenceHandle &seq1, const ost::seq::SequenceHandle &seq2, bool fast=false)
geom::Vec3List
Definition:
vec3.hh:214
ost::seq::AlignmentHandle
representation of a multiple sequence alignemnt consisting of two or more sequences ...
Definition:
alignment_handle.hh:53
ost::bindings::TMAlignResult::GetAlignment
const ost::seq::AlignmentHandle & GetAlignment()
Definition:
wrap_tmalign.hh:52
chain_view.hh
ost::bindings::TMAlignResult::GetTransform
const geom::Mat4 & GetTransform()
Definition:
wrap_tmalign.hh:51
vec3.hh
ost::bindings::TMAlignResult::tm_score
Real tm_score
Definition:
wrap_tmalign.hh:43
Generated by
1.8.5