Skip to main content

A package with tools for constructing, manipulating, and analyzing phylogenetic networks.

Project description

DOI JOSS Documentation Status

PhyloX

PhyloX is a python package with tools for constructing, manipulating, and analyzing phylogenetic networks.

Installation as pypi package phylox is simple via pip or conda:

pip install phylox

You can load the package methods with import phylox in python.

For more information, see the documentation.

Citing PhyloX

For now, simply refer to the github page to cite PhyloX. Registering the software for a DOI is still on the to do list.

Use of NetworkX

The implementation of PhyloX is based on NetworkX (NetworkX is distributed with the 3-clause BSD license):

Aric A. Hagberg, Daniel A. Schult and Pieter J. Swart, “Exploring network structure, dynamics, and function using NetworkX”, in Proceedings of the 7th Python in Science Conference (SciPy2008), Gäel Varoquaux, Travis Vaught, and Jarrod Millman (Eds), (Pasadena, CA USA), pp. 11–15, Aug 2008

Citing specific functions

When citing PhyloX, you are most likely also using specific methods, which can be traced back to their original papers. Please take care to cite the original papers as well. A reference to the original paper should be found in the documentation of the method, or of the module containing the method.

Development

For a development version, simply pull the project and in the home of the project do:

pip install -e .

This installs the phylox package from the source. When you change things in the source, the package gets updated as well.

Release

set new version number in master branch

  • CHANGELOG.md
  • pyproject.toml

release current version

git checkout release
git merge main
git tag [version number]
git push --atomic origin release [version number]

Linting

precommit is yet to be configured, for now, simply run black and isort.

Documentation

Documentation is in the docs folder, and is created uses sphinx.

Requirements

You may need to install the requirements from docs/requirements.txt first. Make sure to use python<=3.11.*, for example:

conda create -n phylox-sphinx
conda activate phylox-sphinx
python install python==3.11.*
pip install -r docs/requirements.txt

Creating documentation

to build the documentation, go to the docs folder and run:

make html

the docs will be in docs/build/html.

If you re-run the build, you can first remove the old autosummary files. If you do not, it will not update them.

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

phylox-1.1.0.tar.gz (71.4 kB view details)

Uploaded Source

Built Distribution

phylox-1.1.0-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

Details for the file phylox-1.1.0.tar.gz.

File metadata

  • Download URL: phylox-1.1.0.tar.gz
  • Upload date:
  • Size: 71.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for phylox-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0e9fa63d553deb45b52398af4b50ee6a35f1cdd026505cc36d09e11fa4aa4b2f
MD5 38315c9b33f564244691bf99ba5e593f
BLAKE2b-256 7854e07345a28c88be7fdcad56c0bb0d5f753ca4cd48aab111653ebcb8f07609

See more details on using hashes here.

File details

Details for the file phylox-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: phylox-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 85.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for phylox-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9623c2fb6515feaa26c2049daecf8744d494727cd6098eef98a731036fe1d0f7
MD5 19a7734f7b89ce5b24c130c80c7acbab
BLAKE2b-256 2c6f658e092cfa6db13672f16036762d483e2aefa2136d2dabdfc003ffc653c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page