Skip to main content

a package for reconstructing level-1 phylogenetic networks from sequence alignments or 4-leaf subnetworks

Project description

PyPI License: MIT Docs MBE DOI

physquirrel

physquirrel logo

physquirrel is the Python library for Squirrel—an algorithm for reconstructing semi-directed phylogenetic level-1 networks from quarnets and/or sequence alignments. It builds on phylozoo for network representations and numba for JIT-accelerated computation.


Key Features

  • δ-heuristic: construct quarnets (4-leaf subnetworks) from multiple sequence alignments in .fasta or .nexus format
  • Squirrel algorithm: reconstruct semi-directed phylogenetic level-1 networks from quarnets
  • eNewick export: serialize phylogenetic trees and networks in eNewick format
  • Visualization: plot phylogenetic networks via the optional viz dependency

Installation

pip install physquirrel

Runtime dependencies (phylozoo, numpy, networkx, numba) are installed automatically. For visualization extras:

pip install physquirrel[viz]

Documentation

For the full manual, API reference, and installation guide, visit the physquirrel docs.

Citation

If you use physquirrel, please cite:

Niels Holtgrefe, Katharina T. Huber, Leo van Iersel, Mark Jones, Samuel Martin, and Vincent Moulton. Squirrel: Reconstructing semi-directed phylogenetic level-1 networks from four-leaved networks or sequence alignments. Molecular Biology and Evolution, 42(4):msaf067, 2025. doi: 10.1093/molbev/msaf067

See also

For the graphical user interface developed for the paper, please go to gui/.

For the experimental materials corresponding to the paper, please go to experiments/.

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

physquirrel-2.0.0.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

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

physquirrel-2.0.0-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

Details for the file physquirrel-2.0.0.tar.gz.

File metadata

  • Download URL: physquirrel-2.0.0.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for physquirrel-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7b15d6e1502b2347bc857eb9ceda01b8043c499dce1741f37d1816a6dc723a1a
MD5 3fb2ca2960a31ae4f0513606a7caadc8
BLAKE2b-256 89f249e13ab8a8ab38721cf502ae81875d3905529bef4fc4cb84438d08822319

See more details on using hashes here.

Provenance

The following attestation bundles were made for physquirrel-2.0.0.tar.gz:

Publisher: release.yml on nholtgrefe/squirrel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file physquirrel-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: physquirrel-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for physquirrel-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3139eac67021e0f96bd5b3639484dcbb9dd577dce19534883bbee71a79f470b
MD5 7bbaeae1c2a567d6f59ddd8ced702d9b
BLAKE2b-256 393b0f3cbc56dbe81a41b46667f3cc3ee7daef592fbf8aee87187f76b1272bd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for physquirrel-2.0.0-py3-none-any.whl:

Publisher: release.yml on nholtgrefe/squirrel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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