MeridianMERIDIAN

DNA Sequence

representation.scientific.dna_sequence

Deoxyribonucleic acid sequence in IUPAC notation (letters: A, T, G, C, and ambiguity codes).

Worked samples

DuckDB 1.5.5 · finetype 0.6.64

ValueAs VARCHARgc_contentlength
ATGCAGCATGCAGC0.57142857142857147
GCTAGCTAGCTAGGCTAGCTAGCTAG0.538461538461538413
ATGATGATGATGATGATG0.33333333333333339

Shape

Pattern
^[ATGCRYSWKMBDHVN]+$
ValueLengthShape
ATGCAGC7matches
GCTAGCTAGCTAG13matches
ATGATGATG9matches
atgcagc7rejected: lower-cased

Told apart

2 of the 6 other scientific types accept every one of these samples on shape alone.

IUPAC notation: A=Adenine, T=Thymine, G=Guanine, C=Cytosine Plus ambiguity codes: R, Y, S, W, K, M, B, D, H, V, N.

Detection notes

v1 migration: Was science.dna_sequence. IUPAC notation: A=Adenine, T=Thymine, G=Guanine, C=Cytosine Plus ambiguity codes: R, Y, S, W, K, M, B, D, H, V, N. Transform uppercases. Decompose calculates GC content.

Use it

CLI · DuckDB
$ finetype infer -i "ATGCAGC" --mode column
→ representation.scientific.dna_sequence

SELECT ft_infer('ATGCAGC');
-- → 'representation.scientific.dna_sequence'
Cast expression
UPPER(CAST({col} AS VARCHAR))

Schema

https://meridian.online/schemas/representation.scientific.dna_sequence · Frictionless type string

finetype taxonomy representation.scientific.dna_sequence -o json-schema

Aliases

dna

Type Registry