compound-structure-processing
License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution.
Summary
Load and prepare chemical compound structures from SDF format files for downstream computational analysis, such as in-silico fragment prediction. This skill ensures compound structures are correctly formatted and validated before submission to spectral prediction tools.
When to use
Use this skill when you have a collection of DNA adduct or small-molecule compound structures stored in SDF format and need to prepare them for computational workflows like CFM-ID fragment prediction, or when integrating new compounds into a structured compound database.
When NOT to use
- Input structures are already in a processed intermediate format (e.g., SMILES strings or serialized objects) and do not require SDF parsing.
- Compounds lack required metadata (e.g., molecular formula, charge state) and cannot be validated against downstream tool requirements.
- SDF file is corrupted, incomplete, or contains malformed structure records that cannot be reliably parsed.
Inputs
- SDF format file containing DNA adduct compound structures
- Compound structure records with molecular connectivity and metadata
Outputs
- Parsed and validated compound structures in memory or intermediate format
- Structured compound records with IDs, names, and molecular properties
- Compound inventory log documenting successful parsing
How to apply
Load compound structures from the SDF format file into a computational environment (e.g., via chemistry library APIs). Validate that all structures are well-formed and contain required molecular properties (e.g., formal charge, connectivity). Parse structure metadata (e.g., compound IDs, names) from the SDF header and annotation fields. Confirm the structure count and diversity match the expected sample set. Structure the parsed data into a format compatible with the downstream tool (e.g., CFM-ID requires specific ionization levels and mass range specifications). Document the loading step and validate that all input compounds have been successfully parsed before proceeding to prediction.
Related tools
- CFM-ID (Downstream tool for predicting fragment spectra from processed compound structures at specified ionization levels and mass ranges)
Evaluation signals
- All compound records in the input SDF file are successfully parsed with no errors or warnings
- Parsed compound count matches the expected number of input structures
- Each parsed compound contains required fields: unique identifier, molecular structure, and ionization/mass parameters compatible with CFM-ID
- No duplicate or malformed structure records remain after validation
- Output can be directly ingested by CFM-ID without format conversion or manual curation
Limitations
- SDF parsing quality depends on proper file formatting and adherence to standard SDF conventions; non-standard or legacy SDF variants may fail to parse correctly.
- Compound structures lacking formal charge information or containing ambiguous connectivity may not be compatible with downstream fragment prediction.
- No changelog or versioning system documented for tracking changes to compound structures or SDF file updates.
Evidence
- [other] Load compound structures from the SDF format file containing DNA adduct compounds: "Load compound structures from the SDF format file containing DNA adduct compounds."
- [intro] Compound structures in SDF format available from database: "The following files are available: [Excel format, Word format, online, SDF format, experimental fragments online, predicted fragments online, collection of Excel file, online databases, CFM-ID]"
- [other] SDF files are input to CFM-ID for fragment prediction: "Execute CFM-ID on each compound structure to predict fragment spectra at the appropriate ionization level and mass range."
- [other] Validation required for completeness: "Validate output by confirming all input compounds have corresponding predicted spectra entries."
1---2name: compound-structure-processing3description: Use when you have a collection of DNA adduct or small-molecule compound structures stored in SDF format and need to prepare them for computational workflows like CFM-ID fragment prediction, or when integrating new compounds into a structured compound database.4license: CC-BY-4.05---67# compound-structure-processing89> **License: restricted** — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->10## Summary1112Load and prepare chemical compound structures from SDF format files for downstream computational analysis, such as in-silico fragment prediction. This skill ensures compound structures are correctly formatted and validated before submission to spectral prediction tools.1314## When to use1516Use this skill when you have a collection of DNA adduct or small-molecule compound structures stored in SDF format and need to prepare them for computational workflows like CFM-ID fragment prediction, or when integrating new compounds into a structured compound database.1718## When NOT to use1920- Input structures are already in a processed intermediate format (e.g., SMILES strings or serialized objects) and do not require SDF parsing.21- Compounds lack required metadata (e.g., molecular formula, charge state) and cannot be validated against downstream tool requirements.22- SDF file is corrupted, incomplete, or contains malformed structure records that cannot be reliably parsed.2324## Inputs2526- SDF format file containing DNA adduct compound structures27- Compound structure records with molecular connectivity and metadata2829## Outputs3031- Parsed and validated compound structures in memory or intermediate format32- Structured compound records with IDs, names, and molecular properties33- Compound inventory log documenting successful parsing3435## How to apply3637Load compound structures from the SDF format file into a computational environment (e.g., via chemistry library APIs). Validate that all structures are well-formed and contain required molecular properties (e.g., formal charge, connectivity). Parse structure metadata (e.g., compound IDs, names) from the SDF header and annotation fields. Confirm the structure count and diversity match the expected sample set. Structure the parsed data into a format compatible with the downstream tool (e.g., CFM-ID requires specific ionization levels and mass range specifications). Document the loading step and validate that all input compounds have been successfully parsed before proceeding to prediction.3839## Related tools4041- **CFM-ID** (Downstream tool for predicting fragment spectra from processed compound structures at specified ionization levels and mass ranges)4243## Evaluation signals4445- All compound records in the input SDF file are successfully parsed with no errors or warnings46- Parsed compound count matches the expected number of input structures47- Each parsed compound contains required fields: unique identifier, molecular structure, and ionization/mass parameters compatible with CFM-ID48- No duplicate or malformed structure records remain after validation49- Output can be directly ingested by CFM-ID without format conversion or manual curation5051## Limitations5253- SDF parsing quality depends on proper file formatting and adherence to standard SDF conventions; non-standard or legacy SDF variants may fail to parse correctly.54- Compound structures lacking formal charge information or containing ambiguous connectivity may not be compatible with downstream fragment prediction.55- No changelog or versioning system documented for tracking changes to compound structures or SDF file updates.5657## Evidence5859- [other] Load compound structures from the SDF format file containing DNA adduct compounds: "Load compound structures from the SDF format file containing DNA adduct compounds."60- [intro] Compound structures in SDF format available from database: "The following files are available: [Excel format, Word format, online, SDF format, experimental fragments online, predicted fragments online, collection of Excel file, online databases, CFM-ID]"61- [other] SDF files are input to CFM-ID for fragment prediction: "Execute CFM-ID on each compound structure to predict fragment spectra at the appropriate ionization level and mass range."62- [other] Validation required for completeness: "Validate output by confirming all input compounds have corresponding predicted spectra entries."