agentsclimarketplace

Count verification and validation

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v1/skills/count-verification-and-validation

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 count-verification-and-validation

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 you have grouped unique 2D chemical structures by organism prevalence and need to confirm that the counts in each frequency bin (singleton, low-diversity, medium-diversity, high-diversity) match published or curated reference values.

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.0 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

Count Verification and Validation

Summary

Verify that binned frequency counts of unique chemical structures match gold-standard reference counts across organism-prevalence categories. This skill ensures data integrity in large structure-organism pair datasets by detecting discrepancies between computed and expected distributions.

When to use

Apply this skill when you have grouped unique 2D chemical structures by organism prevalence and need to confirm that the counts in each frequency bin (singleton, low-diversity, medium-diversity, high-diversity) match published or curated reference values. Use it as a final validation step after binning structure-organism pair data to detect loss, duplication, or miscategorization during processing.

When NOT to use

  • Input structures are already pre-binned or aggregated; you have only bin-level counts without raw pair data.
  • No gold-standard or reference counts are available for comparison; validation requires a target benchmark.
  • 3D structures or stereoisomer-resolved data; this skill is designed specifically for 2D structure-organism pairs.

Inputs

  • LOTUS 2D structure-organism pairs table (flat file format)
  • Gold-standard bin membership counts (reference values)

Outputs

  • Count verification report (TSV or JSON)
  • Bin membership counts by frequency category
  • Discrepancy log (deviations from gold-standard)
  • Summary statistics (per-bin counts and percentage agreement)

How to apply

Load the LOTUS 2D structure-organism pairs table and count unique structures in each of four frequency bins: singleton structures (appearing in 1 organism), low-diversity structures (2–10 organisms), medium-diversity structures (11–100 organisms), and high-diversity structures (>100 organisms). For each bin, compare the computed count against the gold-standard counts documented in the LOTUS publication. Generate a summary report listing bin membership counts and flagging any discrepancies. Document the nature and magnitude of deviations (e.g., percentage difference, absolute count difference) to assess whether further investigation into the processing pipeline is warranted.

Related tools

Examples

Rscript count_verification.R --input interim/tables/3_curated/table.tsv.gz --output validation/bin_counts.tsv --gold_standard docs/reference_counts.json

Evaluation signals

  • Computed bin counts exactly match (or fall within ±5%) the published gold-standard values for each frequency category.
  • Total structure count across all bins equals the documented unique 2D structure count (153,956 in LOTUS).
  • Discrepancy report is generated and reviewed; zero discrepancies or all flagged discrepancies have documented root causes in the processing log.
  • No structures appear in multiple bins (mutually exclusive categorization); each structure is binned exactly once.
  • Bin boundaries are correctly applied: singleton = 1, low-diversity = 2–10, medium-diversity = 11–100, high-diversity >100.

Limitations

  • Validation depends on the accuracy of the gold-standard reference counts; if the reference itself contains errors, this skill will not detect them.
  • Discrepancies may arise from differences in how organisms are taxonomically classified or deduplicated; compare organism curation procedures before concluding a data integrity failure.
  • The skill does not diagnose the root cause of discrepancies; it only detects and reports them. Further investigation of the processing pipeline (standardization, cleaning, integration steps) is required to resolve deviations.
  • Large datasets (>100K structures) may require binning to be done iteratively or in memory-efficient chunks if computing resources are constrained.

Evidence

  • [other] Group all unique 2D structures by their associated organism count, bin structures into frequency categories, and count membership in each bin.: "Group all unique 2D structures by their associated organism count. 3. Bin structures into four frequency bins: singleton structures (1 organism), low-diversity structures (2–10 organisms),"
  • [other] Count the number of structures in each bin and compare against published reference counts.: "Count the number of structures in each bin and compare against the reported gold-standard counts. 5. Generate a summary report documenting bin membership counts and any discrepancies."
  • [other] LOTUS contains 153,956 unique 2D curated structures as reference benchmark.: "231330 | 153956 (3D|2D) unique curated structures"
  • [readme] R is used for data integration and summarization tasks in LOTUS processing.: "R - Python 3 - Java >= 17"

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.