Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate .imzml extraction using timsconvert package #14

Open
alex-l-kong opened this issue Oct 12, 2023 · 0 comments · May be fixed by #21
Open

Automate .imzml extraction using timsconvert package #14

alex-l-kong opened this issue Oct 12, 2023 · 0 comments · May be fixed by #21
Assignees
Labels
enhancement New feature or request

Comments

@alex-l-kong
Copy link
Contributor

alex-l-kong commented Oct 12, 2023

Is your feature request related to a problem? Please describe.

Currently, the extraction of .imzml files is dependent on uploading to SCiLs, which may take several hours for large .d files. Using the timsconvert package, we can optimize this process up to 5x.

Describe the solution you'd like

Programmatically, timsconvert runs as a CLI tool:

timsconvert --input "{path to .d dir}" --compression="none"

We can use the subprocess library in Python to mimic this call.

Describe alternatives you've considered

Stick with SCiLs. This is becoming too much of a burden.

Additional context

This tool unfortunately does not run on Mac. Users will need to TeamViewer into the MALDI/MALDI-processor computers to run this. Fortunately, we can easily get those repos set up on those computers so people don't have to mount the NAS folders locally. Unfortunately, this extraction will still be limited to the MALDI/MALDI-processor computers themselves.

The MALDI notebook is becoming bloated, we should strongly consider splitting this up. At the very least, separate notebooks for extraction and analysis (not unlike ark-analysis).

@alex-l-kong alex-l-kong added the enhancement New feature or request label Oct 12, 2023
@alex-l-kong alex-l-kong self-assigned this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant