Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Aligner_sequence_seqan_wrapper< SeqanSequenceConverter, FreeEndsAlignment, ScoreType, SeqanUnitType, SeqanCustomMatrix, SeqanAlgorithm > Class Template Reference

Wrapper of the Seqan algorithm for aligning pairwise sequences. More...

#include <Alignment_engine_sequences_seqan.hpp>

Public Types

typedef seqan::Score< ScoreType, seqan::ScoreMatrix< SeqanUnitType, SeqanCustomMatrix > > Scoring_matrix
 Scoring matrix in Seqan.
typedef seqan::String< char > TSequence
 Sequence type.
typedef seqan::StringSet< TSequenceTStringSet
 Container for strings.
typedef seqan::StringSet< TSequence, seqan::Dependent<> > TDepStringSet
 Dependent string set.
typedef seqan::Graph< seqan::Alignment< TDepStringSet > > TAlignGraph
 Alignment graph.
typedef std::pair< std::string, std::string > AlignedSequences
 Return type independent of seqan's objects.

Detailed Description

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
class SBL::CSB::T_Aligner_sequence_seqan_wrapper< SeqanSequenceConverter, FreeEndsAlignment, ScoreType, SeqanUnitType, SeqanCustomMatrix, SeqanAlgorithm >

Wrapper of the Seqan algorithm for aligning pairwise sequences.

It is specialized by default for amino acids with a custom score matrix filled with integers.

Template Parameters
SeqanSequenceConverterConverter between unit names in a sequence defined in the SBL and a unit of a Seqan sequence. It defines the two methods to_seqan_sequence and to_unit_name.
FreeEndsAlignmentSeqan parameter (true by default) (see Simon)
ScoreTypeReturned score type (int by default)
SeqanUnitTypeUnit type in Seqan, that could be amino acid or nucleotid (AminoAcid by default)
SeqanCustomMatrixSeqan matrix defined in this header file for adapting the seqan matrix notation to this engine matrix notation (default is custom for amino acids)
SeqanAlgorithmSeqan algorithm used to solve the alignments (default is Gotoh)

Member Typedef Documentation

◆ AlignedSequences

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
typedef std::pair<std::string, std::string> AlignedSequences

Return type independent of seqan's objects.

◆ Scoring_matrix

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
typedef seqan::Score<ScoreType, seqan::ScoreMatrix<SeqanUnitType, SeqanCustomMatrix> > Scoring_matrix

Scoring matrix in Seqan.

◆ TAlignGraph

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
typedef seqan::Graph<seqan::Alignment<TDepStringSet> > TAlignGraph

Alignment graph.

◆ TDepStringSet

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
typedef seqan::StringSet<TSequence, seqan::Dependent<> > TDepStringSet

Dependent string set.

◆ TSequence

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
typedef seqan::String<char> TSequence

Sequence type.

◆ TStringSet

template<class SeqanSequenceConverter = T_Default_amino_acid_seqan_sequence_converter<>, bool FreeEndsAlignment = true, class ScoreType = int, class SeqanUnitType = seqan::AminoAcid, class SeqanCustomMatrix = seqan::CustomAminoAcidMatrix, class SeqanAlgorithm = seqan::Gotoh>
typedef seqan::StringSet<TSequence> TStringSet

Container for strings.