Skip to main content

Transcribe DNA

Convert DNA to mRNA.

Endpoint

POST /api/genetics/dna/transcribe

Request Body

{
"sequence": "ATGCGATCGATCGATC"
}

Response

{
"dna": "ATGCGATCGATCGATC",
"mrna": "AUGCGAUCGAUCGAUC",
"template_strand": "TACGCTAGCTAGCTAG",
"length": 16
}

Transcription Rules

DNAmRNA
AU
TA
GC
CG

Example

curl -X POST http://localhost:8000/api/genetics/dna/transcribe \
-H "Content-Type: application/json" \
-d '{"sequence": "ATGCGATCGATC"}'