Molecular structure file format handling
Use when when you have molecular structures in one format (e.g., SMILES strings in a spreadsheet or text file) but need to feed them to a tool that accepts a different format (e.g., CypReact requires .sdf or .csv with SMILES).From its SKILL.md
npx -y skills add HolobiomicsLab/asb-skill-collections --skill molecular-structure-file-format-handlingAssembled 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
5.0 KB, 832 tokens by cl100k_base, as published. Nobody here has run it
molecular-structure-file-format-handling
License: restricted — no clear open-source license detected for the underlying tool; verify licensing before commercial use or redistribution. <!-- asb-license-banner -->
Summary
Convert and prepare molecular structures between standard file formats (.sdf, .csv with SMILES) for input to computational chemistry tools. This skill ensures compatibility between data sources and analysis pipelines that require specific structure representations.
When to use
When you have molecular structures in one format (e.g., SMILES strings in a spreadsheet or text file) but need to feed them to a tool that accepts a different format (e.g., CypReact requires .sdf or .csv with SMILES). Apply this skill before invoking downstream analysis tools when format mismatch is detected.
When NOT to use
- Your structures are already in the exact format required by the downstream tool (e.g., .sdf file ready for CypReact) — apply the tool directly instead.
- You are performing format conversion as a primary research goal rather than as a preparation step for subsequent analysis.
- The molecular structures are in specialized proprietary formats not mentioned in tool documentation.
Inputs
- SMILES strings (comma-delimited)
- CSV file with SMILES column
- SDF (Structure Data Format) file
- Molecular structure list (plain text)
Outputs
- SDF (Structure Data Format) file
- CSV file with SMILES and metadata
- Formatted molecular structure file compatible with target tool
How to apply
First, identify the input format of your molecular structures (SMILES text, .sdf binary, CSV spreadsheet). If using .csv input, ensure SMILES strings are present and delimited by commas. If converting to .sdf, verify the structural data is complete and valid. Prepare the file in the target format expected by your downstream tool (for CypReact: either a single .sdf file or a .csv containing SMILES strings separated by commas). Validate the formatted file by checking that all molecular records are intact and parseable before passing to the analysis tool.
Related tools
- CypReact (Downstream tool that consumes formatted molecular structures (.sdf or .csv with SMILES) for CYP reactivity prediction) — github:bitbucket.org__Leon_Ti__cypreact
Evaluation signals
- Output file exists in the specified format (.sdf or .csv) and is readable by the downstream tool without parse errors.
- All molecular records present in the input are preserved in the output file with no loss or corruption of structural data.
- SMILES strings in CSV format are present and comma-delimited as specified; no malformed entries.
- When the formatted file is passed to CypReact, the tool accepts it without reporting file format errors or incompatibility.
- Spot-check: manually verify 3–5 molecular structures from input and output match in identity and connectivity.
Limitations
- No changelog or versioning information available for format specifications; format details may change between tool versions.
- CSV input requires well-formed SMILES strings; invalid SMILES syntax will propagate to output and cause downstream tool failures.
- SDF file generation may fail or produce incomplete records if source molecular data lacks stereochemistry or formal charge information.
- Format conversion does not validate chemical or biological plausibility; only structural syntax is verified.
Evidence
- [intro] Input format specification for CypReact: "The user can either input a .sdf file or a .csv. If the user input a .csv file, it should contains the SMILEs of all molecules and split them with ","."
- [intro] Output format capability: "The user can output a .sdf file or a .csv file."
- [intro] Example command-line invocation with file paths: "java -jar cypreact.jar C:\Users\Desktop\CypReactBundle\ C:\Users\Desktop\BioData\1A2_Test.sdf C:\Users\Desktop\BioData\1A2_Result.sdf 1A2"
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.