libsequence  1.9.5
Sequence::invalidPolyChar Struct Reference

This functor can be used to determine if a range contains characters that the SNP analysis routines in this library cannot handle gracefully. More...

#include <Sequence/SeqAlphabets.hpp>

Inherits unary_function< char, bool >.

Public Member Functions

bool operator() (const char &nucleotide) const
 

Detailed Description

This functor can be used to determine if a range contains characters that the SNP analysis routines in this library cannot handle gracefully.

Definition at line 83 of file SeqAlphabets.hpp.

Member Function Documentation

◆ operator()()

bool Sequence::invalidPolyChar::operator() ( const char &  nucleotide) const
Returns
true if c is not in the set {A,G,C,T,N,-,.,0,1}, false otherwise. The period (.) can be used as an "identical to the 1st seq in a file" character, so should be considered valid
Note
Case-insensitive

Definition at line 47 of file SeqAlphabets.cc.


The documentation for this struct was generated from the following files: