Skip to main content

a FracMinHash-based genome similarity estimator for bacteria

Reason this release was yanked:

Fix the symbol issue in MurmurHash3 to ensure correct sampling

Project description

FracSim:fast bacterial genome similarity estimation using FracMinHash sketching

Latest Version PyPI version Python 3.8+ Platform License: MIT

FracSim is a fast and accurate tool for estimating bacterial genome similarity, based on the FracMinHash genome sketching algorithm. It compresses large genomes into compact hash sets to rapidly compute Jaccard similarity and ANI (Average Nucleotide Identity) between genomes.

Whether for species identification, strain typing, or large-scale genome comparison, FracSim significantly reduces memory usage and computation time while maintaining high accuracy.

Documents: https://zhuyu534.github.io/FracSim

✨ Features

  • Fast: Uses FracMinHash sketching to dramatically lower memory footprint and runtime.
  • Accurate: Provides Jaccard index and ANI (Average Nucleotide Identity) estimates.
  • Flexible: Supports FASTA/Q formats, configurable k‑mer size and sampling rate.
  • Easy to use: Clean command‑line interface with multi‑threading support.
  • Open source: MIT licensed – contributions and usage are welcome.

📦 Installation

Requirements

  • Python 3.8 or higher

Method 1: Download binaries

Check out the Download Page for pre-built binaries across all supported platforms.

Method 2: Install From PyPI

pip install FracSim

Method 3: Install from source

git clone https://github.com/zhuyu534/FracSim.git
cd FracSim
pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fracsim-1.0.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fracsim-1.0.1-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file fracsim-1.0.1.tar.gz.

File metadata

  • Download URL: fracsim-1.0.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for fracsim-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7a30d1c52f2b12523f1e16ba594055b9543712868533e62ef2d4bf48ac0a0305
MD5 a1176d813d8084300e44bf7c6b0b012b
BLAKE2b-256 657380a22cb7243414b5d6b6b42c414c481a4f2571be015a3b4306f33282ffa5

See more details on using hashes here.

File details

Details for the file fracsim-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fracsim-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for fracsim-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b15abd0a52c2300b1d46fa88b092a5897377b9d62f70ed219b7e027114c97717
MD5 03005c9ceb950c725608b1c01f97224a
BLAKE2b-256 e64ec082876da3fb960374ed4493c55163fdc8cfe444b37bc83181f41503a66d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page