btllib: btllib::RandomSequenceGenerator Class Reference

btllib

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
btllib::RandomSequenceGenerator Class Reference

## Public Types
enum | SequenceType { DNA , RNA , PROTEIN }
enum | Masking { NONE , SOFT , HARD }

## Public Member Functions
| RandomSequenceGenerator (SequenceType type, Masking masking=NONE)
std::string | generate (size_t length)

## Constructor & Destructor Documentation

## ◆ RandomSequenceGenerator()

btllib::RandomSequenceGenerator::RandomSequenceGenerator | ( | SequenceType | type,
|  | Masking | masking = `NONE`
| ) |  |

Construct a random sequence generator object.

Parameters

  type | Sequence type (DNA, RNA, or protein)
  masking | If set to SOFT, lower-case values will also be generated. If HARD, the sequences will include N/X positions.

## Member Function Documentation

## ◆ generate()

std::string btllib::RandomSequenceGenerator::generate | ( | size_t | length | ) |

Generate a new random sequence.

Parameters

  length | Sequence length

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

- include/btllib/random_seq_generator.hpp