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.2.tar.gz (6.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: MOGpy-0.0.2.tar.gz
  • Upload date:
  • Size: 6.4 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.2.tar.gz
Algorithm Hash digest
SHA256 c42cc9bed5bf99c9a5ada19d461a456043c99fc9f7be49458582693e697d44f6
MD5 879477dde2cc54c36c6fdf4c44659547
BLAKE2b-256 d99680ac0a34e40ad6446aa0351671dd537df4eca605375dca5e552030e64c27

See more details on using hashes here.

Supported by

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