agentsclimarketplace

Cross tool performance comparison

Skill HolobiomicsLab/asb-skill-collections/packs/metabolomics/lc-ms/skills/cross-tool-performance-comparison

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill cross-tool-performance-comparison

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when when you have raw tandem MS metabolomics data in vendor formats (.

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

11.0 KB, ~2.1k tokens by cl100k_base, as published. Nobody here has run it

cross-tool-performance-comparison

Summary

Execute multiple tandem mass spectra clustering tools (msCluster, Falcon, MaRaCluster) on identical metabolomics datasets and standardize their outputs to enable direct quantitative comparison of runtime, memory, and clustering quality metrics. This skill enables practitioners to benchmark tool performance and select the most appropriate clustering method for their specific metabolomics application.

When to use

When you have raw tandem MS metabolomics data in vendor formats (.raw) or standard formats (mzML, MGF) and need to evaluate which clustering tool—msCluster, Falcon, or MaRaCluster—produces the best clustering quality (silhouette score, Davies–Bouldin index, purity) and performance (runtime, memory usage) for your dataset. This skill is essential when tool selection is uncertain or when standardized benchmarking is required for method validation.

When NOT to use

  • Input data are already validated, single-tool clustered results; if the goal is refinement of one tool's parameters rather than tool selection, use tool-specific tuning instead.
  • Dataset contains only a single MS/MS spectrum or fewer than ~100 spectra; benchmark metrics require sufficient statistical power and meaningful clustering structure.
  • Clustering results are in incompatible formats (non-canonical column names or missing retention time data); tool-specific post-processing must first standardize output before benchmarking.

Inputs

  • Raw tandem mass spectrometry data files (Thermo .raw, or vendor-specific formats)
  • Converted mzML or MGF format files
  • Post-processed cluster assignment files (one per tool) with columns: filename, scan, mass/precursor_mz, rt_time, cluster
  • Total MS/MS spectrum count for the dataset (integer)

Outputs

  • Standardized cluster assignment table (canonical format: filename, scan, mass, rt_time, cluster)
  • Evaluation metrics per tool (silhouette score, Davies–Bouldin index, purity)
  • Unified comparative performance report (runtime, memory usage, quality metrics across all tools)
  • Aggregated metrics table for cross-tool comparison

How to apply

First, convert raw MS data files to mzML or MGF format using msconvert or ThermoRawFileParser. Post-process clustering results from each tool to a canonical format with columns: 'filename', 'scan', 'mass' (or 'precursor_mz'), 'rt_time', and 'cluster'. For msCluster, use the GNPS 2.0 Classical Networking Workflow to generate clusterinfo.tsv; for Falcon, run the summarize_results utility script; for MaRaCluster, merge clustering output with retention time data from GNPS 2.0 PerScanSummarizer using the maracluster_processing script. Execute the Clustering_benchmark_MS_RT.py script specifying the cluster info file, total MS/MS count, tool name, and MS-RT tolerance (default 0.1). The script computes evaluation metrics (silhouette score, Davies–Bouldin index, purity) and generates a unified comparative report with runtime and memory usage for all tools. Judge success by verifying that all tools produce output in the canonical schema, metrics are computed without errors, and the comparative report shows interpretable performance differences.

Related tools

Examples

python3 src/Clustering_benchmark_MS_RT.py -c ./data/mscluster/mscluster_cluster_info.tsv -t 109333 -methods mscluster -tol 0.1

Evaluation signals

  • All post-processed cluster files contain the required canonical columns (filename, scan, mass, rt_time, cluster) with no missing values in the cluster column.
  • Evaluation metrics (silhouette score, Davies–Bouldin index, purity) are computed successfully for each tool without NaN or error values; values fall within expected ranges (silhouette: -1 to 1; Davies–Bouldin: typically 0–3 for reasonable clusterings).
  • Runtime and memory usage are logged and reported for each tool; reported values are non-negative and reasonable for the dataset size (e.g., memory usage < total available system RAM).
  • Comparative report shows interpretable performance differences: at least one tool has higher silhouette score or lower Davies–Bouldin index than others, indicating the benchmarking discriminated tool quality.
  • Total spectrum count in the output report matches the input -t parameter; cluster assignments reference only valid scan indices and filenames present in the input dataset.

Limitations

  • Benchmarking accuracy depends critically on correct post-processing of tool-specific outputs; errors in column mapping or missing retention time data will corrupt evaluation metrics.
  • Evaluation metrics (silhouette, Davies–Bouldin, purity) assume ground truth clustering or stable statistical properties; results may not be interpretable if the dataset has weak or ambiguous cluster structure.
  • MS-RT tolerance parameter (default 0.1) must be calibrated to the specific dataset and instrument; using an inappropriate tolerance will bias metrics and produce misleading tool comparisons.
  • Benchmarking assumes all tools are given identical input data and comparable parameter settings; unfair parameter tuning favoring one tool will invalidate cross-tool comparison.
  • Runtime and memory metrics are system-dependent and may vary significantly across computational environments; relative ranking of tools is more stable than absolute performance values.

Evidence

  • [other] tools to benchmark clustering tools for metabolomics datasets, implementing a harness that standardizes the evaluation process across tandem mass spectra clustering applications: "tools designed to benchmark clustering tools for metabolomics datasets, implementing a harness that standardizes the evaluation process across tandem mass spectra clustering applications"
  • [other] For each clustering tool in the suite, parse tool-specific parameter templates and input/output schemas. Execute each clustering tool against the same tandem-MS dataset(s) with configured parameters, capturing runtime logs and intermediate cluster assignments. Standardize cluster output formats to a canonical representation (e.g., cluster ID per spectrum). Compute evaluation metrics (silhouette score, Davies–Bouldin index, purity, or other comparative measures) for each tool's results. Aggregate metrics and tool performance summaries into a unified evaluation table.: "For each clustering tool in the suite, parse tool-specific parameter templates and input/output schemas. Execute each clustering tool against the same tandem-MS dataset(s) with configured parameters,"
  • [readme] For msCluster, you can use any processing protocol as long as the output file has the following column names: 'filename', 'scan', 'mass', 'rt_time', 'cluster': "the output file has the following column names: 'filename': #Filename; 'scan': #Scan; 'mass': #ParentMass; 'rt_time': #RetTime; 'cluster': #ClusterIdx"
  • [readme] To process the results from Falcon, use the provided script in this project to summarize and format the Falcon results. Script Location: src/utility/summarize_results. Command to Run the Script: python3 src/utility/summarize_results ./falcon.csv output_summary: "use the provided script in this project to summarize and format the Falcon results. Script Location: src/utility/summarize_results. Command to Run the Script: python3 src/utility/summarize_results"
  • [readme] Processing MaRaCluster results requires merging retention time information with the clustering results. Use the GNPS 2.0 PerScanSummarizer Workflow to extract retention time information. Use the provided script in this project to merge the retention time information with the MaRaCluster results.: "Processing MaRaCluster results requires merging retention time information with the clustering results. Use the GNPS 2.0 PerScanSummarizer Workflow to extract retention time information. Use the"
  • [readme] python3 src/Clustering_benchmark_MS_RT.py -c <cluster_info_file> -t <number_of_msms> -methods <clustering_method> [-tol <tolerance>]: "python3 src/Clustering_benchmark_MS_RT.py -c <cluster_info_file> -t <number_of_msms> -methods <clustering_method> [-tol <tolerance>]"
  • [readme] Before running the benchmarking script, ensure that the clustering results from msCluster, Falcon, and MaRaCluster have been post-processed and are in the required format: "ensure that the clustering results from msCluster, Falcon, and MaRaCluster have been post-processed and are in the required format"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.