shuzhao-li-lab / PythonCentricPipelineForMetabolomics

Python pipeline for metabolomics data preprocessing, QC, standardization and annotation
Other
9 stars 0 forks source link

multi-core processing for map_ms2 #74

Open YasinEl opened 3 months ago

YasinEl commented 3 months ago

It would be great to be able to use multi-core processing with something like

pcpfm map_ms2 -i ./pcpfm_experiment/ -em full -nm full_w_MS2 --cores 40 --ms2_dir pcpfm_experiment/ms2_acquisitions/

which at least for me uses only a single core. Thank you.

I am under Ubuntu 20.04.6 LTS.

jmmitc06 commented 3 months ago

Thanks, this step is only single threaded; however, it would be somewhat trivial to do each MS2 containing acquisition as a separate process. I'll look into this for the next version. Thanks for the suggestion.