技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
scikit-bio【数据与研究】Use scikit-bio for bioinformatics sequences, alignments, phylogenetic trees, diversity metrics, biological tables, IO, metadata, distance statistics, ordination, compositional analysis, and embeddings.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves scikit-bio Python APIs for biological sequence data, phylogenetic trees, community ecology diversity, BIOM-style tables, bioinformatics file formats, sample metadata, distance-matrix statistics, ordination, compositional data analysis, or protein/sequence embeddings.
scikit-bio is a Python package with public APIs rather than a command-line application. Prefer conda when compiled scientific dependencies are difficult to resolve:
conda install -c conda-forge scikit-bio
# or
python -m pip install scikit-bio
Minimal import check:
python - <<'PY'
import skbio
from skbio import DNA, TreeNode, DistanceMatrix
print(skbio.__version__, DNA("ACGT").gc_content(), TreeNode.read(["(a,b);"]).count(tips=True))
PY
Run scripts/check_skbio_environment.py when diagnosing installation, imports, or expected public API availability.
sub-skills/io-metadata/SKILL.md — read/write FASTA, FASTQ, Newick, BIOM, distance matrices, ordination, sample metadata, GFF3, GenBank/EMBL, BLAST tables, taxonomy dumps, and diagnose IO registry routes or metadata validation.sub-skills/sequences-alignment/SKILL.md — create and validate Sequence, DNA, RNA, Protein, GeneticCode, SubstitutionMatrix, TabularMSA, pairwise alignment, alignment scoring, and sequence-distance workflows.sub-skills/trees-phylogeny/SKILL.md — parse, navigate, write, build, compare, and repair TreeNode phylogenies, Newick trees, NJ/UPGMA/GME/BME construction, NNI, consensus, and tree constraints for diversity metrics.sub-skills/diversity-tables/SKILL.md — compute alpha/beta diversity, Faith PD, UniFrac, block beta diversity, metric discovery, table-like count inputs, BIOM-backed Table, and table augmentation.sub-skills/statistics-ordination/SKILL.md — use DistanceMatrix, PERMANOVA, ANOSIM, PERMDISP, Mantel, BioEnv, PCoA/CA/CCA/RDA, compositional transforms, ANCOM/ANCOM-BC, and embedding conversions.io-metadata, then route parsed sequence/tree/table/distance objects to the owning sub-skill.sequences-alignment; use io-metadata only for file routes and statistics-ordination for downstream distance-matrix statistics.trees-phylogeny to validate rooted trees, branch lengths, duplicate tips, and taxa order, then use diversity-tables for Faith PD or UniFrac.diversity-tables to create Series or DistanceMatrix outputs, then use statistics-ordination for PERMANOVA, ordination, or compositional follow-up.io-metadata to load/filter/merge SampleMetadata, then pass aligned IDs to statistics-ordination or diversity-tables.Sequence, DNA, RNA, Protein, GeneticCode, SubstitutionMatrix, DistanceMatrix, TabularMSA, TreeNode, nj, read, write, OrdinationResults, Table, SampleMetadata, get_config, and set_config.validate=False may improve performance but can produce confusing downstream errors or invalid results.references/troubleshooting.md for install/import issues, dependency conflicts, ID alignment, validation, optional backend, and no-CLI expectations.references/repo-provenance.md before deciding whether this generated skill matches a current scikit-bio checkout or should be refreshed.references/repo-routing-metadata.json contains structured repo-skills-router metadata used during managed import.