a package for reconstructing level-1 phylogenetic networks from sequence alignments or 4-leaf subnetworks
Project description
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 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
.fastaor.nexusformat - Squirrel algorithm: reconstruct semi-directed phylogenetic level-1 networks from quarnets
- eNewick export: serialize phylogenetic trees and networks in
eNewickformat - Visualization: plot phylogenetic networks via the optional
vizdependency
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b15d6e1502b2347bc857eb9ceda01b8043c499dce1741f37d1816a6dc723a1a
|
|
| MD5 |
3fb2ca2960a31ae4f0513606a7caadc8
|
|
| BLAKE2b-256 |
89f249e13ab8a8ab38721cf502ae81875d3905529bef4fc4cb84438d08822319
|
Provenance
The following attestation bundles were made for physquirrel-2.0.0.tar.gz:
Publisher:
release.yml on nholtgrefe/squirrel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
physquirrel-2.0.0.tar.gz -
Subject digest:
7b15d6e1502b2347bc857eb9ceda01b8043c499dce1741f37d1816a6dc723a1a - Sigstore transparency entry: 1746278761
- Sigstore integration time:
-
Permalink:
nholtgrefe/squirrel@9430407fed9404ec0809691d342fe67e9eaee905 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/nholtgrefe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9430407fed9404ec0809691d342fe67e9eaee905 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3139eac67021e0f96bd5b3639484dcbb9dd577dce19534883bbee71a79f470b
|
|
| MD5 |
7bbaeae1c2a567d6f59ddd8ced702d9b
|
|
| BLAKE2b-256 |
393b0f3cbc56dbe81a41b46667f3cc3ee7daef592fbf8aee87187f76b1272bd1
|
Provenance
The following attestation bundles were made for physquirrel-2.0.0-py3-none-any.whl:
Publisher:
release.yml on nholtgrefe/squirrel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
physquirrel-2.0.0-py3-none-any.whl -
Subject digest:
a3139eac67021e0f96bd5b3639484dcbb9dd577dce19534883bbee71a79f470b - Sigstore transparency entry: 1746278833
- Sigstore integration time:
-
Permalink:
nholtgrefe/squirrel@9430407fed9404ec0809691d342fe67e9eaee905 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/nholtgrefe
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9430407fed9404ec0809691d342fe67e9eaee905 -
Trigger Event:
push
-
Statement type: