Skip to content

Lukas0025/MOGpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

issues closed issues size last commit

Python lib for molecular genetic

Install from pip

pip3 install MOGpy

Install from source

git clone https://github.com/Lukas0025/MOGpy.git
cd MOGpy
make install

Getting started

simple example

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())

Getting help

Reporting bugs and contributing

  • Want to report a bug or request a feature? Please open an issue.
  • Want to help us with build? Contact me

Licensing

MOGpy is licensed under GPL

About

Python library for molecular genetic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published