计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
alignment-io【效率与协作】Guides agents using pysam for SAM/BAM/CRAM AlignmentFile I/O, headers, AlignedSegment editing, fetch/count/coverage, pileup, read flags/tags/CIGAR, stream handling, quality helpers, and coordinate conventions.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task involves SAM, BAM, or CRAM alignment files through pysam.AlignmentFile and pysam.AlignedSegment: opening files, writing headers and reads, random-access fetching, counting coverage, pileup columns, flags, tags, CIGAR handling, streaming stdin/stdout, or quality string conversion.
python sub-skills/alignment-io/scripts/alignment_smoke.py --help and then run the helper with an output directory.AlignmentFile, AlignmentHeader, AlignedSegment, PileupColumn, PileupRead, IndexedReads, qualitystring_to_array, array_to_qualitystring, qualities_to_qualitystring, reverse_complement, and reverse_complement_inplace.../variant-io/SKILL.md.../tabix-fasta/SKILL.md.sort, index, view, or mpileup, use ../command-wrappers/SKILL.md.../troubleshooting-build/SKILL.md.region="chr:start-stop" strings follow samtools 1-based closed-style conventions.with pysam.AlignmentFile(...) as handle: so C-backed file handles close promptly.fetch(until_eof=True) for unindexed sequential scans and for unmapped reads that normal indexed fetch() skips.multiple_iterators=True only when two active iterators must coexist on one file handle; it reopens the file and has a cost.PileupColumn.pileups or helper methods; pileup proxy data becomes invalid after the iterator advances or finishes.AlignedSegment.query_sequence, preserve and restore query_qualities because sequence assignment invalidates qualities.