sequence-analysis
Workspace gateway for day-to-day sequence work. The current bio environment has real local executables for blastn, blastp, makeblastdb, bowtie2, bwa, samtools, hmmscan, hmmbuild, mafft, muscle, hisat2, featureCounts, prodigal, RNAfold, seqkit, and Biopython.
Quick Start
- Activate environment:
conda activate bio
- Verified local tools:
blastn, blastp, makeblastdb, bowtie2, bwa, samtools, hmmscan, hmmbuild, mafft, muscle, hisat2, featureCounts, prodigal, RNAfold, seqkit
- Verified Python library:
Bio (Biopython)
When To Use This Tool
- Choosing the right installed tool for DNA/RNA/protein sequence analysis
- Running alignment, homology search, ORF prediction, or basic format/statistics work
- Building a small ad hoc sequence workflow without committing to a bigger pipeline
- Verifying what is truly available in the workspace before proposing a method
Common Patterns
# Local BLAST search
blastn -query input.fa -db nt -outfmt 6 -out results.tsv
# Multiple-sequence alignment
mafft input.fa > aligned.fa
# ORF prediction for a microbial genome
prodigal -i genome.fa -a proteins.faa -d genes.fna -f gff -o genes.gff
# Basic Biopython parsing
from Bio import SeqIO
records = list(SeqIO.parse("input.fa", "fasta"))
print(len(records))
Recommended Workflow
- Activate the
bio environment and confirm the exact tool you need is present.
- Validate the input format before launching expensive searches or alignments.
- Prefer the simplest installed CLI that matches the task: BLAST for homology search, MAFFT/MUSCLE for MSA, HMMER for domain search, Prodigal for microbial ORFs, and Samtools/Hisat2/FeatureCounts for RNA-seq-style alignment/counting.
- Escalate to more specialized project skills only when the plain CLI workflow is clearly insufficient.
Guardrails
- Keep claims limited to tools verified on
PATH in this workspace.
- The old autogenerated skill suggested direct Biomni tool imports as a ready path, but local Biomni tool imports currently fail because
langchain_core is missing.
- Use CLI-first workflows here; treat Biomni/Evo2 as separate repo-backed projects with extra dependency requirements.
- Validate input formats explicitly. Many of these tools assume FASTA/FASTQ/SAM/BAM conventions and will fail noisily or misleadingly on malformed input.
1---
2name: sequence-analysis
3description: Use when routing DNA, RNA, or protein sequence tasks to the core sequence-analysis commands that are actually installed in this workspace.
4allowed-tools:
5 - Read
6 - Bash(blast*:*)
7 - Bash(hmmer*:*)
8 - Bash(mafft:*)
9 - Bash(bowtie2:*)
10 - Bash(bwa:*)
11 - Write
12metadata:
13 source: https://skillmd.com/skills/vimalinx/sequence-analysis
14---
15
16# sequence-analysis
17
18Workspace gateway for day-to-day sequence work. The current `bio` environment has real local executables for `blastn`, `blastp`, `makeblastdb`, `bowtie2`, `bwa`, `samtools`, `hmmscan`, `hmmbuild`, `mafft`, `muscle`, `hisat2`, `featureCounts`, `prodigal`, `RNAfold`, `seqkit`, and Biopython.
19
20## Quick Start
21
22- **Activate environment:** `conda activate bio`
23- **Verified local tools:** `blastn`, `blastp`, `makeblastdb`, `bowtie2`, `bwa`, `samtools`, `hmmscan`, `hmmbuild`, `mafft`, `muscle`, `hisat2`, `featureCounts`, `prodigal`, `RNAfold`, `seqkit`
24- **Verified Python library:** `Bio` (Biopython)
25
26## When To Use This Tool
27
28- Choosing the right installed tool for DNA/RNA/protein sequence analysis
29- Running alignment, homology search, ORF prediction, or basic format/statistics work
30- Building a small ad hoc sequence workflow without committing to a bigger pipeline
31- Verifying what is truly available in the workspace before proposing a method
32
33## Common Patterns
34
35```bash
36# Local BLAST search
37blastn -query input.fa -db nt -outfmt 6 -out results.tsv
38```
39
40```bash
41# Multiple-sequence alignment
42mafft input.fa > aligned.fa
43```
44
45```bash
46# ORF prediction for a microbial genome
47prodigal -i genome.fa -a proteins.faa -d genes.fna -f gff -o genes.gff
48```
49
50```python
51# Basic Biopython parsing
52from Bio import SeqIO
53records = list(SeqIO.parse("input.fa", "fasta"))
54print(len(records))
55```
56
57## Recommended Workflow
58
591. Activate the `bio` environment and confirm the exact tool you need is present.
602. Validate the input format before launching expensive searches or alignments.
613. Prefer the simplest installed CLI that matches the task: BLAST for homology search, MAFFT/MUSCLE for MSA, HMMER for domain search, Prodigal for microbial ORFs, and Samtools/Hisat2/FeatureCounts for RNA-seq-style alignment/counting.
624. Escalate to more specialized project skills only when the plain CLI workflow is clearly insufficient.
63
64## Guardrails
65
66- Keep claims limited to tools verified on `PATH` in this workspace.
67- The old autogenerated skill suggested direct Biomni tool imports as a ready path, but local Biomni tool imports currently fail because `langchain_core` is missing.
68- Use CLI-first workflows here; treat Biomni/Evo2 as separate repo-backed projects with extra dependency requirements.
69- Validate input formats explicitly. Many of these tools assume FASTA/FASTQ/SAM/BAM conventions and will fail noisily or misleadingly on malformed input.