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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oligoMass-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e6cf8456e8c1b8e14c7501ff0133750166fc653ffa95a8aa0e590eb96d80ffc4
MD5 21f20195c62b349c02810d05d6136677
BLAKE2b-256 aae22c24d4b0bd8afe6868d8a80620f9687d52e97f2ab0a55c39482de9da83cf

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