Python lib for molecular genetic
pip3 install MOGpy
git clone https://github.com/Lukas0025/MOGpy.git
cd MOGpy
make install
import MOGpy
chromA = MOGpy.BioChromosome.fromStr("AATTCTAAACGCGAAACGGTTGACATGTGGGTTGGAGCC")
chromB = MOGpy.BioChromosome.fromStr("AA")
chromC = chromA * chromB
# show chromosome
chromC.show()
# show histogram
chromC.hist()
# calculate complement
chromD = chromC.complement()
# calculate reversed complement
chromE = chromC.reverse().complement()
# print all chromosomes
print(chromA.seq())
print(chromB.seq())
print(chromC.seq())
print(chromD.seq())
print(chromE.seq())
- Examples in examples dir
- Issues: https://github.com/Lukas0025/MOGpy/issues
- Want to report a bug or request a feature? Please open an issue.
- Want to help us with build? Contact me
MOGpy is licensed under GPL