agentsclimarketplace

Quality control sample designation

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/quality-control-sample-designation

Use when when importing a new batch of centroided mzML or mzXML LC-MS files into MetCohort, before any data alignment or feature detection is performed. At least one file must be designated as QC to enable ROA detection and alignment;From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill quality-control-sample-designation

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

  • 15 stars15 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 file declares

Copied from the file, not written here

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

6.7 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

quality-control-sample-designation

Summary

Designation of quality control (QC) files from a cohort of LC-MS raw data files prior to retention time alignment and feature detection. QC files are used to construct the region-of-alignment (ROA) matrix and determine feature ranges, making their selection critical for downstream data correction and peak detection accuracy.

When to use

When importing a new batch of centroided mzML or mzXML LC-MS files into MetCohort, before any data alignment or feature detection is performed. At least one file must be designated as QC to enable ROA detection and alignment; users should label all QC files (or representative QC files if a subset) to ensure robust alignment reference selection.

When NOT to use

  • If all samples are biological/experimental samples with no QC replicates — at least one QC file is mandatory for MetCohort processing
  • If raw data files are not centroided or are in formats other than mzML/mzXML — MetCohort requires pre-processed centroided data
  • If the experiment does not require retention time alignment or ROI-based feature detection — QC designation is specific to MetCohort's workflow

Inputs

  • Centroided LC-MS raw data files (mzML or mzXML format)
  • Sample metadata or experimental design indicating which files are quality control samples

Outputs

  • Labelled QC file set registered in MetCohort project
  • Reference file designation for ROA detection
  • ROA matrix constructed from QC file data

How to apply

During the Data Import stage in MetCohort, upload all pending LC-MS files (in mzML or mzXML format) to the window and explicitly label the files that represent quality control samples. The software uses labelled QC files to perform ROI detection, which determines the construction of the ROA matrix and establishes the retention time and m/z ranges for features. When selecting a reference file for retention time alignment in the subsequent Data Alignment stage, choose from the labelled QC files. For large-scale analyses, users may select only representative QC files rather than all available samples, balancing computational efficiency with alignment robustness. The choice of reference file can affect alignment results, so it is recommended to inspect the retention time deviation plot after alignment to verify data quality.

Related tools

Evaluation signals

  • At least one file is successfully labelled as QC in the MetCohort interface
  • ROA detection proceeds without error on the selected QC files
  • Retention time deviation plot can be generated and exported, showing expected alignment behavior (near 0 or regular fluctuation) for QC files
  • Feature table is generated with high quality, indicating low false positive and false negative rates
  • Abnormal files are identifiable in the deviation plot and can be investigated or excluded from downstream analysis

Limitations

  • QC file selection significantly influences retention time alignment quality; poor QC file choice or contaminated QC samples can lead to misalignment and reduced feature detection accuracy
  • For experiments with very short dead times (< 30 seconds), the default ROA window width must be adjusted, which may require reconsidering which files serve as robust QC references
  • If QC files contain noisy or significantly degraded data, the ROA matrix may be constructed poorly, leading to warnings during LOWESS fitting and incorrect feature boundaries
  • The same reference file should ideally be used for both raw data alignment and feature detection to maintain consistency; switching reference files between stages can reduce feature matching reliability

Evidence

  • [intro] At least one file need to be specified as quality control (QC) file.: "At least one file need to be specified as quality control (QC) file."
  • [readme] In Data Import stage, all the pending files (in mzML or mzXML format) need to be uploaded to the window. The QC files can be labelled. ROI detection is only performed on the labelled QC files, which determine the construction of ROI matrix and ranges of features.: "In Data Import stage, all the pending files (in mzML or mzXML format) need to be uploaded to the window. The QC files can be labelled. ROI detection is only performed on the labelled QC files, which"
  • [readme] Users can select all the files as QC or only the representative files.: "Users can select all the files as QC or only the representative files."
  • [readme] In Data Alignment stage, users should select one reference file from labelled QC files for ROA detection. Changing the reference file may change the alignment results.: "In Data Alignment stage, users should select one reference file from labelled QC files for ROA detection. Changing the reference file may change the alignment results."
  • [readme] Inspecting the deviation plot can help identify abnormal files. Upon examining the TICs (Total Ion Chromatograms) of the files, it was found that the abnormal files contained significantly noisy data.: "Upon examining the TICs (Total Ion Chromatograms) of the files, it was found that the abnormal files contained significantly noisy data."

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 325,949. 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.