Skip to content

Main content

Kmer Canonical Reverse Complement Pair Tool

Canonical uppercase DNA k-mer is the ASCII-lexicographically smaller of the k-mer and its reverse complement.

Loading tool…

Description

Return a DNA k-mer's reverse complement and canonical representative.

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.

Return a DNA k-mer's reverse complement and canonical representative.

When to use this tool

Use Kmer Canonical Reverse Complement Pair when checking the stated sequence token, ambiguity, quality symbol or local trimming convention.

How to use the tool and how it works

  1. Enter kmer. 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 reverseComplement, canonical, palindromic. Inspect palindromic before interpreting the associated values.

Return a DNA k-mer's reverse complement and canonical representative. Require nonempty uppercase A/C/G/T; reverse and complement, choose lexical minimum, palindromic means equality.1

Input fieldMeaning and unitsAccepted input
kmerKmerRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
reverseComplementReverse ComplementRequired. Text; maximum UTF-16 length 8192.
canonicalCanonicalRequired. Text; maximum UTF-16 length 8192.
palindromicPalindromicRequired. Boolean.
json
{
  "input": {
    "kmer": "ACG"
  },
  "output": {
    "reverseComplement": "CGT",
    "canonical": "ACG",
    "palindromic": false
  }
}

Limitations and assumptions

  • No ambiguous bases, lowercase normalization, genomic occurrence counting or strand-specific biological interpretation is provided.
  • 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/kmer-canonical-reverse-complement-pair — tool.io

Similar or alternative tools