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

Uploaded Python 3

File details

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

File metadata

  • Download URL: physquirrel-1.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 f032011d8a7f2732ed6c2ac69e6ddb49c96e57e5e1c0015f6096f3dbb9060645
MD5 5d43be6ce600d2fc3ae83f1a59f34871
BLAKE2b-256 2b47822787b6b97f933c6e610d25818227732d8938abeb1eb72447ce29dd500e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: physquirrel-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 43.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fd21d26704009b89252f08e5ba91eda9ebe9c7e566347ac29e3e08b5a142eac1
MD5 5f4c73738c936be0db90ae01fec9e636
BLAKE2b-256 2c979db1a905e7d6a66e9e5647d8df9e38fe1e746d5231f2951d3c1903e2e0db

See more details on using hashes here.

Provenance

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