https://github.com/j-e-j-s/dna-package
https://github.com/j-e-j-s/dna-package
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/j-e-j-s/dna-package
- Owner: J-E-J-S
- License: mit
- Created: 2021-02-03T20:54:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-13T11:27:23.000Z (over 4 years ago)
- Last Synced: 2025-05-31T12:35:30.579Z (4 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DNA
## A basic package-in-progress of DNA-related functions.
## Functions
### seq.py
composition - Returns base composition of nucleotide polymer as dictionary.transcribe - Returns transcribed DNA as mRNA.
reverse_complement - Returns the complementary strand of a DNA polymer.
gc_content - Returns GC contents of polymer as percentage (%).
translate - Returns primary sequence of protein polypeptide.
find_motif - Returns positions of specified motif with sequence. [(start, end), (start, end)...]
ORFs - Returns a dictionary of open reading frames from an input DNA sequence.
### fasta.py
parse - Returns fasta label and sequence from fasta file containing single sequencemulti_parse - Returns multiple fasta labels and sequences from fasta file containing multiple sequences