技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
specialized-workflows【数据与研究】Operate gget's viral dataset, mutation-generation, optional setup, and legacy GPT workflows with explicit filters, file contracts, validation, and side-effect boundaries.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill for four gget entry points:
gget.virus: retrieve and filter viral sequence datasets from NCBI Virus.gget.mutate: apply standard nucleotide mutation annotations to FASTA or
in-memory nucleotide sequences.gget.setup: install/download optional dependencies or ELM data.gget.gpt: call the legacy OpenAI ChatCompletion wrapper.Read the matching reference before a non-trivial run: virus workflow, mutation contract, setup and GPT, and troubleshooting. For a safe preflight of a FASTA/table pair, use validate_mutation_inputs.py. It reads inputs and prints JSON; it never mutates them, downloads data, installs packages, or calls an API.
sequence-tools.disease-structure; use mutate only to transform sequences from an
already-selected mutation table.virus for viral dataset retrieval/filtering, not arbitrary taxonomy
or generic FASTA manipulation.is_accession=True for accession forms. For SARS-CoV-2 or Alphainfluenza,
use the explicit optimized flag for accession queries.setup as an installation/download operation,
not a harmless probe. Inspect the target environment and obtain approval
before running it.gpt as a credentialed, billable, unmaintained
compatibility wrapper. Do not use it without an explicit API key and
confirmation of the old OpenAI client contract.virus validates inputs, obtains
server-side metadata (or uses cached metadata), applies local metadata
filters, performs GenBank-dependent filtering when needed, downloads only
surviving accessions, then applies sequence-dependent filters.outfolder explicitly. Expect FASTA plus metadata CSV/JSONL and
command_summary.txt; GenBank mode adds detailed CSV and full XML/CSV.merge_results=True, inspect the merged CSV; with False, inspect the
new-only CSV and retained baseline reference. Never overwrite the source
baseline as a recovery shortcut.seq_ID matches the FASTA identifier after gget's
normalization: first token only, with a dot/version suffix removed. A missing
join is an input error, not permission to guess.c.35G>A, ranges with
del/ins/delins, dup, or inv; verify the wild-type base for a
substitution. Use k to bound retained flanks (default 30).out=None and update_df=False; write mutant FASTA when
out is supplied. Output headers are >[seq_ID]:[mut_ID] in the current
implementation (the older docs show an underscore; follow the live output).update_df=True for mutation annotations and sequences in a CSV/TSV
output. Full-sequence and translation columns require
store_full_sequences=True; translation uses the requested nucleotide frame
and emits X for unknown/incomplete codons. Keep the original FASTA/table;
write to a new output path.alphafold, cellxgene, elm, gpt, and
cbio. It may install with uv or pip, download ELM files with curl, clone
and patch AlphaFold dependencies, and download large model parameters.out if gget.elm must find the downloaded files; a custom
out is an independent copy and is not used by the module. For AlphaFold,
expect platform/dependency/model-size constraints and prefer a dedicated
environment.gpt uses api_key directly, sets openai.api_key, calls
openai.ChatCompletion.create, returns text with a trailing newline, and
optionally writes the text to out. The wrapper targets openai<=0.28.1;
newer clients commonly lack this endpoint. Never place keys in files or
command history, and do not send sensitive data in prompts.host/env_source, storage, and intended output location first.baseline_metadata; on a mutation
mismatch, fix IDs or the table and rerun to a new FASTA; on setup/GPT errors,
inspect package/version and environment state before reinstalling.