BooleanCat / haem

A Python library for working on Bioinformatics problems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

haem

Quick start

Create a DNA sequence, complement and transcribe it:

>>> import haem
>>> dna = haem.DNASequence("ACGT")
>>> dna.complement
<DNASequence: TGCA>
>>> dna.transcribe()
<RNASequence: ACGU>

Create an amino acid from a codon and from an ambiguous codon:

>>> haem.AminoAcid("UCA")
AminoAcid.SERINE
>>> haem.AminoAcid("UCN")
AminoAcid.SERINE

About

A Python library for working on Bioinformatics problems


Languages

Language:Python 65.3%Language:Rust 34.6%Language:Makefile 0.2%