---
title: "DnaSP - Air Market"
description: "You have aligned DNA sequences and need the standard population genetics numbers from them. This is a full reimplementation of DnaSP 6, covering diversity, haplotypes, neutrality tests, linkage, dive…"
canonical: "https://airmarket.ai/app/dnasp"
---

[Air Market](/) / [Data & Analytics](/category/data) / DnaSP

Skill by [ClawBio](/@clawbio)

# DnaSP

Population genetics on aligned sequences, without leaving your terminal

## What this does

You have aligned DNA sequences and need the standard population genetics numbers from them. This is a full reimplementation of DnaSP 6, covering diversity, haplotypes, neutrality tests, linkage, divergence between populations, codon usage and more. It reads FASTA or NEXUS and gives you tables plus a written report.

### Top 3 things it does for you

- Run nucleotide diversity and haplotype statistics on an alignment
- Run neutrality tests like Tajima's D and Fu & Li
- Measure linkage disequilibrium and divergence between populations

## Information

**DnaSP at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [ClawBio](/@clawbio) |
| Category | [Data & Analytics](/category/data) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Version | 0.4.0 |
| Size | 397 KB |
| Licence | MIT |
| Repository | [ClawBio/ClawBio](https://github.com/ClawBio/ClawBio/tree/bc320c443e44f6b260fe1467c548c040d8cbd0d0/skills/dnasp) |
| GitHub stars | 1,114 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of DnaSP and flagged nothing. AIR's verdict: **safe**.

**What DnaSP's check was run against**

|  |  |
| --- | --- |
| Commit | bc320c443e44f6b260fe1467c548c040d8cbd0d0 |
| Content hash | 66be9c813cef703ad11fa75c036507dee3f226304a8c34d5c25b6559550a4131 |
| Files read | [Browse the files at this exact commit](https://github.com/ClawBio/ClawBio/blob/bc320c443e44f6b260fe1467c548c040d8cbd0d0/skills/dnasp/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for DnaSP](/security/dnasp)

## About DnaSP

This is a full reimplementation of DnaSP 6 for population genetics analysis of aligned DNA sequences.

It covers nucleotide diversity and haplotype statistics, neutrality tests including Tajima's D, Fu & Li's D*/F* and R2, linkage disequilibrium measures such as D, D', R squared, ZnS, Za and ZZ, minimum recombination, mismatch distribution, and InDel polymorphism. Between-population work includes Dxy, Da, and fixed and shared sites. Outgroup-based Fu & Li D and F tests, the HKA multi-locus neutrality test, the McDonald-Kreitman test, Ka/Ks by the Nei-Gojobori method, Fu's Fs test, the site frequency spectrum both folded and outgroup-unfolded, the transition/transversion ratio, and codon usage bias by RSCU and ENC are all included.

It accepts FASTA or NEXUS input, and returns DnaSP-compatible TSV along with a Markdown report.

## What's inside

- SKILL.md - instructions
- CONTRIBUTORS.md - reference
- dnasp.py - script
- docs/index.md - reference
- environment.yml - data
- examples/demo_rp49.fas
- examples/demo_simple.fas
- tests/test_dnasp.py - script

## Questions

### Is DnaSP safe to install?

AIR scanned this exact version of DnaSP and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit bc320c443e44, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/dnasp.

### How do I install DnaSP?

Open https://airmarket.ai/app/dnasp on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/ClawBio/ClawBio/tree/bc320c443e44f6b260fe1467c548c040d8cbd0d0/skills/dnasp. Install from that link, not the branch.

## Related on Air Market

- [More Data & Analytics listings](/category/data)
- [Everything by ClawBio](/@clawbio)

---

Canonical URL: <https://airmarket.ai/app/dnasp>
