Skip to main content

No project description provided

Project description

Description

Calculation of oligonucleotides weights and some properties.

Installation

from Repository on GitHub:

pip install git+https://github.com/a1exsan/oligoMass.git#egg=oligoMass

from PyPi:

pip install oligoMass -U https://pypi.org/project/oligoMass/

Getting started

#### 1) Calculate average and monoisotopic molecular weight of any deoxyoligonucleotide sequense consists of #### five type bases: dA, dT, dG, dC, dU

from oligoMass.molmassOligo import oligoNASequence

oligos = oligoNASequence(‘ATGCCGGTuugtU’)

print(f”molecular formula: {oligos.getMolecularFormula()}”)

print(f”MW: {oligoNASequence(‘ATGCC’).getAvgMass()}”)

print(f”monoMW: {oligoNASequence(‘ATGCC’).getMonoMass()}”)

#### 2) Calculate average and monoisotopic molecular weight of some deoxyoligonucleotide modifications #### such as: LNA(+), ribo(r), 2’-O-Me (m) or Phosphorothioated DNA bases as entered (*)

print(f” MW: {oligoNASequence(‘+ATrG+CCmG*GTuu+gtU’).getMonoMass()}”)

#### 3) Universal sintax to add modifications:

print(f” MW: {oligoNASequence(‘ATGC’).getMonoMass()} Da”) #1173.82 Da

print(f” MW: {oligoNASequence(‘ATGC’).getMolecularFormula()} Da”) # C39H50N15O22P3

print(f” MW: {oligoNASequence(‘AT{CH2}GC’).getMonoMass()} Da”) #1187.85 Da

print(f” MW: {oligoNASequence(‘AT{CH2}GC’).getMolecularFormula()} Da”) # C40H52N15O22P3

print(f” MW: {oligoNASequence(‘AT{S|O}GC’).getMolecularFormula()} Da”) # C39H50N15O21P3S

that equal (‘AT{S|O}GC’ == ‘ATG*C’)

print(f” MW: {oligoNASequence(‘AT[CH2]GC’).getMonoMass()} Da”) #1187.85 Da

print(f” MW: {oligoNASequence(‘AT/CH2/GC’).getMonoMass()} Da”) #1187.85 Da

#### 4) getPrefix(index) and getSuffix(index) methods can return prefix and suffix of the sequence

print(oligoNASequence(‘+ATrG+CCmG*GTuu+gtU’).getPrefix(index=2)())

# +AT

print(oligoNASequence(‘+ATrG+CCmG*GTuu+gtU’).getSuffix(index=4)())

# CmG*GTuu+gtU

#### 5)Calc extinction coef:

from oligoMass import dna

extinction = dna.get_simple_ssdna_extinction(“ATGCTT”, dna.get_extinction_dict())

print(extinction)

# 55100

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oligoMass-0.1.9-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file oligoMass-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: oligoMass-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for oligoMass-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2e17997d687c93c9f16facd5d67b004e68da5726453effe0a691dae88b46e7ff
MD5 88573d47275dd98bdfb1dbaedbcf6b63
BLAKE2b-256 81702c78958d2088429cecd19543e03523aed2c9e4783d06e1580237c2f5699e

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