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.2-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oligoMass-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c84b9e0d145e402b8d8ba8d810b87716fab23ab8732c19398ab222c00b341a
MD5 45bbe9e14b9989283d666cfa5a021b5c
BLAKE2b-256 4e0888a26355fa2ef19872997c77e8728a12e09e7f4169b19ede923c708d9994

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