# DNA Sequence

Key: `representation.scientific.dna_sequence`

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

Page: <https://meridian.online/docs/finetype/types/representation/scientific/dna_sequence>

Samples: `ATGCAGC`, `GCTAGCTAGCTAG`, `ATGATGATG`

## Use it

Shell

```shell
finetype infer -i 'ATGCAGC' --mode column
# → representation.scientific.dna_sequence
```

DuckDB

```sql
SELECT ft_infer('ATGCAGC');
-- → 'representation.scientific.dna_sequence'
```

Cast template: {col} is your column

```sql
UPPER(CAST({col} AS VARCHAR))
```

## How it's detected

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.
