SkillsReviewed · jaechang-hits

SciAgent Skills: Biopython Sequence Analysis

Biopython Sequence Analysis is an assistant skill for researchers and Python developers analyzing biological sequences, but several examples need correction before dependable use. It provides recipes for sequence files, NCBI retrieval, BLAST searches, alignments and evolutionary trees, using separately installed Python packages and optional command-line tools.

Researched 17 Nov 2026

In short.

Biopython Sequence Analysis is an assistant skill for researchers and developers working with biological sequences, but its examples contain errors and require dependency compatibility checks. Its single instruction file explains Biopython APIs and supplies recipes connecting sequence retrieval, similarity searches, alignment and tree construction. Useful detail includes feature coordinates, NCBI request pacing and output formats. Material weaknesses include mislabeled alignment scores, incomplete handling of empty BLAST results and a gene-family example that does not establish orthology. No code was executed; installation, runtime behavior, performance and scientific results remain untested.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to skills/genomics-bioinformatics/biopython-sequence-analysis at revision 65d6ceb875e20b751ffb3a6d8ee19516558789e1. The supplied manifest identifies SKILL.md as the complete folder contents and includes the repository LICENSE from above that folder. Other repository skills, external documentation, dependency source code and NCBI datasets are outside this scope. Original source links are retained. Nothing was executed; installation, assistant loading, runtime behavior, performance and scientific outputs remain untested.

The overview

Identity

The resource is the biopython-sequence-analysis skill in jaechang-hits/SciAgent-Skills, under skills/genomics-bioinformatics/biopython-sequence-analysis. The supplied folder contains one SKILL.md with metadata, API explanations, Python examples, troubleshooting and references.

The repository location is [https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/biopython-sequence-analysis]. The supplied version is fixed at revision 65d6ceb875e20b751ffb3a6d8ee19516558789e1; its original file is available at [https://raw.githubusercontent.com/jaechang-hits/SciAgent-Skills/65d6ceb875e20b751ffb3a6d8ee19516558789e1/skills/genomics-bioinformatics/biopython-sequence-analysis/SKILL.md].

Assessment

The strongest use is as a starting reference for an assistant or developer assembling a Biopython analysis script. It connects individual API calls into concrete tasks and explains important details such as strand-aware feature extraction and substitution matrices.

The examples require technical supervision. One pairwise-alignment example labels an alignment score as a count of alignments, and another labels normalized alignment scores as sequence identities. These are substantive interpretation errors. Runtime compatibility and reliability are unknown because nothing was executed.

Users

The skill suits bioinformatics researchers, computational biologists and Python developers handling DNA or protein sequences. Its examples address gene-family exploration, database retrieval, sequence comparisons and read filtering.

Beginners receive explanations and complete code blocks, but still need to edit Python, manage files and understand biological interpretation. Experienced developers can reuse individual recipes while adding validation, error handling and reproducible dependency management.

Capabilities

Documented tasks include parsing FASTA, FASTQ and GenBank records; converting formats; extracting annotated coding sequences; searching and fetching NCBI records; running remote or local BLAST; computing pairwise alignments; and reading, modifying and drawing phylogenetic trees.

Longer recipes cover NCBI retrieval followed by MUSCLE alignment and neighbor-joining tree construction, BLAST-hit retrieval with CSV output, FASTQ filtering, batched Entrez downloads and identity calculations from an existing multiple alignment. GFF3 support is a simple manual parsing recipe; the document itself acknowledges that Biopython has no native GFF3 parser.

Using it

Requirements

The stated Python dependencies are biopython, numpy and matplotlib. MUSCLE is required for the supplied gene-family alignment recipe. ClustalW is listed as another optional alignment tool, while local similarity searches require separately installed BLAST+ executables and reference data.

NCBI retrieval and remote BLAST require network access. Entrez examples require an email address and optionally an API key. The document states request limits of three requests per second without a key and ten with one; current service limits were not independently established.

No Python version, complete supported dependency set, hardware minimum or compatible assistant platform is specified. Memory, storage and processing needs for particular datasets are unknown.

Mechanism

The skill supplies written instructions and code examples. Sequence operations happen in Biopython, while MUSCLE and BLAST+ are invoked as external programs. The file does not document an automatic execution engine or a specific assistant-loading mechanism.

SeqIO produces sequence records and annotations. Entrez searches for identifiers and retrieves records. BLAST results are parsed from XML. PairwiseAligner scores local or global alignments, and Phylo represents and manipulates trees. The gene-family recipe builds a neighbor-joining tree using identity-based distances from a multiple alignment.

Setup

The documented package installation command is pip install biopython numpy matplotlib. Optional local BLAST setup uses conda install -c bioconda blast, and the gene-family recipe separately requires MUSCLE. These commands are source examples and were not executed.

Prepare input files, adjust filenames and configure Entrez.email before network retrieval. The source advises using pixi run python inside a pixi project. Its suggestion to skip installation when command -v python finds an interpreter is insufficient: an available interpreter does not establish that the required packages are installed.

Choose explicit dependency versions and confirm the relevant imports and executable interfaces before using the recipes. Installation into a particular assistant's skill directory is not documented.

Example

The gene-family example searches NCBI Protein for vertebrate BRCA1 RefSeq records, retrieves up to 20 identifiers and downloads their sequences. It then calls MUSCLE, reads the resulting alignment, constructs a neighbor-joining tree and roots it at the midpoint.

Its intended outputs are brca1_orthologs.fasta, brca1_aligned.fasta, brca1_nj.nwk and brca1_tree.png. These illustrate the path from database records to an alignment and tree image; no generated files or execution results are supplied. The search does not establish that every retrieved record is an ortholog, and the 20-record cap does not support the stated goal of downloading all orthologs.

Assessment & evidence

Limitations

The pairwise-alignment examples confuse different quantities. aligner.score returns a score, although one output label calls it the number of alignments. The small matrix example divides scores by sequence length and calls the result identity; mismatch and gap penalties mean this is not a fraction of matching residues.

The BLAST-to-CSV recipe has no explicit branch for zero qualifying hits and later accesses top_hits[0]. It therefore needs empty-result handling. Its loop also collects individual matching alignment segments without deduplicating accessions, so the first five entries need not represent five distinct sequences.

The manual GFF3 recipe extracts individual CDS rows without using their phase field or assembling multi-part coding sequences. The FASTQ-to-FASTA recipe deliberately discards quality scores. These examples need adaptation when complete gene models or retained read qualities matter.

The supplied material establishes no supported dependency matrix, benchmark, large-dataset performance or verified end-to-end result.

Reasoning

The skill makes useful implementation choices visible: feature locations use zero-based, half-open coordinates; sequence extraction accounts for strand; alignment scores depend on substitution matrices and gap penalties; and Entrez requests require pacing. These details help explain why a script produces a particular result.

Its biological conclusions need additional justification. The gene-family recipe supplies neither an orthology-validation step nor bootstrap resampling. A tree image alone does not establish evolutionary confidence. The BLAST thresholds are example settings, with no evidence demonstrating that they suit a particular research question.

Alternatives

The document points to pysam for mapped-read files such as SAM, BAM and CRAM; scikit-bio for ecological diversity and ordination; gget for concise gene and database queries; and etetoolkit for more specialized tree visualization. Its related biopython-molecular-biology skill covers PCR, restriction enzymes, cloning and protein structures.

For direct API learning, it links the Biopython Tutorial and Cookbook [https://biopython.org/DIST/docs/tutorial/Tutorial.html] and API reference [https://biopython.org/docs/latest/api/]. These alternatives and references are named in the source; their contents, compatibility and relative performance were not assessed.

Evidence

The supplied material consists of the complete SKILL.md and the repository-level LICENSE at revision 65d6ceb875e20b751ffb3a6d8ee19516558789e1. The skill file's recorded SHA-256 is 001695ab4739ab8f178b3033d86d5a9615d1cb6759f8b984875f89f1bc85f99a.

The original license notice is available at [https://raw.githubusercontent.com/jaechang-hits/SciAgent-Skills/65d6ceb875e20b751ffb3a6d8ee19516558789e1/LICENSE]. Sample output comments in the skill are illustrative source content, not evidence that the examples ran successfully. No runtime logs, generated artifacts or independent validation results are supplied.

Access & freshness

Costs

No resource price, subscription or end-to-end operating cost is stated. The document describes an NCBI API key as free, which does not establish that the complete workflow has zero cost.

Any assistant-provider charges and local compute, storage or network expenses are unspecified. There are no measured runtimes, resource-consumption figures or cost comparisons.

Rights

The repository LICENSE identifies CC BY 4.0 and copyright 2024 jaechang-hits. It permits sharing and adaptation, including commercial use, subject to attribution, a license link, disclosure of changes and the stated restrictions on implying endorsement or adding legal barriers. The license text is linked at [https://creativecommons.org/licenses/by/4.0/legalcode].

The skill's own metadata instead says Biopython License (BSD-like), without supplying those terms or explaining whether that label refers to the document or its underlying library. The relationship between the two notices is unresolved.

The root notice also references MIT-licensed claude-scientific-skills, Apache-2.0-licensed Biomni and CC-BY-4.0 sgRNA guide content. It does not identify specific borrowed passages in this skill. License coverage for separately installed software and retrieved biological data is not established by the document's notice.

Freshness

The supplied snapshot was captured on 17 November 2026 at revision 65d6ceb875e20b751ffb3a6d8ee19516558789e1. That identifies the source version; it does not establish a publication date, latest update or current maintenance activity.

Version advice is internally inconsistent: one passage describes pairwise2 removal as future work, while troubleshooting describes it as already removed in a named release. No dependency versions are pinned. Current Biopython compatibility, MUSCLE command compatibility and NCBI service behavior remain unknown.

Actions

Start with the original file at the recorded revision and select the recipe that matches your data. Establish a reproducible Python environment and confirm the required package imports and external tool interfaces.

Correct the score-versus-identity labels, add empty-hit handling and deduplication to the BLAST pipeline, and use a fuller annotation parser when CDS phase or multi-part genes matter. For gene-family studies, establish orthology and appropriate tree validation before interpreting relationships.

Validate the chosen recipe on a small dataset with independently known expectations before scaling it up. Clarify the conflicting document license labels before preparing a redistributed package.

Evidence for this report

LICENSEnotice · checked 2026-11-17