Header menu logo BioFSharp

Nucleotides Module

Functions and values

Function or value Description

oneLetterToOption character

Full Usage: oneLetterToOption character

Parameters:
    character : char - The input character to convert

Returns: Nucleotide option Some Nucleotide for valid nucleotide codes, None otherwise

Converter function to return Some Nucleotide if the input character is a valid one-letter code. Returns None if the input is not a valid one-letter code.

character : char

The input character to convert

Returns: Nucleotide option

Some Nucleotide for valid nucleotide codes, None otherwise

oneLetterToOptionStandard character

Full Usage: oneLetterToOptionStandard character

Parameters:
    character : char - The input character to convert

Returns: Nucleotide option Some Nucleotide for valid nucleotide codes, None otherwise

Converter function to return Some Nucleotide if the input character is a valid one-letter code for standard nucleotides. Returns None if the input an ambiguous code (e.g.,'R','Y','K','M','S','W','B','D','H','V','N'), or not a valid one-letter code.

character : char

The input character to convert

Returns: Nucleotide option

Some Nucleotide for valid nucleotide codes, None otherwise

Type something to start searching.