A Python wrapper for the pwiz/msconvert docker image.
Why?
In my personal experience, running the docker container directly may cause some problems:
On large machines, the containers consume a lot of memory because the garbage collection rarely kicks in.
Memory seems to leak when rescoring multiple files in one msconvert run.
Limiting the memory usage is difficult because conversion may require somewhere between ~3G and ~30G.
The conversion is single-threaded.
How to Run
Install the package via:
pip install msconvert
Pull the docker image:
docker pull chambm/pwiz-skyline-i-agree-to-the-vendor-licenses:latest
Run it via:
python -m msconvert
By default, the module will convert every *.raw file in the current directory to .mgf. However, there are other options available:
-i: Input path (default is current directory)
--input-format: Input format (default raw)
--output-format: Output format (default mgf)
--concurrency: Concurrency (default is the number of cores)
How it Works
msconvert-py runs each conversion in a dedicated docker container.
Each container is initially limited to 3G memory.
When a container fails due to an out-of-memory kill, it will be re-run with an additional 8G memory.
The containers run concurrently, by default up to the number of cores.
Containers are only started when memory is available within the defined memory limit.
Metadata
Release files for msconvert 1.3.post3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| msconvert-1.3.post3.tar.gz | 16.9 kB | With provenance | Details for msconvert-1.3.post3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| msconvert-1.3.post3-py3-none-any.whl | Python 3 | none | any | Details for msconvert-1.3.post3-py3-none-any.whl |
Total release size: 33.6 kB
Release files / msconvert-1.3.post3.tar.gz
| Download URL | msconvert-1.3.post3.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
057869e26a3ecebdf02ea368ee0af68da7a5e65e5003f27e469fb25684dffd6a
|
|
BLAKE2b-256 checksum How to use checksums |
e8845ef86b2124c69d63bd4ad7546b9dc0c23475b4f77b15e0ee5bc7c628a562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2024.
Transparency logRelease files / msconvert-1.3.post3-py3-none-any.whl
| Download URL | msconvert-1.3.post3-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
483c561d5dd20d7c66e37e0edf4de6f7a913033f397c2230014572a13a3863f6
|
|
BLAKE2b-256 checksum How to use checksums |
a08d7772949f9e52d862aae627f5f68396adf32b28671e7b0ec32bb40283421e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2024.
Transparency logSecurity for msconvert 1.3.post3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for msconvert-1.3.post3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2024.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.