Skip to content
Back to skills

Sequence Objects And Features

ASecurity

"Operate Biopython Seq, MutableSeq, SeqRecord, SeqFeature,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolspythonsqlapidatabase

Works with

  • terminal
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill sequence-objects-and-features --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sequence Objects And Features?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sequence Objects And Features
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-sequence-objects-and-features/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-sequence-objects-and-features)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sequence-objects-and-features
description: "Operate Biopython Seq, MutableSeq, SeqRecord, SeqFeature,
  location, codon-table, and SeqUtils workflows without file parsing."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# sequence-objects-and-features

Use this sub-skill when the task is about in-memory Biopython sequence objects, record annotations, feature locations, translation/transcription/reverse-complement logic, codon tables, or `Bio.SeqUtils` helpers.

## Route here

- Build or transform `Seq`, `MutableSeq`, or `SeqRecord` objects from already-available sequence strings or records.
- Add, inspect, slice, extract, shift, or reverse-complement `SeqFeature`, `SimpleLocation`, `CompoundLocation`, and fuzzy positions.
- Diagnose translation behavior for complete CDS features, `codon_start`, `transl_table`, start/stop codon checks, and ambiguous codons.
- Work with `SeqRecord.annotations`, `dbxrefs`, `features`, and length-checked `letter_annotations`.
- Use safe sequence utilities such as `gc_fraction`, `molecular_weight`, `nt_search`, `seq1`, `seq3`, `GC_skew`, and `CodonAdaptationIndex`.

## Route elsewhere

- Sequence/alignment/search file parsing, writing, indexing, or format conversion: use `file-io-and-format-conversion`.
- Pairwise/multiple alignments, BLAST/SearchIO result models, and phylogenetic trees: use `alignment-search-and-phylogeny`.
- PDB/mmCIF structures, SMCRA traversal, polypeptide extraction from structures, and structural superposition: use `structural-bioinformatics`.
- Online database retrieval, Entrez/KEGG web access, and BioSQL storage: use `web-databases-and-biosql`.

## Operating procedure

1. Identify the object level: raw string, `Seq`/`MutableSeq`, `SeqRecord`, `SeqFeature`, or `Location`.
2. Keep coordinates explicit: Biopython feature coordinates are Python-style zero-based, half-open intervals; reverse-strand locations still use left/right genomic boundaries.
3. Preserve annotation intentionally: slicing, concatenation, translation, and reverse-complementing do not preserve every field by default.
4. For CDS translation, inspect the genetic table, `codon_start`, length modulo three, start codon, terminal stop codon, and internal stops before changing code.
5. For non-trivial behavior or environment checks, run `scripts/sequence_feature_smoke.py`; it uses only in-memory data and should print `PASS`.

## Bundled references

- `references/sequence-feature-api.md` — verified API signatures, object relationships, coordinate rules, feature extraction recipes, and SeqUtils notes.
- `references/troubleshooting.md` — failure diagnosis for annotations, locations, reverse complements, CDS translation, and utilities.

Files in this skill

  • SKILL.md2.7 KB
  • references/sequence-feature-api.md11 KB
  • references/troubleshooting.md9.6 KB
  • scripts/sequence_feature_smoke.py4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.