# Spec Dna5Q
Alphabet for DNA plus PHRED quality including 'N' character.

Extends | SimpleType
Implements | AlphabetWithQualitiesConcept
All Extended | SimpleType
All Impl'd | AlphabetConcept, AlphabetWithQualitiesConcept, AssignableConcept, ComparableConcept, CopyConstructibleConcept, DefaultConstructibleConcept, EqualityComparableConcept, FiniteOrderedAlphabetConcept, LessThanComparableConcept, OrderedAlphabetConcept
Defined in | <seqan/basic.h>
Signature | `typedef SimpleType<unsigned char, Dna5Q_> Dna5Q;`

## Member Function Overview

### Member Functions Inherited From SimpleType

- `SimpleType`

### Member Functions Inherited From AssignableConcept

- `operator=`

### Member Functions Inherited From ComparableConcept

- `operator>`

### Member Functions Inherited From EqualityComparableConcept

- `operator!=`
- `operator==`

### Member Functions Inherited From LessThanComparableConcept

- `operator<`

### Member Functions Inherited From OrderedAlphabetConcept

- `operator<`

## Interface Function Overview

### Interface Functions Inherited From AlphabetWithQualitiesConcept

- `getQualityValue`
- `assignQualityValue`

### Interface Functions Inherited From AssignableConcept

- `assign`
- `set`
- `move`

### Interface Functions Inherited From ComparableConcept

- `operator<=`
- `operator>=`

### Interface Functions Inherited From FiniteOrderedAlphabetConcept

- `ordValue`
- `valueSize`

### Interface Functions Inherited From OrderedAlphabetConcept

- `supremumValueImpl`
- `maxValue`
- `infimumValueImpl`
- `minValue`

## Interface Metafunction Overview

### Interface Metafunctions Inherited From AlphabetConcept

- `BitsPerValue`

### Interface Metafunctions Inherited From AlphabetWithQualitiesConcept

- `HasQualities`
- `QualityValueSize`

### Interface Metafunctions Inherited From FiniteOrderedAlphabetConcept

- `ValueSize`

### Interface Metafunctions Inherited From OrderedAlphabetConcept

- `MaxValue`
- `MinValue`

## Member Variable Overview

### Member Variables Inherited From SimpleType

- `value`

## Detailed Description

The ValueSize of `Dna5Q` is 5. The nucleotides are enumerated this way: `'A' = 0, 'C' = 1, 'G' = 2, 'T' = 3`. The 'N' character ("unknown nucleotide") is encoded by 4.

Objects of type `Dna5` can be converted to various other types and vice versa.

Note that the default quality value is set to 40.

## See Also

- Dna5
- DnaQ

#### Dox Sources

    /*!
     * @class Dna5Q
     *
     * @implements AlphabetWithQualitiesConcept
     *
     * @extends SimpleType
     *
     * @headerfile <seqan/basic.h>
     *
     * @brief Alphabet for DNA plus PHRED quality including 'N' character.
     *
     * @signature typedef SimpleType<unsigned char, Dna5Q_> Dna5Q;
     *
     * The ValueSize of <tt>Dna5Q</tt> is 5. The nucleotides are enumerated this
     * way: <tt>'A' = 0, 'C' = 1, 'G' = 2, 'T' = 3</tt>. The 'N' character ("unknown
     * nucleotide") is encoded by 4.
     *
     * Objects of type <tt>Dna5</tt> can be converted to various other types and
     * vice versa.
     *
     * Note that the default quality value is set to 40.
     *
     * @see Dna5
     * @see DnaQ
     */