vimalinx/bio-agent / .claude/skills/mafft
mafft
VerifiedUse when performing multiple sequence alignment on nucleotide or protein sequences, such as preparing alignments for phylogenetic analysis or comparative genomics.
mafft
Quick Start
- Command:
mafft [options] input.fasta > output.fasta - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/mafft - Version: 7.526
- Full reference: See
references/help.mdfor complete options and documentation
When To Use This Tool
- Build a multiple-sequence alignment for nucleotide or protein FASTA input.
- Use it before phylogenetic inference, motif comparison, or profile building.
- Start with
--autowhen you are unsure which alignment strategy fits the dataset. - Switch to high-accuracy iterative modes for smaller, harder alignments.
Common Patterns
# 1) Let MAFFT choose the strategy
mafft --auto input.fasta > aligned.fasta
# 2) High-accuracy local-pair alignment
mafft --maxiterate 1000 --localpair input.fasta > aligned.fasta
# 3) Use all available threads
mafft --auto --thread -1 input.fasta > aligned.fasta
# 4) Output CLUSTAL format
mafft --auto --clustalout input.fasta > aligned.aln
Recommended Workflow
- Check that the input sequences are homologous enough to align meaningfully.
- Start with
--autounless you already know the dataset requires a specific mode. - Move to
--localpairor related high-accuracy modes only for smaller, biologically difficult alignments. - Inspect the alignment before sending it to
iqtree,hmmbuild, or downstream comparative analyses.
Guardrails
- High-accuracy iterative modes are not the default answer for large datasets.
- The MAFFT help text explicitly suggests the expensive iterative modes mainly for smaller inputs.
- Changing
--opand--epwithout a biological reason can degrade alignments quickly. - MAFFT writes alignment to stdout by default, so remember shell redirection.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |