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.8.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.8-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: physquirrel-1.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 84c210b1d183a2d9dce041fd8bd5b1dc3d312248ee578df0d41ba1d023fe3001
MD5 f29aa337c363dbf78324559e949755e2
BLAKE2b-256 d0899b0482af77a6d919d3faceea65d4dbeea4e46bc374b66fe90784cdb76363

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: physquirrel-1.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d0d2e79856a631d8d0e74a107c23315f35e5fac3482390aa215ad26da049576b
MD5 f874c0543d3bd1cab5e27ca50f3dd5b1
BLAKE2b-256 e1c0a0ed7a8a7418b96c78ccc129c6c34b38dbf307c0c2dbcc978675f1d2d916

See more details on using hashes here.

Provenance

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