Skip to main content

Python lib for molecular genetic

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MOGpy-0.0.5.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file MOGpy-0.0.5.tar.gz.

File metadata

  • Download URL: MOGpy-0.0.5.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for MOGpy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a84f5c2a5d1acd37399c15073f6d80e4fe8c833dc17b71cacb7986e1606a470f
MD5 19fcbf2162801482d9ab47d673294305
BLAKE2b-256 f576b236c32fd48824e33c2cab50fb1d8c2cd936d5f2a5d437d2ce0099ab66d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page