技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
molecules-and-io【数据与研究】Prepare ProLIF molecules, residues, and input files from RDKit, MDAnalysis, SDF, MOL2, PDBQT, PDB, and CIF/template-backed sources.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when an agent needs to turn chemistry or trajectory inputs into ProLIF Molecule, Residue, ResidueId, or ResidueGroup objects before interaction fingerprinting.
prolif.Molecule objects with Molecule.from_mda, Molecule.from_rdkit, sdf_supplier, mol2_supplier, pdbqt_supplier, or split_molecule.chain versus segid behavior, residue masks, and ResidueId string/index lookup.MoleculeStandardizer inputs.scripts/inspect_inputs.py to smoke-test installed package data or inspect user SDF/MOL2/PDBQT files.../interactions/SKILL.md.Fingerprint.run, run_from_iterable, generate, exports, pickles, or parallel execution; use ../fingerprints/SKILL.md.../visualization/SKILL.md.Molecule.from_mda(obj, selection=None, use_segid=None, **converter_kwargs); verify the selection is non-empty and decide whether residue identity should use chain IDs or segment indices.Molecule.from_rdkit(mol, resname="UNL", resnumber=1, chain="", use_segid=False) when atoms may not already carry AtomPDBResidueInfo.sdf_supplier(path, sanitize=True, resname=..., resnumber=..., chain=...); it behaves like a reusable sequence of Molecule poses.mol2_supplier(path, cleanup_substructures=True, sanitize=True, ...); disable cleanup/sanitization only as a targeted troubleshooting step.pdbqt_supplier(paths, template, converter_kwargs=None, ...); a template with correct bond orders and charges is mandatory.prolif.io.MoleculeStandardizer with CIF or RDKit-molecule templates when bond orders, residue names, or protonation-sensitive residues need correction.references/api-reference.md covers classes, constructor signatures, suppliers, standardization APIs, and residue selection.references/workflows.md provides input-preparation recipes for trajectories, docking, PDB, and residue splitting.references/data-formats.md explains SDF, MOL2, PDBQT, PDB, CIF/template, and package-data behavior.references/troubleshooting.md lists common conversion, labeling, hydrogen, standardization, and supplier failures.Run from any project where ProLIF is installed:
python scripts/inspect_inputs.py
python scripts/inspect_inputs.py --sdf poses.sdf
python scripts/inspect_inputs.py --mol2 poses.mol2
python scripts/inspect_inputs.py --pdbqt pose1.pdbqt --pdbqt-template-smiles 'CCO'
The helper prints JSON, performs no destructive writes, and only reads user-specified files plus installed prolif.datafiles package data in no-argument mode.