Skip to main content

No project description provided

Project description

# msconvert-py

A python wrapper for the [pwiz/msconvert docker image](https://hub.docker.com/r/proteowizard/pwiz-skyline-i-agree-to-the-vendor-licenses).

# Why?

In my personal experience running the docker container directly may cause some problems:

  • On large machines the containers eat up 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 and 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 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 +8G memory.

  • The containers run concurrent, per default up to the number of cores.

  • Containers are only started as soon as there is memory available as defined to the memory limit.

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

msconvert-1.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msconvert-1.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file msconvert-1.2.tar.gz.

File metadata

  • Download URL: msconvert-1.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for msconvert-1.2.tar.gz
Algorithm Hash digest
SHA256 dd8d8479d389c8a194075d0af98a8c4e5f6a85d760800fbe9483581429cdaeaf
MD5 8e618a836d198e4bf428aa44135c440e
BLAKE2b-256 46c729893ced80810f24d2dab206c126f7366f8e3fbc35abd87a8645d1c1b7bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for msconvert-1.2.tar.gz:

Publisher: python-publish.yml on z3rone-org/msconvert-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file msconvert-1.2-py3-none-any.whl.

File metadata

  • Download URL: msconvert-1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for msconvert-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d818ff9f65b860bb635ae5420db2f8579c750a4ec6c8a20200cf561f08532d8b
MD5 f082023369600441c266e56fcf85a4bc
BLAKE2b-256 b9705eb420c873a3ec8d331b1f5ce5a02dd1e64b9e445caf2e6336c7c6578115

See more details on using hashes here.

Provenance

The following attestation bundles were made for msconvert-1.2-py3-none-any.whl:

Publisher: python-publish.yml on z3rone-org/msconvert-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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