Index of every page on this site: llms.txt
All skills
k-dense-ai avatar

/scikit-bio

@ec59a29
Run it yourself

Biological data toolkit. Sequence analysis, alignments, phylogenetic trees, diversity metrics (alpha/beta, UniFrac), ordination (PCoA), PERMANOVA, FASTA/Newick I/O, for microbiome analysis.

Use this Skill: https://skilld.dev/gh/k-dense-ai/scientific-agent-skills/scikit-bio

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesreview.md

≈2.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

scikit-bio 0.7.4 review

Reviewed 2026-10-01. Official release metadata identifies 0.7.4 (2026-09-21, Python >=3.10). Native checks ran with Python 3.13, NumPy 2.5.1, SciPy 1.18.1, pandas 3.0.6, biom-format 2.1.17, matplotlib 3.11.2 and seaborn 0.13.2. The repository's per-skill environment pins scikit-bio 0.7.4.

Scope and sources

All sections of SKILL.md and api_reference.md were reviewed. This skill calls local Python APIs, with no owned hosted endpoint, authentication, or pagination contract. Upstream package/docs downloads are evidence retrieval only. Some web caches of latest still identify 0.6.3/0.7.3; current signatures were checked against the installed 0.7.4 release, and 28 relevant tagged source files matched the installed wheel byte for byte.

Contracts that prevent silent errors

  • find_with_regex yields capturing-group slices, not whole matches by default. Regex motifs therefore need parentheses. kmer_distance requires k.
  • pair_align(..., mode='global') defaults to free_ends=True; fully penalized global alignment needs False. A length-L affine gap costs open + L × extend. Similar BLAST scoring does not reproduce BLAST search statistics. Only aligned sequences of equal length belong in TabularMSA. MSA gap filtering uses a positional mask; consensus and entropy require declared gap/ambiguity handling.
  • Faith PD and UniFrac need ordered features matching tree tips and a scientifically justified rooted tree with finite nonnegative branch lengths. Root-degree validation alone does not establish correct biological rooting. Weighted UniFrac defaults to unnormalized branch-length distances, which can exceed one.
  • Count-based estimators need original sampling counts. Shannon/Bray-Curtis accept floating abundances; that does not recover sampling depth. Rarefaction depth is the minimum row sum, not the minimum feature count. Repeated draws quantify subsampling variability, not between-subject uncertainty.
  • Deprecated partial_beta_diversity fills uncomputed entries with zero. Its restricted string resolver also affects block_beta_diversity; a SciPy metric callable is needed for Bray-Curtis on that path. Complete block output matched the full driver on a synthetic fixture. Dense output remains quadratic.
  • PERMANOVA operates on complete distances; PCoA is a parallel visualization. Built-in grouping tests expose no strata/block argument. Unrestricted permutations need exchangeable experimental units. mantel accepts two matrices and implements no partial-Mantel adjustment; the former unused-third-matrix example has been removed without substituting an unsupported method.
  • On a six-sample DistanceMatrix, released 0.7.4 permdisp fails with its default dimensions=10 for both method='eigh' (default) and method='fsvd': PCoA raises ValueError: Invalid operation: cannot extend distance matrix size. Setting dimensions=0 passes for both and retains all axes. This describes this direct Python call, not any wrapper's settings. No failure is claimed when n >= 10 or when an already-computed OrdinationResults is supplied.
  • cca/rda use feature_ids, not species_ids; environmental columns must be identified and aligned. Associations are not causal effects. Avoid collinear constraints and report rank and residual degrees of freedom.
  • The sequence writer expects a Python generator; list and list-iterator writers are unregistered. FASTQ needs an explicitly known encoding. Table.read/write uses format='biom' for BIOM 2.1 HDF5; biom.load_table handles legacy JSON. Table.filter defaults to in-place mutation; preserve originals with False.
  • ProteinEmbedding is residue-by-latent-dimension for one sequence; ProteinVector is one pooled sequence vector. Conversion functions are module helpers, not embedding instance methods. embed_vec_to_ordination uses SVD. embed_vec_to_distances passes through beta_diversity and rejects negative coordinates in 0.7.4; use SciPy pdist plus DistanceMatrix for signed vectors. Helper IDs derive from sequence strings; retain explicit sample identities.
  • Augment only training folds, after splitting original experimental units. Synthetic samples are not independent replicates and must not inflate inferential sample size. Aitchison mixup assumes strictly positive compositions.

Validation limits

The native tests use tiny synthetic sequence, tree, community-table and embedding fixtures, including analytic diversity/distances, roundtrips, seeded stochastic results and ID reordering. They do not validate a biological conclusion or model. No model weights, sequencing database, QIIME 2 installation, GPU/Numba backend, large-data parallel mapper, or external plotting package was required. AnnData and Polars dispatch and the less common GenBank/EMBL/QSeq/BLAST/GFF format paths were checked in official documentation/source, not executed here. File paths, undefined data inputs and QIIME CLI snippets in the API reference are illustrative integration templates; adapt and validate them for the actual study.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert5d4 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    This skill provides a comprehensive toolkit for biological data analysis using scikit-bio 0.7.4. It covers sequence manipulation, alignment, phylogenetics, and diversity metrics. No security issues were detected, and all external references are to trusted scientific and technical resources.

  • Socket5d

    No alerts

  • Snyk6d

    Risk: CRITICAL · 2 issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at ec59a29. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 2 months ago
All 1 allowed tools
Read Write Edit Bash
Other metadata
compatibility
Requires Python 3.10+ and scikit-bio 0.7.4 (uv pip install scikit-bio==0.7.4). NumPy 2.0+ is required. Optional matplotlib/seaborn/plotly for plotting; biom-format for BIOM tables; polars/anndata for table interoperability.
metadata
{
  "version": "1.4",
  "last-reviewed": "2026-10-01",
  "upstream-version": "0.7.4",
  "skill-author": "K-Dense Inc."
}

README badge

README badge for k-dense-ai/scientific-agent-skills/scikit-bio