command-line-pipeline-execution-and-runtime-benchmarking
Summary
Execute a fully automated command-line pipeline on FT-ICR MS data and measure wall-clock runtime across sample-size conditions to validate that observed performance matches published benchmarks. This skill verifies reproducibility of computational efficiency claims by comparing empirical runtimes against reference thresholds.
When to use
When you have peak-abundance .csv files and assigned molecular formula data from FT-ICR MS preprocessing, and you need to verify that a published pipeline's runtime claims (e.g., '<1 min for 40 samples', '~2 min for 120 samples') hold true on your own datasets or reference datasets. Use this skill when computational efficiency is a selection criterion or a reproducibility target.
When NOT to use
- If raw FT-ICR MS spectra preprocessing is required; MetaboDirect does not provide raw spectra data preprocessing.
- If your datasets lack pre-assigned molecular formulas; the pipeline accepts only peak abundance and assigned molecular formula data.
- If you need to benchmark individual filter steps or sub-tasks in isolation; this skill measures end-to-end main pipeline runtime only.
Inputs
- Peak-abundance .csv files (average ~1025 peaks per sample)
- Assigned molecular formula data (.csv format with elemental composition)
- MetaboDirect v0.3.4 or later (cloned from GitHub)
- Python 3.8+ and R 4.0+ environments
Outputs
- Wall-clock runtime in seconds for pipeline execution
- Output .csv files (data matrices, transformed features, analysis results)
- Visualization files (Van Krevelen diagrams, elemental/molecular class composition plots)
- Runtime comparison report against reference benchmarks
How to apply
Clone the pipeline repository and install Python dependencies (NumPy, pandas, seaborn, py4cytoscape, matplotlib) and R libraries (vegan, SYNCSA, tidyverse, RColorBrewer, etc.). Obtain or download peak-abundance .csv files with assigned molecular formulas from public repositories (e.g., OSF). Execute the main pipeline via command-line interface with default parameters, excluding optional steps (e.g., KEGG database queries or transformation network calculation) unless benchmarking the full pipeline. Record wall-clock runtime in seconds using system timing utilities (e.g., Unix time command). Verify that all expected output .csv files and visualization files are generated without errors. Compare observed runtime against reference benchmarks; for the bacterium-phage dataset (36 samples, ~495 assigned molecular formulas per sample), expect ~36 seconds for main pipeline steps.
Related tools
- MetaboDirect (Command-line pipeline for automated analysis and visualization of FT-ICR MS data; executed to measure runtime performance) — https://github.com/Coayala/MetaboDirect
- Python 3.8 (Runtime environment and dependency management for MetaboDirect execution)
- R 4.0.2 (Statistical and visualization environment required by MetaboDirect R modules (vegan, SYNCSA, tidyverse))
- NumPy, pandas (Python dependencies for data manipulation and matrix operations in MetaboDirect pipeline)
- vegan, SYNCSA (R packages for chemodiversity analysis and multivariate statistics within MetaboDirect)
Examples
time metabodirect -i peak_abundance.csv -f molecular_formulas.csv -o output_dir
Evaluation signals
- Wall-clock runtime for bacterium-phage dataset (36 samples, ~495 assigned formulas per sample) is approximately 36 seconds (or <1 min as published).
- All expected output .csv files are generated without errors during pipeline execution.
- All visualization files (Van Krevelen diagrams, elemental composition plots) are successfully created.
- Observed runtime falls within or below published reference benchmarks for the same sample size and peak/formula count.
- No runtime warnings, missing file errors, or incomplete data matrix outputs are reported in standard output or logs.
Limitations
- MetaboDirect does not provide raw spectra data preprocessing; input data must already be peak-detected and molecular formulas must be pre-assigned (typically via separate MS processing software).
- Benchmark times may vary depending on hardware specifications (CPU, RAM), which should be documented alongside runtime measurements.
- KEGG database queries and transformation network calculation are optional steps that significantly increase runtime; published benchmarks exclude these, so runtime cannot be fairly compared if they are included.
- Pipeline runtime is sensitive to the number of detected peaks and formula assignments per sample; datasets with very high peak counts may not match published benchmarks for smaller datasets.
Evidence
- [other] Execute the main MetaboDirect pipeline using the command-line interface with default parameters for data pre-processing, data diagnostics, data exploration, and chemodiversity analysis, excluding KEGG database queries and transformation network calculation.: "Execute the main MetaboDirect pipeline using the command-line interface with default parameters for data pre-processing, data diagnostics, data exploration, and chemodiversity analysis, excluding"
- [other] Record wall-clock runtime (seconds) for the phage dataset execution and the S. fallax leachate dataset execution using system timing utilities.: "Record wall-clock runtime (seconds) for the phage dataset execution and the S. fallax leachate dataset execution using system timing utilities."
- [other] For the bacterium-phage dataset (36 samples with average 495 assigned molecular formulas per sample), the main MetaboDirect pipeline steps without KEGG mapping or transformation network calculation completed in less than 1 min (~36 s).: "For the bacterium-phage dataset (36 samples with average 495 assigned molecular formulas per sample), the main MetaboDirect pipeline steps without KEGG mapping or transformation network calculation"
- [results] 40 samples were processed in less than 1 min whereas 120 samples took as little as 2 min to generate all the figures, plots, and outputs.: "40 samples were processed in less than 1 min whereas 120 samples took as little as 2 min to generate all the figures, plots, and outputs"
- [methods] MetaboDirect does not provide raw spectra data preprocessing.: "MetaboDirect does not provide raw spectra data preprocessing"
- [readme] MetaboDirect requires Python (3.5 and above), R (4 and above) and Cytoscape (3.8 and above) with the following libraries/modules.: "MetaboDirect requires Python (3.5 and above), R (4 and above) and Cytoscape (3.8 and above) with the following libraries/modules"
1---2name: command-line-pipeline-execution-and-runtime-benchmarking3description: Use when when you have peak-abundance .csv files and assigned molecular formula data from FT-ICR MS preprocessing, and you need to verify that a published pipeline's runtime claims (e.g., '<1 min for 40 samples', '~2 min for 120 samples') hold true on your own datasets or reference datasets.4license: CC-BY-4.05---67# command-line-pipeline-execution-and-runtime-benchmarking89## Summary1011Execute a fully automated command-line pipeline on FT-ICR MS data and measure wall-clock runtime across sample-size conditions to validate that observed performance matches published benchmarks. This skill verifies reproducibility of computational efficiency claims by comparing empirical runtimes against reference thresholds.1213## When to use1415When you have peak-abundance .csv files and assigned molecular formula data from FT-ICR MS preprocessing, and you need to verify that a published pipeline's runtime claims (e.g., '<1 min for 40 samples', '~2 min for 120 samples') hold true on your own datasets or reference datasets. Use this skill when computational efficiency is a selection criterion or a reproducibility target.1617## When NOT to use1819- If raw FT-ICR MS spectra preprocessing is required; MetaboDirect does not provide raw spectra data preprocessing.20- If your datasets lack pre-assigned molecular formulas; the pipeline accepts only peak abundance and assigned molecular formula data.21- If you need to benchmark individual filter steps or sub-tasks in isolation; this skill measures end-to-end main pipeline runtime only.2223## Inputs2425- Peak-abundance .csv files (average ~1025 peaks per sample)26- Assigned molecular formula data (.csv format with elemental composition)27- MetaboDirect v0.3.4 or later (cloned from GitHub)28- Python 3.8+ and R 4.0+ environments2930## Outputs3132- Wall-clock runtime in seconds for pipeline execution33- Output .csv files (data matrices, transformed features, analysis results)34- Visualization files (Van Krevelen diagrams, elemental/molecular class composition plots)35- Runtime comparison report against reference benchmarks3637## How to apply3839Clone the pipeline repository and install Python dependencies (NumPy, pandas, seaborn, py4cytoscape, matplotlib) and R libraries (vegan, SYNCSA, tidyverse, RColorBrewer, etc.). Obtain or download peak-abundance .csv files with assigned molecular formulas from public repositories (e.g., OSF). Execute the main pipeline via command-line interface with default parameters, excluding optional steps (e.g., KEGG database queries or transformation network calculation) unless benchmarking the full pipeline. Record wall-clock runtime in seconds using system timing utilities (e.g., Unix `time` command). Verify that all expected output .csv files and visualization files are generated without errors. Compare observed runtime against reference benchmarks; for the bacterium-phage dataset (36 samples, ~495 assigned molecular formulas per sample), expect ~36 seconds for main pipeline steps.4041## Related tools4243- **MetaboDirect** (Command-line pipeline for automated analysis and visualization of FT-ICR MS data; executed to measure runtime performance) — https://github.com/Coayala/MetaboDirect44- **Python 3.8** (Runtime environment and dependency management for MetaboDirect execution)45- **R 4.0.2** (Statistical and visualization environment required by MetaboDirect R modules (vegan, SYNCSA, tidyverse))46- **NumPy, pandas** (Python dependencies for data manipulation and matrix operations in MetaboDirect pipeline)47- **vegan, SYNCSA** (R packages for chemodiversity analysis and multivariate statistics within MetaboDirect)4849## Examples5051```52time metabodirect -i peak_abundance.csv -f molecular_formulas.csv -o output_dir53```5455## Evaluation signals5657- Wall-clock runtime for bacterium-phage dataset (36 samples, ~495 assigned formulas per sample) is approximately 36 seconds (or <1 min as published).58- All expected output .csv files are generated without errors during pipeline execution.59- All visualization files (Van Krevelen diagrams, elemental composition plots) are successfully created.60- Observed runtime falls within or below published reference benchmarks for the same sample size and peak/formula count.61- No runtime warnings, missing file errors, or incomplete data matrix outputs are reported in standard output or logs.6263## Limitations6465- MetaboDirect does not provide raw spectra data preprocessing; input data must already be peak-detected and molecular formulas must be pre-assigned (typically via separate MS processing software).66- Benchmark times may vary depending on hardware specifications (CPU, RAM), which should be documented alongside runtime measurements.67- KEGG database queries and transformation network calculation are optional steps that significantly increase runtime; published benchmarks exclude these, so runtime cannot be fairly compared if they are included.68- Pipeline runtime is sensitive to the number of detected peaks and formula assignments per sample; datasets with very high peak counts may not match published benchmarks for smaller datasets.6970## Evidence7172- [other] Execute the main MetaboDirect pipeline using the command-line interface with default parameters for data pre-processing, data diagnostics, data exploration, and chemodiversity analysis, excluding KEGG database queries and transformation network calculation.: "Execute the main MetaboDirect pipeline using the command-line interface with default parameters for data pre-processing, data diagnostics, data exploration, and chemodiversity analysis, excluding"73- [other] Record wall-clock runtime (seconds) for the phage dataset execution and the S. fallax leachate dataset execution using system timing utilities.: "Record wall-clock runtime (seconds) for the phage dataset execution and the S. fallax leachate dataset execution using system timing utilities."74- [other] For the bacterium-phage dataset (36 samples with average 495 assigned molecular formulas per sample), the main MetaboDirect pipeline steps without KEGG mapping or transformation network calculation completed in less than 1 min (~36 s).: "For the bacterium-phage dataset (36 samples with average 495 assigned molecular formulas per sample), the main MetaboDirect pipeline steps without KEGG mapping or transformation network calculation"75- [results] 40 samples were processed in less than 1 min whereas 120 samples took as little as 2 min to generate all the figures, plots, and outputs.: "40 samples were processed in less than 1 min whereas 120 samples took as little as 2 min to generate all the figures, plots, and outputs"76- [methods] MetaboDirect does not provide raw spectra data preprocessing.: "MetaboDirect does not provide raw spectra data preprocessing"77- [readme] MetaboDirect requires Python (3.5 and above), R (4 and above) and Cytoscape (3.8 and above) with the following libraries/modules.: "MetaboDirect requires Python (3.5 and above), R (4 and above) and Cytoscape (3.8 and above) with the following libraries/modules"