flippr


Nameflippr JSON
Version 0.1.8 PyPI version JSON
download
home_pageNone
SummaryFragPipe Limited-Proteolysis Processor (FLiPPR) is modular, fast, and easy-to-use data processing tool for LiP-MS & LFQ-based experiments analyzed in FragPipe
upload_time2024-09-03 19:25:36
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords bottom-up proteomics computational mass spectrometry differential analysis flippr fragpipe fragpipe analysis label-free label-free quantification lfq limited proteolysis lip-ms proteomics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![FLiPPR Logo](docs/images/flippr_long_logo.png)

## Table of Contents

- [Overview](#overview)
- [Support](#support)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
- [Citation](#citation)

## Overview

FLiPPR (**F**ragPipe **Li**mited-**P**roteolysis **Pr**ocessor) is modular, fast, and easy-to-use data processing tool for LiP-MS & LFQ-based experiments analyzed in FragPipe.

FLiPPR is:
* **Super Fast**: FLiPPR utilizes [Polars](https://pola.rs/) in the back-end to ensure all CPU cores contribute to your data processing.
* **Convinent to Use**: [FragPipe](https://fragpipe.nesvilab.org/) produces standarized outputs, FLiPPR takes full advantage of this feat and integrates seemlessly with any FragPipe LFQ-MBR anaylsis.
* **Flexible and Expandable**: Experiments introduce unique and novel variables, FLiPPR ensures capatibility with all experimental setups and gives you full control of the data processing pipeline.

## Support
FLiPPR has been tested with Python 3.10 – 3.12
To learn more about how FLiPPR can help you analyze your LiP-MS or LFQ data, head over to the [FLiPPR docs](https://flippr.readthedocs.io)

## Installation

```bash
    # Initial install
    python -m pip install flippr

    # Update to latest release
    python -m pip install -U flippr
```


## Usage

1. Start a `Study`

```python
import flippr as fp
from flippr import Study

# Pass the FragPipe output directory path from your LiP-MS experiment
study = Study(lip = "path/to/lip")

# Include protein normalization factors from a Trypsin-only experiment
study = Study(lip = "path/to/lip", trp = "path/to/trp")

# Including the protein FASTA file will add metadata and remove contaminants
study = Study(lip = "path/to/lip", trp = "path/to/trp", fasta = "UP000000625_83333.fasta")
```

2. View the experimental sample annotations

```python
print(study.samples)
# >>> { 'LiP': {'Native', 'Refolded_001_min', 'Refolded_005_min', 'Refolded_120_min'}, 'TrP': {'Refolded', 'Native'}}
```

3. Add an experimental process

```python
# Process without normalization
study.add_process(1, "Native", "Refolded_001_min", 3)

# Process with normalizations (only when `trp` is included in the study)
study.add_process(5, "Native", "Refolded_005_min", 3, "Native", "Refolded", 3)

# Multiple processes within one study
study.add_process(1, "Native", "Refolded_001_min", 3, "Native", "Refolded", 3)
study.add_process(5, "Native", "Refolded_005_min", 3, "Native", "Refolded", 3)
study.add_process(120, "Native", "Refolded_120_min", 3, "Native", "Refolded", 3)
```

4. Run your study

```python
# Running a study returns results and populates the `Study().results` dictionary
results = study.run()
# >>> {1: <flippr.Results>, 5: <flippr.Results>, 120: <flippr.Results>}

# Change analysis parameters within `fp.rcParams` before running for more control
fp.rcParams["protein.fc_sig_thresh"] = 2.0
results = study.run()
```

5. View or save your results as Polars DataFrames

```python
# 1 min time point results
results_1_min = results[1]

# View all ions included in the 1 min experimental process
results_1_min.ion

# View higher-order results
results_1_min.modified_peptide
results_1_min.peptide
results_1_min.cut_site

# View protein-level summary of all data
results_1_min.protein_summary
```

| Protein ID | Protein                     | Entry Name  | Gene   | ... | No. of Valid Cut Sites | No. of Significant Cut Sites | No. of Significant Cut Sites |
|------------|-----------------------------|-------------|--------|-----|------------------------|------------------------------|------------------------------|
| P00350     | sp\|P00350\|6PGD_ECOLI      | 6PGD_ECOLI  | gnd    | ... | 111                    | 40                           | 50                           |
| P00363     | sp\|P00363\|FRDA_ECOLI      | FRDA_ECOLI  | frdA   | ... | 15                     | 2                            | 2                            |
| Q57261     | sp\|Q57261\|TRUD_ECOLI      | TRUD_ECOLI  | truD   | ... | 24                     | 7                            | 8                            |
| Q59385     | sp\|Q59385\|COPA_ECOLI      | COPA_ECOLI  | copA   | ... |13                      | 2                            | 1                            |
| Q7DFV3     | sp\|Q7DFV3\|YMGG_ECOLI      | YMGG_ECOLI  | ymgG   | ... | 4                      | 2                            | 4                            |
| Q93K97     | sp\|Q93K97\|ADPP_ECOLI      | ADPP_ECOLI  | nudF   | ... | 9                      | 4                            | 5                            |

## License

This project is licensed under the CC BY-NC-ND 4.0 License. Feel free to use the code according to the terms specified in the license.
This project is licensed under the CC BY-NC-ND 4.0 License. Feel free to use the code according to the terms specified in the license.

Thank you for your interest in FLiPPR!
If you encounter any issues or have suggestions, please open an issue.
We appreciate your feedback!

## Citation
If you found this work helpful in your research, please cite us!  
 
**FLiPPR: A Processor for Limited Proteolysis (LiP) Mass Spectrometry Data Sets Built on FragPipe**  
Edgar Manriquez-Sandoval, Joy Brewer, Gabriela Lule, Samanta Lopez, and Stephen D. Fried  
*Journal of Proteome Research*  
DOI: ***10.1021/acs.jproteome.3c00887***

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "flippr",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "\"FriedLab@JHU\" <friedlab.jhu@gmail.com>, \"Stephen D. Fried\" <sdfried@jhu.edu>, Edgar Manriquez-Sandoval <emanriq1@jhu.edu>",
    "keywords": "bottom-up proteomics, computational mass spectrometry, differential analysis, flippr, fragpipe, fragpipe analysis, label-free, label-free quantification, lfq, limited proteolysis, lip-ms, proteomics",
    "author": null,
    "author_email": "Edgar Manriquez-Sandoval <emanriq1@jhu.edu>",
    "download_url": "https://files.pythonhosted.org/packages/32/01/91f1c5d402c193c0077fa7dd6231861b9ec7dc30e7b7f5fc5516dec32d36/flippr-0.1.8.tar.gz",
    "platform": null,
    "description": "![FLiPPR Logo](docs/images/flippr_long_logo.png)\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Support](#support)\n- [Installation](#installation)\n- [Usage](#usage)\n- [License](#license)\n- [Citation](#citation)\n\n## Overview\n\nFLiPPR (**F**ragPipe **Li**mited-**P**roteolysis **Pr**ocessor) is modular, fast, and easy-to-use data processing tool for LiP-MS & LFQ-based experiments analyzed in FragPipe.\n\nFLiPPR is:\n* **Super Fast**: FLiPPR utilizes [Polars](https://pola.rs/) in the back-end to ensure all CPU cores contribute to your data processing.\n* **Convinent to Use**: [FragPipe](https://fragpipe.nesvilab.org/) produces standarized outputs, FLiPPR takes full advantage of this feat and integrates seemlessly with any FragPipe LFQ-MBR anaylsis.\n* **Flexible and Expandable**: Experiments introduce unique and novel variables, FLiPPR ensures capatibility with all experimental setups and gives you full control of the data processing pipeline.\n\n## Support\nFLiPPR has been tested with Python 3.10 \u2013 3.12\nTo learn more about how FLiPPR can help you analyze your LiP-MS or LFQ data, head over to the [FLiPPR docs](https://flippr.readthedocs.io)\n\n## Installation\n\n```bash\n    # Initial install\n    python -m pip install flippr\n\n    # Update to latest release\n    python -m pip install -U flippr\n```\n\n\n## Usage\n\n1. Start a `Study`\n\n```python\nimport flippr as fp\nfrom flippr import Study\n\n# Pass the FragPipe output directory path from your LiP-MS experiment\nstudy = Study(lip = \"path/to/lip\")\n\n# Include protein normalization factors from a Trypsin-only experiment\nstudy = Study(lip = \"path/to/lip\", trp = \"path/to/trp\")\n\n# Including the protein FASTA file will add metadata and remove contaminants\nstudy = Study(lip = \"path/to/lip\", trp = \"path/to/trp\", fasta = \"UP000000625_83333.fasta\")\n```\n\n2. View the experimental sample annotations\n\n```python\nprint(study.samples)\n# >>> { 'LiP': {'Native', 'Refolded_001_min', 'Refolded_005_min', 'Refolded_120_min'}, 'TrP': {'Refolded', 'Native'}}\n```\n\n3. Add an experimental process\n\n```python\n# Process without normalization\nstudy.add_process(1, \"Native\", \"Refolded_001_min\", 3)\n\n# Process with normalizations (only when `trp` is included in the study)\nstudy.add_process(5, \"Native\", \"Refolded_005_min\", 3, \"Native\", \"Refolded\", 3)\n\n# Multiple processes within one study\nstudy.add_process(1, \"Native\", \"Refolded_001_min\", 3, \"Native\", \"Refolded\", 3)\nstudy.add_process(5, \"Native\", \"Refolded_005_min\", 3, \"Native\", \"Refolded\", 3)\nstudy.add_process(120, \"Native\", \"Refolded_120_min\", 3, \"Native\", \"Refolded\", 3)\n```\n\n4. Run your study\n\n```python\n# Running a study returns results and populates the `Study().results` dictionary\nresults = study.run()\n# >>> {1: <flippr.Results>, 5: <flippr.Results>, 120: <flippr.Results>}\n\n# Change analysis parameters within `fp.rcParams` before running for more control\nfp.rcParams[\"protein.fc_sig_thresh\"] = 2.0\nresults = study.run()\n```\n\n5. View or save your results as Polars DataFrames\n\n```python\n# 1 min time point results\nresults_1_min = results[1]\n\n# View all ions included in the 1 min experimental process\nresults_1_min.ion\n\n# View higher-order results\nresults_1_min.modified_peptide\nresults_1_min.peptide\nresults_1_min.cut_site\n\n# View protein-level summary of all data\nresults_1_min.protein_summary\n```\n\n| Protein ID | Protein                     | Entry Name  | Gene   | ... | No. of Valid Cut Sites | No. of Significant Cut Sites | No. of Significant Cut Sites |\n|------------|-----------------------------|-------------|--------|-----|------------------------|------------------------------|------------------------------|\n| P00350     | sp\\|P00350\\|6PGD_ECOLI      | 6PGD_ECOLI  | gnd    | ... | 111                    | 40                           | 50                           |\n| P00363     | sp\\|P00363\\|FRDA_ECOLI      | FRDA_ECOLI  | frdA   | ... | 15                     | 2                            | 2                            |\n| Q57261     | sp\\|Q57261\\|TRUD_ECOLI      | TRUD_ECOLI  | truD   | ... | 24                     | 7                            | 8                            |\n| Q59385     | sp\\|Q59385\\|COPA_ECOLI      | COPA_ECOLI  | copA   | ... |13                      | 2                            | 1                            |\n| Q7DFV3     | sp\\|Q7DFV3\\|YMGG_ECOLI      | YMGG_ECOLI  | ymgG   | ... | 4                      | 2                            | 4                            |\n| Q93K97     | sp\\|Q93K97\\|ADPP_ECOLI      | ADPP_ECOLI  | nudF   | ... | 9                      | 4                            | 5                            |\n\n## License\n\nThis project is licensed under the CC BY-NC-ND 4.0 License. Feel free to use the code according to the terms specified in the license.\nThis project is licensed under the CC BY-NC-ND 4.0 License. Feel free to use the code according to the terms specified in the license.\n\nThank you for your interest in FLiPPR!\nIf you encounter any issues or have suggestions, please open an issue.\nWe appreciate your feedback!\n\n## Citation\nIf you found this work helpful in your research, please cite us!  \n \n**FLiPPR: A Processor for Limited Proteolysis (LiP) Mass Spectrometry Data Sets Built on FragPipe**  \nEdgar Manriquez-Sandoval, Joy Brewer, Gabriela Lule, Samanta Lopez, and Stephen D. Fried  \n*Journal of Proteome Research*  \nDOI: ***10.1021/acs.jproteome.3c00887***\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "FragPipe Limited-Proteolysis Processor (FLiPPR) is modular, fast, and easy-to-use data processing tool for LiP-MS & LFQ-based experiments analyzed in FragPipe",
    "version": "0.1.8",
    "project_urls": {
        "Documentation": "https://github.com/FriedLabJHU/FragPipe-Limited-Proteolysis-Processor#readme",
        "Issues": "https://github.com/FriedLabJHU/FragPipe-Limited-Proteolysis-Processorissues",
        "Source": "https://github.com/FriedLabJHU/FragPipe-Limited-Proteolysis-Processor"
    },
    "split_keywords": [
        "bottom-up proteomics",
        " computational mass spectrometry",
        " differential analysis",
        " flippr",
        " fragpipe",
        " fragpipe analysis",
        " label-free",
        " label-free quantification",
        " lfq",
        " limited proteolysis",
        " lip-ms",
        " proteomics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aea95b26a6bfb63dd26d67b00fabb8cadf104d6a1c35fc847d34d428eb126ba0",
                "md5": "ea8efaed2edcf0c864babf7d461912c3",
                "sha256": "c3aa345db64a99879ffe297cfd9db8aa7802c9902f352d6a838648e6a6472227"
            },
            "downloads": -1,
            "filename": "flippr-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ea8efaed2edcf0c864babf7d461912c3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 21982,
            "upload_time": "2024-09-03T19:25:35",
            "upload_time_iso_8601": "2024-09-03T19:25:35.468851Z",
            "url": "https://files.pythonhosted.org/packages/ae/a9/5b26a6bfb63dd26d67b00fabb8cadf104d6a1c35fc847d34d428eb126ba0/flippr-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "320191f1c5d402c193c0077fa7dd6231861b9ec7dc30e7b7f5fc5516dec32d36",
                "md5": "a67a53be5415a3c0c0e24329feaedbc5",
                "sha256": "2bbcaa61b10b15db9c84e2e9b70b8f7d0a2b9aee803b64dac7b9ac67d016c5a0"
            },
            "downloads": -1,
            "filename": "flippr-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "a67a53be5415a3c0c0e24329feaedbc5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 113828,
            "upload_time": "2024-09-03T19:25:36",
            "upload_time_iso_8601": "2024-09-03T19:25:36.723271Z",
            "url": "https://files.pythonhosted.org/packages/32/01/91f1c5d402c193c0077fa7dd6231861b9ec7dc30e7b7f5fc5516dec32d36/flippr-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-03 19:25:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "FriedLabJHU",
    "github_project": "FragPipe-Limited-Proteolysis-Processor#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "flippr"
}
        
Elapsed time: 0.34549s