OpenStructure
wrap_parasail.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-2024 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_PARASAIL_H
20 #define OST_BINDINGS_PARASAIL_H
21 
25 
26 namespace ost { namespace seq { namespace alg {
27 
28 // The following function declarations are intended to mimic the already
29 // existing function for LocalAligm/GlobalAlign/SemiGlobalAlign
30 // One example of weirdness is passing the ost::seq::SubstWeightMatrix which
31 // won't be used in the end. Parasail comes with its own set of matrices
32 // and the requested one is identified using subst.GetName(). So there is
33 // plenty of room for optimizations...
37  int gap_open = -5, int gap_ext = -2);
38 
42  int gap_open = -5, int gap_ext = -2);
43 
47  int gap_open = -5, int gap_ext = -2);
48 
50 
51 }}} //ns
52 
53 #endif
boost::shared_ptr< SubstWeightMatrix > SubstWeightMatrixPtr
ost::seq::AlignmentList ParaGlobalAlign(const ost::seq::ConstSequenceHandle &s1, const ost::seq::ConstSequenceHandle &s2, ost::seq::alg::SubstWeightMatrixPtr &subst, int gap_open=-5, int gap_ext=-2)
ost::seq::AlignmentList ParaLocalAlign(const ost::seq::ConstSequenceHandle &s1, const ost::seq::ConstSequenceHandle &s2, ost::seq::alg::SubstWeightMatrixPtr &subst, int gap_open=-5, int gap_ext=-2)
bool ParasailAvailable()
ost::seq::AlignmentList ParaSemiGlobalAlign(const ost::seq::ConstSequenceHandle &s1, const ost::seq::ConstSequenceHandle &s2, ost::seq::alg::SubstWeightMatrixPtr &subst, int gap_open=-5, int gap_ext=-2)
std::vector< AlignmentHandle > AlignmentList
Definition: base.dox:1