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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oligoMass-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1d657069c363639a17f49c71d4550b2c92307603c5cec3b1bfbcaccf1daeb75f
MD5 fe792c43b326fbf9a7ebedb13f94721d
BLAKE2b-256 3a4046077ec0888fbbc1dea4b4e506a662f7ae2e91a225f65faca4285990bacf

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