OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Data Structures | Typedefs | Functions | Variables
ost::seq Namespace Reference

Namespaces

 alg
 
 impl
 

Data Structures

class  AlignedColumn
 
class  AlignedColumnIterator
 
class  AlignedRegion
 
class  AlignmentHandle
 
class  InvalidSequence
 
class  InvalidAlignment
 
class  ProfileColumn
 
class  ProfileHandle
 
class  ProfileDB
 
class  ConstSequenceHandle
 
class  SequenceHandle
 
class  ConstSequenceList
 
class  SequenceList
 

Typedefs

typedef std::vector
< AlignedRegion
AlignedRegionList
 
typedef std::vector
< AlignmentHandle
AlignmentList
 
typedef boost::shared_ptr
< ProfileHandle
ProfileHandlePtr
 
typedef std::vector
< ProfileHandlePtr
ProfileHandleList
 
typedef boost::shared_ptr
< ProfileDB
ProfileDBPtr
 
typedef std::vector
< ProfileColumn
ProfileColumnList
 

Functions

DLLEXPORT_OST_SEQ std::ostream & operator<< (std::ostream &os, const AlignedColumn &col)
 
AlignmentHandle DLLEXPORT_OST_SEQ CreateAlignment ()
 
AlignmentHandle DLLEXPORT_OST_SEQ AlignmentFromSequenceList (const SequenceList &seq_list)
 
SequenceHandle DLLEXPORT_OST_SEQ CreateSequence (const String &name, const String &seq, const String &role="UNKNOWN")
 
DLLEXPORT_OST_SEQ std::ostream & operator<< (std::ostream &os, const ConstSequenceHandle &sequence)
 
bool DLLEXPORT_OST_SEQ Match (const ConstSequenceHandle &s1, const ConstSequenceHandle &s2)
 
bool DLLEXPORT_OST_SEQ Match (const String &s1, const String &s2)
 
SequenceList DLLEXPORT_OST_SEQ CreateSequenceList ()
 
ConstSequenceList DLLEXPORT_OST_SEQ CreateConstSequenceList ()
 
SequenceHandle DLLEXPORT_OST_SEQ SequenceFromChain (const String &name, const mol::ChainHandle &chain)
 
SequenceHandle DLLEXPORT_OST_SEQ SequenceFromChain (const String &name, const mol::ChainView &chain)
 
std::pair< mol::EntityView,
mol::EntityView >
DLLEXPORT_OST_SEQ 
ViewsFromSequences (const ConstSequenceHandle &seq1, const ConstSequenceHandle &seq2)
 
std::pair< mol::EntityView,
mol::EntityView >
DLLEXPORT_OST_SEQ 
ViewsFromAlignment (const AlignmentHandle &aln, int index1=0, int index2=1)
 
def CreateAlignment
 
def CreateSequenceList
 

Variables

 _CreateAlignment = CreateAlignment
 

Typedef Documentation

typedef std::vector<AlignedRegion> AlignedRegionList

Definition at line 92 of file aligned_region.hh.

typedef std::vector<AlignmentHandle> AlignmentList

Definition at line 193 of file alignment_handle.hh.

typedef std::vector<ProfileColumn> ProfileColumnList

Definition at line 46 of file profile_handle.hh.

typedef boost::shared_ptr<ProfileDB> ProfileDBPtr

Definition at line 45 of file profile_handle.hh.

typedef std::vector<ProfileHandlePtr> ProfileHandleList

Definition at line 44 of file profile_handle.hh.

typedef boost::shared_ptr<ProfileHandle> ProfileHandlePtr

Definition at line 42 of file profile_handle.hh.

Function Documentation

AlignmentHandle DLLEXPORT_OST_SEQ ost::seq::AlignmentFromSequenceList ( const SequenceList &  seq_list)

convert alignment from sequence list

If the sequences in the SequenceList have different lengths, an InvalidAlignment exception is thrown.

Returns
alignment consisting of the sequences in seq_list.
def ost.seq.CreateAlignment (   seqs)

Definition at line 23 of file __init__.py.

AlignmentHandle DLLEXPORT_OST_SEQ ost::seq::CreateAlignment ( )
ConstSequenceList DLLEXPORT_OST_SEQ ost::seq::CreateConstSequenceList ( )
SequenceHandle DLLEXPORT_OST_SEQ ost::seq::CreateSequence ( const String name,
const String seq,
const String role = "UNKNOWN" 
)
def ost.seq.CreateSequenceList (   seqs)

Definition at line 30 of file __init__.py.

SequenceList DLLEXPORT_OST_SEQ ost::seq::CreateSequenceList ( )
bool DLLEXPORT_OST_SEQ ost::seq::Match ( const ConstSequenceHandle &  s1,
const ConstSequenceHandle &  s2 
)
bool DLLEXPORT_OST_SEQ ost::seq::Match ( const String s1,
const String s2 
)
DLLEXPORT_OST_SEQ std::ostream& ost::seq::operator<< ( std::ostream &  os,
const AlignedColumn &  col 
)
DLLEXPORT_OST_SEQ std::ostream& ost::seq::operator<< ( std::ostream &  os,
const ConstSequenceHandle &  sequence 
)
SequenceHandle DLLEXPORT_OST_SEQ ost::seq::SequenceFromChain ( const String name,
const mol::ChainHandle &  chain 
)

get sequence from chain

SequenceHandle DLLEXPORT_OST_SEQ ost::seq::SequenceFromChain ( const String name,
const mol::ChainView &  chain 
)

get sequence from chain

std::pair<mol::EntityView, mol::EntityView> DLLEXPORT_OST_SEQ ost::seq::ViewsFromAlignment ( const AlignmentHandle &  aln,
int  index1 = 0,
int  index2 = 1 
)
std::pair<mol::EntityView, mol::EntityView> DLLEXPORT_OST_SEQ ost::seq::ViewsFromSequences ( const ConstSequenceHandle &  seq1,
const ConstSequenceHandle &  seq2 
)

Variable Documentation

_CreateAlignment = CreateAlignment

Definition at line 22 of file __init__.py.