Skip to content

Main content

FASTA Iupac Ambiguity Cardinality Tool

Uppercase IUPAC DNA ambiguity codes, excluding RNA U, gaps and unknown punctuation.

Loading tool…

Description

Expand one uppercase IUPAC DNA ambiguity symbol.

Sequence text, ambiguity codes and encoded quality scores describe different information. Literal alphabets and Phred transformations can be checked without identifying a molecule or proving calibrated sequencing accuracy; missingness and reporting encodings require explicit conventions.

Expand one uppercase IUPAC DNA ambiguity symbol.

When to use this tool

Use FASTA Iupac Ambiguity Cardinality when checking the stated sequence token, ambiguity, quality symbol or local trimming convention.

How to use the tool and how it works

  1. Enter symbol. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read bases, cardinality. Use the output convention below.

Expand one uppercase IUPAC DNA ambiguity symbol. Look up its allowed A/C/G/T alternatives and return bases and cardinality; unsupported symbols cause an input error.1

Input fieldMeaning and unitsAccepted input
symbolSymbolRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
basesBasesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
cardinalityCardinalityRequired. Safe integer.
json
{
  "input": {
    "symbol": "R"
  },
  "output": {
    "bases": [
      "A",
      "G"
    ],
    "cardinality": 2
  }
}

Limitations and assumptions

  • This returns a conventional set, not base probabilities, sequence resolution or a biological variant call.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use a complete format-aware sequence/quality workflow and the appropriate reference/genetic code; assess biological identity and quality calibration independently.

References

  1. Calculation and input contract: bioinformatics/fasta-iupac-ambiguity-cardinality — tool.io

Similar or alternative tools