benchling_sdk.services.v2.stable.dna_alignments_service module¶

class DnaAlignmentsService¶

Bases: benchling_sdk.services.v2.base_service.BaseService

DNA Alignments (Deprecated).

A DNA alignment is a Benchling object representing an alignment of multiple DNA sequences.

Please migrate to the corresponding Nucleotide Alignment endpoints.

See https://benchling.com/api/reference#/DNA%20Alignments See https://benchling.com/api/reference#/Nucleotide%20Alignments

create_consensus_alignment(consensus_alignment: DnaConsensusAlignmentCreate) → TaskHelper[DnaAlignment]¶

Create a consensus DNA alignment (Deprecated).

Please migrate to the corresponding Nucleotide Alignment endpoints.

See https://benchling.com/api/reference#/DNA%20Alignments/createConsensusAlignment See https://benchling.com/api/reference#/Nucleotide%20Alignments/createConsensusNucleotideAlignment

create_template_alignment(template_alignment: DnaTemplateAlignmentCreate) → TaskHelper[DnaAlignment]¶

Create a template DNA alignment (Deprecated).

Please migrate to the corresponding Nucleotide Alignment endpoints.

See https://benchling.com/api/reference#/DNA%20Alignments/createTemplateAlignment See https://benchling.com/api/reference#/Nucleotide%20Alignments/createTemplateNucleotideAlignment

delete_alignment(dna_alignment_id: str) → None¶

Delete a DNA alignment (Deprecated).

Please migrate to the corresponding Nucleotide Alignment endpoints.

See https://benchling.com/api/reference#/DNA%20Alignments/deleteDNAAlignment See https://benchling.com/api/reference#/Nucleotide%20Alignments/deleteNucleotideAlignment

get_by_id(dna_alignment_id: str) → DnaAlignment¶

Get a DNA alignment (Deprecated).

Please migrate to the corresponding Nucleotide Alignment endpoints.

See https://benchling.com/api/reference#/DNA%20Alignments/getDNAAlignment See https://benchling.com/api/reference#/Nucleotide%20Alignments/getNucleotideAlignment

list(modified_at: Optional[str] = None, name: Optional[str] = None, name_includes: Optional[str] = None, ids: Optional[List[str]] = None, names_any_of: Optional[List[str]] = None, names_any_of_case_sensitive: Optional[List[str]] = None, sequence_ids: Optional[List[str]] = None, sort: Optional[Union[str, ListDNAAlignmentsSort]] = None, page_size: Optional[int] = None) → PageIterator[DnaAlignmentSummary]¶

List DNA Alignments (Deprecated).

Please migrate to the corresponding Nucleotide Alignment endpoints.

See https://benchling.com/api/reference#/DNA%20Alignments/listDNAAlignments See https://benchling.com/api/reference#/Nucleotide%20Alignments/listNucleotideAlignments