Skip to main content

A python command line tool for the quantification of peptidoform/proteoforms

Project description

Proteoformquant

Proteoformquant is a Python tool for quantitative analysis of proteoforms from mass spectrometry data.

Setup/Installation

Via PyPi repository (Recomanded)

1. Install proteoformquant package

The most straightforward way to use Proteformquant is to downloading it as a package from the PyPi repository using pip.

pip install proteoformquant

You should then be able to run Proteoformquant by running the following line in a terminal

1. Run proteoformquant

proteoformquant

Access help by running

proteoformquant -h

More information on how to use proteoformquant is avaible in the 'usage' section of this document.

Via github (Alternative) (not available currently)

You also have the possibility to clone the repository from github and manually install the dependencies. You will need to create a Conda environment.

1. Install Conda (and Mamba)

If not already done, install Conda (https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html#regular-installation)

If you wish to use Mamba to create the Conda environment (faster) you can install mamba by running the following command in a terminal:

conda install mamba -n base -c conda-forge

2. Clone proteoformquant repository

git clone https://github.com/arthur-grimaud/Proteoformquant.git

3. Create and activate the environment

Next, create the environment using either Conda or Mamba by running the following command in the folder where 'environment.yml' is located

# With Conda
conda env create --file environment.yml
#With Manba
mamba env create --file environment.yml

you should now be able to activate the environment with:

mamba activate pfq-env

4. Run proteoformquant

Run proteoformquant by running the proteoformquant.py script in src/proteoformquant

python3 src/proteoformquant/proteoformquant.py

Usage

(n.b the command line listed here are given for the installation of proteoformquant as a package. you will need to adapt the commands if you use the second installation method)

Proteoform requires 3 input files: -spectra file (.mgf or .mzml) -indentification file (.mzid) -a parameter file (.json)

A parameter file can be generated by running.

proteoformquant -cp

If you do not change the name or location of the parameter file you can run proteoformquant as follow

proteoformquant -i path/to/identification/file.mzid -s path/to/spectra/file.mgf 

by default this will create an output file 'output/' in the local directory. If you wish to change that use the -d parameter

proteoformquant -i path/to/identification/file.mzid -s path/to/spectra/file.mgf -d path/to/my_output_folder

similarly you can change the outfile name with the -o parameter

proteoformquant -i path/to/identification/file.mzid -s path/to/spectra/file.mgf -d path/to/my_output_folder -o output_file_1

Contributing

License

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

proteoformquant-0.6.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

proteoformquant-0.6-py3-none-any.whl (72.4 kB view hashes)

Uploaded Python 3

Supported by

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