LocARNA-1.8.11
Public Member Functions | List of all members
LocARNA::FreeEndgapsDescription Class Reference

Description of free end gaps. More...

#include <params.hh>

Public Member Functions

 FreeEndgapsDescription (const std::string &d)
 Construct from string description. More...
 
bool allow_left_1 () const
 
bool allow_right_1 () const
 
bool allow_left_2 () const
 
bool allow_right_2 () const
 

Detailed Description

Description of free end gaps.

Decodes the description given by a string of 4 characters '+'/'-' and provides methods with reasonable names.

Constructor & Destructor Documentation

LocARNA::FreeEndgapsDescription::FreeEndgapsDescription ( const std::string &  d)
inlineexplicit

Construct from string description.

Parameters
ddescription given by a string of 4 characters '+'/'-'
Note
the string description is suited to specify free end gaps in this way on the command line

Member Function Documentation

bool LocARNA::FreeEndgapsDescription::allow_left_1 ( ) const
inline

Are gaps free at left end of first sequences?

Returns
whether free end gaps are allowed
bool LocARNA::FreeEndgapsDescription::allow_left_2 ( ) const
inline

Are gaps free at left end of second sequences?

Returns
whether free end gaps are allowed
bool LocARNA::FreeEndgapsDescription::allow_right_1 ( ) const
inline

Are gaps free at right end of first sequences?

Returns
whether free end gaps are allowed
bool LocARNA::FreeEndgapsDescription::allow_right_2 ( ) const
inline

Are gaps free at right end of second sequences?

Returns
whether free end gaps are allowed

The documentation for this class was generated from the following file: