Skip to main content

Compute first two isotopologues intensity from peptide sequence.

Project description

Seq-to-first-iso

Compute first isotopologues intensity from peptide sequence

Contents

About

(Back to top)

Installation

(Back to top)

Note: this is the installation process for LINUX machines, depending on your operating system, the commands might differ

With a virtual environment

This tutorial uses conda to set up the packages in a virtual environment

  • Download environment.yml
  • After going in the directory containing environment.yml, create the environment with:
$ conda env create --file environment.yml

You should now have a conda environment named SLIM To go into the environment, type:

$ conda activate SLIM

You should now be able to use the script inside the environment

Manually

Download the following prerequesites:

Usage

(Back to top)

If you installed with conda, make sure to activate the conda environment
The script takes a file with one sequence of amino acids per line and returns a tsv of the file with columns:

sequence mass formula formula_X M0_NC  M1_NC  M0_12C  M1_12C 

The script can be called with:

$ python seq_to_first_iso.py filename [-o output_name] [-n amino_acids...]

Optional arguments are in square brackets
This will create filename.tsv if filename is a correct file

Options

  • -h, --help:
    Provide a help page

  • -o, --output:
    Change the name of the output file

  • -n, --non_labelled_aa:
    Take 1 or more amino acid separated by a comma

Examples

  • You can provide a list of amino acids which will keep default isotopic abundance:

Supposing peptides.txt :

YAQEISR
VGFPVLSVKEHK
LAMVIIKEFVDDLK

The command

$ python seq_to_first_iso.py peptides.txt -n V,W

will create peptides.tsv :

sequence mass formula M0_NC M1_NC M0_12C M1_12C
YAQEISR 865.42938099921 C37H59O13N11 0.6206414140575179 0.280870823368276 0.9206561231798033 0.05161907174495234
VGFPVLSVKEHK 1338.7659712609 C63H102O16N16 0.4550358985377136 0.34506032928190855 0.7589558393662944 0.18515489894512063
LAMVIIKEFVDDLK 1632.91606619252 C76H128O21N16S1 0.36994021481230627 0.3373188347614264 0.7475090558698947 0.15292723586285323

Where, in 12C enrichment conditions, the isotopologue intensity M0_12C and M1_12C are computed with unlabelled Valine and Tryptophan (V and W have default isotopic abundance)

  • You can change the name of the output file:
$ python seq_to_first_iso.py peptides.txt -o sequence

will create a file named sequence.tsv

Credits

(Back to top)

  • Bioconda:

    • Grüning, Björn, Ryan Dale, Andreas Sjödin, Brad A. Chapman, Jillian Rowe, Christopher H. Tomkins-Tinch, Renan Valieris, the Bioconda Team, and Johannes Köster. 2018. “Bioconda: Sustainable and Comprehensive Software Distribution for the Life Sciences”. Nature Methods, 2018 doi:10.1038/s41592-018-0046-7.
  • pyteomics:

    • Goloborodko, A.A.; Levitsky, L.I.; Ivanov, M.V.; and Gorshkov, M.V. (2013) “Pyteomics - a Python Framework for Exploratory Data Analysis and Rapid Software Prototyping in Proteomics”, Journal of The American Society for Mass Spectrometry, 24(2), 301–304. DOI: 10.1007/s13361-012-0516-6

    • Levitsky, L.I.; Klein, J.; Ivanov, M.V.; and Gorshkov, M.V. (2018) “Pyteomics 4.0: five years of development of a Python proteomics framework”, Journal of Proteome Research. DOI: 10.1021/acs.jproteome.8b00717

  • MIDAs:

    • Alves G, Ogurtsov AY, Yu YK (2014) Molecular Isotopic Distribution Analysis (MIDAs) with adjustable mass accuracy. J Am Soc Mass Spectrom, 25: 57-70. DOI: 10.1007/s13361-013-0733-7

Changelog

0.1.0 (2019-04-05)

  • First release

BSD 3-Clause License

Copyright (c) 2019, Lilian Yang-crosson All rights reserved. Copyright (c) 2019, Pierre Poulain All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project details


Download files

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

Files for seq-to-first-iso, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size seq_to_first_iso-0.1.0-py3-none-any.whl (9.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page