Skip to main content

Isotope correction for MS data

Project description

PICor: Statistical Isotope Correction

ICor is a python package for correcting mass spectrometry data for the effect of natural isotope abundance.

Description

PICor takes pandas DataFrames of the measured integrated MS intensities as input, corrects them for natural isotope abundance and returns a DataFrame again.

PICor can also correct for overlapping isotopologues due to too low resoltion.For example the 13-C4 and 2-H4 isotopologues of the metabolite NAD can't be resolved at a resolution of 60,000 at 200 m/z.

Installation

To install:

$ pip install picor

You need to have pandas and scipy installed.

Usage

After importing PICor and loading your data (for example a csv file) with pandas you the correction works with:

import pandas as pd
import picor

raw_data = pd.read_csv("data.csv", index="Time in h"))
corr_data = picor.calc_isotopologue_correction(
	raw_data,
	"NAD",
	)
print(corr_data)

You can activate a resolution depent correction by setting resolution_correction to True. Specify the resolution and the reference m/z ratio with resolution and mz_calibration.

Jørn Dietze, UiT - The Arctic University of Tromsø, 2020

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

PICor-0.3.2.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

PICor-0.3.2-py2.py3-none-any.whl (23.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file PICor-0.3.2.tar.gz.

File metadata

  • Download URL: PICor-0.3.2.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.0.0.post20200830 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for PICor-0.3.2.tar.gz
Algorithm Hash digest
SHA256 29c9ca069974acd974de2491a9121e9aac5410a2e0175114d2fae0dbc3cd8a76
MD5 9020c71ece56500d8f365982c35aa7c7
BLAKE2b-256 a04dd6fbf94bca4dd49cd8bc00bf7164786afdc57168b51e9e9fb7cff6ab441b

See more details on using hashes here.

File details

Details for the file PICor-0.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: PICor-0.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.0.0.post20200830 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for PICor-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 977a914b4143f12c323227139d3e391f844846266d044f90137295451fc70924
MD5 428af39318e7640ecce28e8b1db4189e
BLAKE2b-256 9e68e528da6497fadbf4441354a2044819b552a9f4e691ce61b7917c4952c376

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page