Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

meryl

> 编程语言
Open source

A genomic k-mer counter (and sequence utility) with nice features.

182 stars0 likes1 views
WebsiteGitHub

About

A genomic k-mer counter (and sequence utility) with nice features.

Meryl

This is 'meryl', a near total rewrite of 'meryl' that appeared in both project kmer and Celera Assembler.

IMPORTANT: Get the latest meryl code from this repo. This is not compatible with old meryl dbs built from canu 1.8 or earlier. The new meryl is significantly faster than the previous version.

Change log (each with lots of bug fixes)

  • v1.4.2: Direct kmer counting from bam / cram

  • v1.4.1: One critical bug fix (bitArray) found right after v1.4 release

  • v1.4: meryl compress kmers, experimental meryl2

  • v1.3: meryl-lookup to lookup kmers

  • v1.2: meryl-analyze to analyze kmers, meryl-simple for simpler kmer counts

  • v1.1: Brand-new meryl! .mcdat and .mcidx file formats are no longer used. Meryl db is designed as a DIRECTORY, containing 64 binaries + 64 indexes (128 files)

Dependency

  • gcc 10.2+ or clang 12+

Installation

  • Release version: download a stable release version

    Platform Filename
    Linux x86_64 meryl-1.4.2.Linux-amd64.tar.xz
    Linux arm64 meryl-1.4.2.Linux-arm64.tar.xz
    macOS Apple Silicon meryl-1.4.2.Darwin-arm64.tar.xz
    macOS Intel meryl-1.4.2.Darwin-amd64.tar.xz
    bash
    # Example for Linux-amd64
    wget https://github.com/marbl/meryl/releases/download/v1.4.2/meryl-1.4.2.Linux-amd64.tar.xz
    tar -xJf meryl-1.4.2.Linux-amd64.tar.xz
    export PATH=/path/to/meryl-1.4.2/bin:$PATH
  • MacOS: after unpacking, run xattr -dr com.apple.quarantine meryl-1.4.2.Darwin-*/. On MDM-managed Macs, Gatekeeper might still block the binaries — build from source instead.

  • Experimental tip (use git 2.25.1 or higher):

    bash
    git clone --recursive https://github.com/marbl/meryl.git
    
    # build
    cd meryl/src
    make -j 24
    export PATH=/path/to/meryl/build/bin:$PATH

Evaluate assemblies with k-mers and more

See Merqury.

Citing Meryl

We didn't want to suffer the world with yet another k-mer counting paper, so we stuffed meryl into the merqury methods:

Rhie, A., Walenz, B.P., Koren, S. et al. Merqury: reference-free quality, completeness, and phasing assessment for genome assemblies. Genome Biol 21, 245 (2020). https://doi.org/10.1186/s13059-020-02134-9

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言