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
- Host: GitHub
- URL: https://github.com/BooleanCat/haem
- Owner: BooleanCat
- Created: 2023-07-14T09:46:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-04-14T20:06:32.000Z (2 months ago)
- Last Synced: 2026-04-14T22:06:39.056Z (2 months ago)
- Language: Python
- Size: 504 KB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-python-rs - haem - A Python library for working on bioinformatics problems. (Bioinformatics & Astronomy)
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
```