Skip to main content

PolyMID is a software package for analyzing stable-isotope tracing data.

Project description

PolyMID

PolyMID is a software package of functions that can be used to analyze data collected in stable-isotope tracing experiments.

PolyMID.Correct() is a function that removes the influence of naturally occurring heavy isotopes from stable-isotope tracing experiments If it is called without any inputs, the user will be prompted to navigate to a text file where the inputs can be read. The text file must be formatted as follows:

FragmentName: TryptophanProtonated FragmentFormula: C11H13N2O2 CanAcquireLabel: C11H13N2O2 MIDm: 0.88885 0.106829 0.004322 LabeledElement: C TracerEnrichment: 1 LabelEnrichment: 1 HighRes: N O H

FragmentName and FragmentFormula specify the name and formula of the metabolite fragment. For analyses on LCMS systems using electrospray ionization, the fragment will generally be the whole metabolite. For analyses on GCMS systems using electron ionization, the fragment will generally be a portion of the derivatized form of the whole metabolite. The value, CanAcquireLabel, specifies which atoms of the fragment can possibly acquire label from the tracer. Only the atoms that are of the same element as the tracer are considered. If the fragment formula is identical to the metabolite formula, then this input could be the same as the input Formula. However, in cases where the fragment is a derivatized version of the metabolite, atoms of the derivatizing agent cannot acquire label from the tracer and should be excluded from this input. The value, MIDm, is the mass isotopomer distribution of the metabolite fragment as it is measured. The value, LabeledElement, is the chemical symbol of the heavy isotope-labeled element on the tracer molecule. The value, TracerEnrichment, is the percent of the chemical species of the tracer molecule that is labeled. The value, LabelEnrichment, is the fraction of atoms in labeled positions on the tracer that are labeled as heavy isotopes. Finally, HighRes is a series of element chemical symbols, separated by spaces, whose mass shifts due to incorporation of heavy isotopes are distinguished from those of the labeled element. HighRes can also take on values of none and all to indicate mass shifts due to incorporation of heavy isotopes of all or no chemical species, respectively, can be distinguished from those of the labeled element.

Open the Terminal (MacOS or Linux) or Cmd (Windows) window and type the command, Python3, to start the Python3 interpreter. The Python3 interpreter is now running in the Terminal or Cmd window. Type the command, Import PolyMID, to load the PolyMID software. PolyMID-Correct is part of the PolyMID software package. To run Poly-MID-Correct, type the command, Output = PolyMID.Correct(). A window accessing the operating system's directories will open. Navigate and select the text file specifying the input values as formatted according to instructions in the previous section. The program will run and print the corrected MID when finished. In the event that the printed output is truncated, the corrected MID can be accessed with the command, Output.MIDc.

Inputs can also be specified directly from the python interpreter command line as follows:

FragmentName = 'TryptophanProtonated' FragmentFormula = 'C11H13N2O2' CanAcquireLabel = 'C11H13N2O2' MIDm = [0.88885, 0.106829, 0.004322] LabeledElement = 'C' TracerEnrichment = 1 LabelEnrichment = 1 HighRes = ['N', 'O', 'H']

Next, curate the variables into a single "Fragment" object, Input:

Input = PolyMID.Fragment(FragmentName, FragmentFormula, CanAcquireLabel, MIDm, LabeledElement, TracerEnrichment, LabelEnrichment, HighRes)

Finally, run PolyMID-Correct passing it the Input variable:

Output = PolyMID.Correct(Input)

The program will run and print the corrected MID when finished. In the event that the printed output is truncated, the corrected MID can be accessed with the command, Output.MIDc.

Project details


Download files

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

Source Distribution

PolyMID-0.0.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

PolyMID-0.0.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file PolyMID-0.0.0.tar.gz.

File metadata

  • Download URL: PolyMID-0.0.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.1

File hashes

Hashes for PolyMID-0.0.0.tar.gz
Algorithm Hash digest
SHA256 b35f5f0094b63b85bb7a029842cb6e9895c5f31cdbe9b7a79b3619bb898be6a0
MD5 1000d5f1d0e01d2c561725e1530117b5
BLAKE2b-256 ef56fa529230f83789f929e0148bd70b425514097bf93ae4408d313b7bd593a2

See more details on using hashes here.

File details

Details for the file PolyMID-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: PolyMID-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.1

File hashes

Hashes for PolyMID-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b170df6ca9b9343849a336dec791102098f8a51ca982b9bc363485d08f5daa0
MD5 cd36a878a06cc6178c6081a04b9796f9
BLAKE2b-256 c9d5037dffe2c515c84170d005826f23900a7cbeda2878971bbba0d7029b1223

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