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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oligoMass-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f47e769dd544ebc9500bcea08f209a871fcad1f2a37bcf353a1efcda44e96cc8
MD5 f9cc61f5b1637458c6506ef084bf5e2e
BLAKE2b-256 31667d3c66fae0b6c0bcdd4e1546a8fd0fdfcb33e26c70b1aa86f9bb5895ebdd

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