Spectral database compilation
Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder
npx -y skills add HolobiomicsLab/asb-skill-collections --skill spectral-database-compilationAssembled 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 generated predicted fragment spectra for a set of compounds using CFM-ID or similar in-silico prediction tools and need to organize these results into a persistent, queryable database that mirrors the schema of an existing online spectral reference (such as the predicted-fragments.
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.8 KB, 994 tokens by cl100k_base, as published. Nobody here has run it
spectral-database-compilation
License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->
Summary
Compile predicted fragment spectra generated by in-silico prediction tools into a structured database matching the format and schema of a reference online resource. This skill ensures systematic organization and validation of computational predictions for subsequent spectral matching and compound identification workflows.
When to use
You have generated predicted fragment spectra for a set of compounds using CFM-ID or similar in-silico prediction tools and need to organize these results into a persistent, queryable database that mirrors the schema of an existing online spectral reference (such as the predicted-fragments database in the DNA adductomics project). Apply this skill when output from prediction tools must be deposited in a standardized format for downstream spectral library searches or when creating a reusable resource for community access.
When NOT to use
- Predicted spectra have not yet been generated; first run CFM-ID or equivalent on compound structures.
- The goal is to validate or filter predicted spectra against experimental data; use spectral matching or library search instead.
- Input spectra are already in a validated, production database; compilation is redundant.
Inputs
- Predicted fragment spectra files (text, TSV, or structured output from CFM-ID)
- Compound structure file (SDF format) containing DNA adduct compounds
- Compound identifier mapping (if predictions are indexed by different IDs than structures)
Outputs
- Structured spectral database (relational table, indexed database, or online-accessible resource)
- Predicted-fragments database matching the format of the reference online resource
- Compilation metadata (timestamp, CFM-ID version, parameters used, record count)
How to apply
Load all predicted fragment spectra output files generated by CFM-ID (or equivalent predictor) for each compound structure. Map each predicted spectrum to its corresponding input compound using a consistent compound identifier (e.g., from the SDF file). Normalize spectral data fields (m/z values, intensities, ionization level, mass range) to match the schema of the target online resource (e.g., column names, data types, units). Compile records into a structured format (e.g., relational database, indexed table) with consistent indexing on compound ID and spectral metadata. Validate completeness by confirming that every input compound has at least one corresponding predicted spectrum entry and that no orphaned spectra exist. Document the CFM-ID parameters used (ionization level, mass range) and the compilation timestamp as metadata.
Related tools
- CFM-ID (Generates predicted fragment spectra from compound structures for input to the database compilation workflow)
Evaluation signals
- All input compounds from the SDF file have exactly one corresponding entry in the compiled database (cardinality check: compound count in SDF = record count in database).
- Spectral fields (m/z, intensity, ionization level, mass range) conform to the target schema with no missing or malformed values.
- Compound identifiers are consistent between structure file and spectral database; cross-referencing by ID returns the correct spectrum.
- Database is queryable and returns spectra for representative test compounds; query latency is acceptable for the intended use case.
- Metadata fields (CFM-ID version, parameters, compilation date) are present and accurate.
Limitations
- CFM-ID prediction accuracy varies by compound class and ionization mode; predicted spectra are approximations and must be validated against experimental data before use in production identification workflows.
- Compilation does not validate chemical correctness or biological relevance of the input compounds; garbage input compounds will produce garbage database entries.
- No changelog or version control mentioned in the source; lineage and reproducibility of database versions must be managed externally.
Evidence
- [other] The in-silico fragment prediction stage uses CFM-ID to process SDF compound structures and generate predicted fragment spectra, with results deposited in the predicted fragments database.: "The in-silico fragment prediction stage uses CFM-ID to process SDF compound structures and generate predicted fragment spectra, with results deposited in the predicted fragments database."
- [other] Compile predicted fragment spectra into a structured database matching the format of the deposited predicted-fragments online resource.: "Compile predicted fragment spectra into a structured database matching the format of the deposited predicted-fragments online resource."
- [other] Validate output by confirming all input compounds have corresponding predicted spectra entries.: "Validate output by confirming all input compounds have corresponding predicted spectra entries."
- [intro] Multiple formats and access points are available for the DNA adductomics database: Excel, Word, online interactive versions, SDF compound files, experimental and predicted fragment databases: "Multiple formats and access points are available for the DNA adductomics database: Excel, Word, online interactive versions, SDF compound files, experimental and predicted fragment databases"