技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
transformations-writing【数据与研究】Build MDAnalysis on-the-fly coordinate transformation pipelines and write transformed outputs safely.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task needs MDAnalysis on-the-fly coordinate transformations, periodic-boundary cleanup, fitted/centered trajectories, or writing transformed coordinates to disk.
MDAnalysis.transformations, Universe(..., transformations=...), trajectory.add_transformations(...), transformed AtomGroup.write(...), and manual Writer loops.max_threads / parallelizable behavior.NoJump errors, writer selection fails, or transformed output differs from analysis-time coordinates.Universe loading to ../universe-io/SKILL.md.protein / solvent selection debugging, topology attributes, fragments, bonds, residues, and atom grouping to ../selections-topology/SKILL.md.Universe(..., transformations=workflow) during loading or with u.trajectory.add_transformations(*workflow) before iteration.AtomGroup or Universe, not a raw Timestep.Universe to change order or add another transform.Timestep in place and are applied before AtomGroup.positions is exposed for that frame.wrap, center_in_box(wrap=True), and NoJump require valid unit-cell dimensions on every relevant frame.NoJump is stateful and not parallelizable; apply it from frame 0, iterate sequentially, and avoid strided/random access unless you intentionally accept warnings.AtomGroup or Universe and a matching n_atoms; do not call writer.write(ts) in MDAnalysis 2.x.