tmtcrunch


Nametmtcrunch JSON
Version 2024.12.18 PyPI version JSON
download
home_pageNone
SummaryPython utility for TMT-based proteomics
upload_time2024-12-17 21:25:41
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseBSD-3-Clause
keywords proteomics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TMTCrunch

TMTCrunch is an open-source Python utility for analysis of tandem mass tag (TMT) proteomics data with the focus on protein isoforms resulting from alternative spicing.

## Istallation

### Installing from PyPI
The latest released version can be installed from the [Python Package Index](https://pypi.org/project/tmtcrunch):
```shell
pip install tmtcrunch
```

### Installing from source
The development version can be installed directly from the source repository:
```shell
pip install https://codeberg.org/makc/tmtcrunch.git
```

## Dependencies
TMTCrunch relies on the following Python packages:
- [numpy](https://pypi.org/project/numpy/)
- [pandas](https://pypi.org/project/pandas/)
- [pyteomics](https://pypi.org/project/pyteomics/)
- [tomli](https://pypi.org/project/tomli/) (required only for Python < 3.11)
and it would use statistics functions from [astropy](https://pypi.org/project/astropy/) package if available.

## Command line options
```
usage: tmtcrunch [-h] [--specimen-tags SPECIMEN_TAGS] [--gis-tags GIS_TAGS]
                 [--cfg CFG] [--output-dir OUTPUT_DIR] [--output-prefix OUTPUT_PREFIX]
                 [--keep-columns KEEP_COLUMNS [KEEP_COLUMNS ...]] [--verbose {0,1,2}]
                 [--version]
                 file [file ...]

positional arguments:
  file                  Scavager *_PSMs_full.tsv files.

options:
  -h, --help            show this help message and exit
  --specimen-tags SPECIMEN_TAGS
                        Comma-separated sequence of specimen TMT tags.
  --gis-tags GIS_TAGS   Comma-separated sequence of GIS TMT tags.
  --cfg CFG             Path to configuration file.
  --output-dir OUTPUT_DIR, --odir OUTPUT_DIR
                        Existing output directory. Default is current directory.
  --output-prefix OUTPUT_PREFIX, --oprefix OUTPUT_PREFIX
                        Prefix for output files. Default is 'tmtcrunch_'.
  --keep-columns KEEP_COLUMNS [KEEP_COLUMNS ...]
                        Extra columns from input files to keep in output files.
  --verbose {0,1,2}     Logging verbosity. Default is 1.
  --version             Output version information and exit.
```

## Configuration file
TMTCrunch stores its configuration in [TOML](https://toml.io) format.

Default TMTCrunch configuration:
```TOML
# Specimen TMT labels.
specimen_tags = ['127C', '127N', '128C', '128N', '129C', '129N', '130C', '130N', '131']
# Global internal standard (GIS) TMT labels.
gis_tags = ['126', '131C']

# Prefix of decoy proteins.
decoy_prefix = 'DECOY_'

# List of column names from input files to save in the output.
keep_columns = []

# If true, perform PSM groupwise analysis.
groupwise = true

# Keys below are only applicable if groupwise analysis is requested.

# Prefixes of target proteins. If not set, `target_prefixes` will be deduced
# from the prefixes of PSM groups.
# target_prefixes = ['alt_', 'canon_']

# PSM group is named after its subkey and defined by three keys:
# `descr` - group description
# `prefixes` - prefixes of target proteins
# `fdr` - groupwise false discovery rate

# Isoform PSMs: protein group of each PSM should consist of proteins
# with 'alt_' prefix only.
[psm_group.isoform]
descr = 'Isoform PSMs'
prefixes = [['alt_']]
fdr = 0.05

# Canonical PSMs: protein group of each PSM should consist of proteins
# with 'canon_' prefix only.
[psm_group.canon]
descr = 'Canonical PSMs'
prefixes = [['canon_']]
fdr = 0.01

# Shared PSMs: protein group of each PSM should consist both of
# 'canon_' and 'alt_' proteins.
[psm_group.shared]
descr = 'Shared PSMs'
prefixes = [['canon_', 'alt_']]
fdr = 0.01
```

## License
TMTCrunch is distributed under a BSD License.

## Related software
 - [Pyteomics](https://github.com/levitsky/pyteomics) - Python framework for proteomics data analysis.
 - [IdentiPy](https://github.com/levitsky/identipy) - search engine for bottom-up proteomics.
 - [Scavager](https://github.com/markmipt/scavager) - proteomics post-search validation tool.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "tmtcrunch",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Max Brazhnikov <makc@issp.ac.ru>",
    "keywords": "proteomics",
    "author": null,
    "author_email": "Max Brazhnikov <makc@issp.ac.ru>",
    "download_url": "https://files.pythonhosted.org/packages/03/2c/647b6dfddf513cbe3f6968a1f646655de492b145664384aef7895277dc79/tmtcrunch-2024.12.18.tar.gz",
    "platform": null,
    "description": "# TMTCrunch\n\nTMTCrunch is an open-source Python utility for analysis of tandem mass tag (TMT) proteomics data with the focus on protein isoforms resulting from alternative spicing.\n\n## Istallation\n\n### Installing from PyPI\nThe latest released version can be installed from the [Python Package Index](https://pypi.org/project/tmtcrunch):\n```shell\npip install tmtcrunch\n```\n\n### Installing from source\nThe development version can be installed directly from the source repository:\n```shell\npip install https://codeberg.org/makc/tmtcrunch.git\n```\n\n## Dependencies\nTMTCrunch relies on the following Python packages:\n- [numpy](https://pypi.org/project/numpy/)\n- [pandas](https://pypi.org/project/pandas/)\n- [pyteomics](https://pypi.org/project/pyteomics/)\n- [tomli](https://pypi.org/project/tomli/) (required only for Python < 3.11)\nand it would use statistics functions from [astropy](https://pypi.org/project/astropy/) package if available.\n\n## Command line options\n```\nusage: tmtcrunch [-h] [--specimen-tags SPECIMEN_TAGS] [--gis-tags GIS_TAGS]\n                 [--cfg CFG] [--output-dir OUTPUT_DIR] [--output-prefix OUTPUT_PREFIX]\n                 [--keep-columns KEEP_COLUMNS [KEEP_COLUMNS ...]] [--verbose {0,1,2}]\n                 [--version]\n                 file [file ...]\n\npositional arguments:\n  file                  Scavager *_PSMs_full.tsv files.\n\noptions:\n  -h, --help            show this help message and exit\n  --specimen-tags SPECIMEN_TAGS\n                        Comma-separated sequence of specimen TMT tags.\n  --gis-tags GIS_TAGS   Comma-separated sequence of GIS TMT tags.\n  --cfg CFG             Path to configuration file.\n  --output-dir OUTPUT_DIR, --odir OUTPUT_DIR\n                        Existing output directory. Default is current directory.\n  --output-prefix OUTPUT_PREFIX, --oprefix OUTPUT_PREFIX\n                        Prefix for output files. Default is 'tmtcrunch_'.\n  --keep-columns KEEP_COLUMNS [KEEP_COLUMNS ...]\n                        Extra columns from input files to keep in output files.\n  --verbose {0,1,2}     Logging verbosity. Default is 1.\n  --version             Output version information and exit.\n```\n\n## Configuration file\nTMTCrunch stores its configuration in [TOML](https://toml.io) format.\n\nDefault TMTCrunch configuration:\n```TOML\n# Specimen TMT labels.\nspecimen_tags = ['127C', '127N', '128C', '128N', '129C', '129N', '130C', '130N', '131']\n# Global internal standard (GIS) TMT labels.\ngis_tags = ['126', '131C']\n\n# Prefix of decoy proteins.\ndecoy_prefix = 'DECOY_'\n\n# List of column names from input files to save in the output.\nkeep_columns = []\n\n# If true, perform PSM groupwise analysis.\ngroupwise = true\n\n# Keys below are only applicable if groupwise analysis is requested.\n\n# Prefixes of target proteins. If not set, `target_prefixes` will be deduced\n# from the prefixes of PSM groups.\n# target_prefixes = ['alt_', 'canon_']\n\n# PSM group is named after its subkey and defined by three keys:\n# `descr` - group description\n# `prefixes` - prefixes of target proteins\n# `fdr` - groupwise false discovery rate\n\n# Isoform PSMs: protein group of each PSM should consist of proteins\n# with 'alt_' prefix only.\n[psm_group.isoform]\ndescr = 'Isoform PSMs'\nprefixes = [['alt_']]\nfdr = 0.05\n\n# Canonical PSMs: protein group of each PSM should consist of proteins\n# with 'canon_' prefix only.\n[psm_group.canon]\ndescr = 'Canonical PSMs'\nprefixes = [['canon_']]\nfdr = 0.01\n\n# Shared PSMs: protein group of each PSM should consist both of\n# 'canon_' and 'alt_' proteins.\n[psm_group.shared]\ndescr = 'Shared PSMs'\nprefixes = [['canon_', 'alt_']]\nfdr = 0.01\n```\n\n## License\nTMTCrunch is distributed under a BSD License.\n\n## Related software\n - [Pyteomics](https://github.com/levitsky/pyteomics) - Python framework for proteomics data analysis.\n - [IdentiPy](https://github.com/levitsky/identipy) - search engine for bottom-up proteomics.\n - [Scavager](https://github.com/markmipt/scavager) - proteomics post-search validation tool.\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Python utility for TMT-based proteomics",
    "version": "2024.12.18",
    "project_urls": {
        "homepage": "https://codeberg.org/makc/tmtcrunch",
        "repository": "https://codeberg.org/makc/tmtcrunch.git"
    },
    "split_keywords": [
        "proteomics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0d90a07956a2f661c95b01a218ff8a8216be944fcfe0fc3d476c06d79339d5ee",
                "md5": "b1353ddff4a07bd74f586e907b37cea0",
                "sha256": "815905b3264dae404c0e79b8ef541e54fbed77ccd28a07ee011d7e7b28bd606f"
            },
            "downloads": -1,
            "filename": "tmtcrunch-2024.12.18-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b1353ddff4a07bd74f586e907b37cea0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 17645,
            "upload_time": "2024-12-17T21:25:38",
            "upload_time_iso_8601": "2024-12-17T21:25:38.786951Z",
            "url": "https://files.pythonhosted.org/packages/0d/90/a07956a2f661c95b01a218ff8a8216be944fcfe0fc3d476c06d79339d5ee/tmtcrunch-2024.12.18-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "032c647b6dfddf513cbe3f6968a1f646655de492b145664384aef7895277dc79",
                "md5": "2b0e2daaeda88ea8b70f24a942959cbd",
                "sha256": "e51d7ffd227d646f049506c3e91f6511f8b2458e095160ed3aad078ec0c37827"
            },
            "downloads": -1,
            "filename": "tmtcrunch-2024.12.18.tar.gz",
            "has_sig": false,
            "md5_digest": "2b0e2daaeda88ea8b70f24a942959cbd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 17036,
            "upload_time": "2024-12-17T21:25:41",
            "upload_time_iso_8601": "2024-12-17T21:25:41.551618Z",
            "url": "https://files.pythonhosted.org/packages/03/2c/647b6dfddf513cbe3f6968a1f646655de492b145664384aef7895277dc79/tmtcrunch-2024.12.18.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 21:25:41",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": true,
    "codeberg_user": "makc",
    "codeberg_project": "tmtcrunch",
    "lcname": "tmtcrunch"
}
        
Elapsed time: 0.37494s