An open API service indexing awesome lists of open source software.

https://github.com/BooleanCat/haem

A Python library for working on Bioinformatics problems
https://github.com/BooleanCat/haem

Last synced: 9 days ago
JSON representation

A Python library for working on Bioinformatics problems

Awesome Lists containing this project

README

          

# haem

## Quick start

Create a DNA sequence, complement and transcribe it:

```python
>>> import haem
>>> dna = haem.DNASequence("ACGT")
>>> dna.complement

>>> dna.transcribe()

```

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

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