Skip to main content

Package for reconstructing semi-directed phylogenetic level-1 networks from four-leaved networks and sequence alignments

Project description

PyPI License Docs MBE DOI

physquirrel

physquirrel is the Python library for Squirrel—an algorithm for reconstructing semi-directed phylogenetic level-1 networks from quarnets and/or sequence alignments. It uses networkx for network representations and numpy, scipy, and matplotlib for computation and visualization.


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
  • Visualization: basic plotting of phylogenetic networks
  • eNewick export: serialize phylogenetic trees and networks in eNewick format

Installation

pip install physquirrel

Runtime dependencies (numpy, networkx, matplotlib, scipy) are installed automatically.

Documentation

For more detailed usage instructions visit the physquirrel docs and/or check the docstrings in the source code.

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-1.0.9.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

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

physquirrel-1.0.9-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for physquirrel-1.0.9.tar.gz
Algorithm Hash digest
SHA256 d51d54e563482a88273aa4e1f7b83d110853b5629b60bcc926c2871ce3fe107d
MD5 a174c531dc109b981320cae1e67abd44
BLAKE2b-256 bf52444abbb34fd30b9793ef46925438b6e8938195428ef326a322ea57af16d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for physquirrel-1.0.9.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-1.0.9-py3-none-any.whl.

File metadata

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

File hashes

Hashes for physquirrel-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a59fb3d2e7759ed168ac93f4e7f7d2c7cf82cd30bbc05a1b2d444e45fbbede
MD5 df4ad1d5276951828b532d65e0e4f6fb
BLAKE2b-256 d6ab04748c88862643807dd35b4266f940e5ddce96f08ef025ac03abcf74afe7

See more details on using hashes here.

Provenance

The following attestation bundles were made for physquirrel-1.0.9-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