---
title: "Get a DNA Alignment"
method: GET
path: "/dna-alignments/{dna_alignment_id}"
tags: ["dnaAlignments"]
deprecated: true
---

# Get a DNA Alignment

`GET /dna-alignments/{dna_alignment_id}`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/dna-alignments/{dna_alignment_id}`
- Auth: HTTP bearer

> **Deprecated.**

Get a DNA Alignment

## Path parameters

- `dna_alignment_id` string, required

## Response `200`

OK

- DnaAlignment
  - `apiURL` string, uri: The canonical url of the DNA Alignment in the API.
  - `createdAt` string, date-time: DateTime the DNA Alignment was created
  - `id` string
  - `modifiedAt` string, date-time: DateTime the DNA Alignment was last modified
  - `name` string
  - `referenceSequenceId` string: The ID of the template or consensus DNA Sequence associated with the DNA Alignment
  - `webURL` string, uri: The Benchling web UI url to view the DNA Alignment
  - `alignedSequences` AlignedSequence[]
    - `bases` string
    - `dnaSequenceId` string, nullable
    - `name` string
    - `pairwiseIdentity` string: Fraction of bases between trimStart and trimEnd that match the template bases. Only present for Template Alignments; Will be empty for Consensus Alignments.
    - `sequenceId` string, nullable
    - `trimEnd` integer
    - `trimStart` integer

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
