Python package to handle mztab files
Project description
mztabpy
Python library to handle mztab files. mzTab is a tab-delimited file format created by HUPO-PSI containing protein/peptide quantification and identification data.
Input
mztab_convert
mzTab
hdf5_search
HDF5
Output
mztab_convert
Metadata, protein, peptide, and PSM subtables(.csv
) or HDF5 file(.hdf5
) with the four parts of information.
hdf5_search
A dataframe that can be filtered or already filtered based on the condition.
Usage
mztab_convert
python mztabpy_click.py mztab_convert --mztab_path {mztab_path} --directory {result folder} --type {result type} --section {section of the mzTab} --removemeta {True or False}
hdf5_search
python mztabpy_click.py hdf5_search --hdf5_path {hdf5_path} --subtable {section of the mzTab} --where {filtering condition}
Parameters
mztab_convert
- --mztab_path: The path to mzTab
- --directory: Folder to result files. Default "./"
- --type: Result type(
"tsv"
,"hdf5"
or"all"
). Default "all" - --section: Indicates the data section of the mzTab that is required.
"all"
,"protein"
,"peptide"
or"psm"
.Default "all" - --removemeta: Whether to remove
metadata
. Default False
hdf5_search
- --hdf5_path: Path to HDF5
- --section: Indicates the data section of the mzTab that is required.
"protein"
,"peptide"
or"psm"
. - --where: The filtering condition of the corresponding chunk is expressed as the key-value pair in one string, e.g.
"accession:P45464,sequence:TIQQGFEAAK"
, default None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mztabpy-0.0.1.tar.gz
.
File metadata
- Download URL: mztabpy-0.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68e9ddb22f2e650b5fa67aa926b8bbf956e24c748171d1935fcfb7a81fc41553 |
|
MD5 | 53dbf02811416d4d610a800ef68a6103 |
|
BLAKE2b-256 | 11505fbba833980079354689db98b7bafa7b4e9d8de120e0bd074303f8204932 |
File details
Details for the file mztabpy-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: mztabpy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41a842fd736548c5f433d7f4186e583991504131bdafc73422a7c33a93317845 |
|
MD5 | 9b2c4c4665ccfe21ed967e106fb6c2b4 |
|
BLAKE2b-256 | d04500efbeab088591760fd3c7e9fc1be34afa0cc7afc2c9196370a8b3825596 |