인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

file-io-formats

file-io-formats

Use Biotite to read, write, validate, and convert local sequence, structure, molecule, and trajectory file formats into Sequence, Annotation, AtomArray, and AtomArrayStack objects.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: file-io-formats description: "Use Biotite to read, write, validate, and convert local sequence, structure, molecule, and trajectory file formats into Sequence, Annotation, AtomArray, and AtomArrayStack objects." disable-model-invocation: true metadata: disco-role: operating license: BSD 3-Clause

File IO Formats

Use this sub-skill when a task is centered on biotite.sequence.io, biotite.structure.io, local parser classes, file round trips, or converting stored data into Biotite sequence, annotation, structure, molecule, or trajectory objects.

Route Here For

  • FASTA, FASTQ, GenBank/GenPept, GFF3, Clustal, A3M, and generic sequence file loading/saving.
  • PDB, PDBx/mmCIF, BinaryCIF, GRO, PDBQT, MOL, SDF, and generic structure file loading/saving.
  • Choosing between PDBFile, CIFFile, BinaryCIFFile, MOLFile, SDFile, GROFile, and trajectory file classes.
  • Using PDBx hierarchy objects: file, block, category, column, data, masks, BinaryCIF encodings, and compress().
  • Converting files into Sequence, Annotation, Alignment, AtomArray, AtomArrayStack, BondList, and trajectory coordinate arrays.
  • Debugging IO-specific failures such as text/binary handles, malformed records, missing trajectory templates, model/altloc choices, and unsupported fields.

Use Another Biotite Sub-skill For

Start With

  1. Identify whether the input is sequence text, sequence annotations, an alignment, a coordinate structure, a small molecule, or a coordinate-only trajectory.
  2. Prefer generic helpers (load_sequence(), load_sequences(), load_structure()) for simple extension-driven tasks; use format-specific file classes when options, metadata, annotations, bonds, models, or round-trip fidelity matter.
  3. Choose text vs binary handles correctly: FASTA/FASTQ/GenBank/GFF/Clustal/PDB/CIF/MOL/SDF/GRO/PDBQT are text, BinaryCIF is binary, and trajectories usually require filesystem paths.
  4. For structures, decide model, altloc, extra_fields, include_bonds, and author-vs-label fields before downstream analysis.
  5. For trajectories, load a topology/template AtomArray or AtomArrayStack first; trajectory files normally store coordinates, boxes, and times, not atom annotations.

References

Quick Checks

From the Biotite skill root, run the no-network helpers when you need a local sanity check:

python sub-skills/file-io-formats/scripts/roundtrip_sequence_io.py
python sub-skills/file-io-formats/scripts/tiny_structure_io_smoke.py --mode pdb

Use --help on either helper for options. The structure helper intentionally focuses on tiny PDB/PDBx round trips; trajectory guidance is covered in the references because trajectory files are coordinate-only and require an external topology/template contract.

저장한 Skills