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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: phylox-1.1.2.tar.gz
  • Upload date:
  • Size: 71.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for phylox-1.1.2.tar.gz
Algorithm Hash digest
SHA256 77d0f379833fe2d30a867995b0ef96bbb72c3cf38c4cbbd5f69f872c2e7f3235
MD5 355dc96bf7f56101d234f278dee6d928
BLAKE2b-256 87373b22a4caae63e9c5e7fe0814b27c69c58e1befac876d45c77e730b86db45

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for phylox-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30855ac01665632f8168dc0010bbcf39bd30a243d2fe5d6530dde96c2b681064
MD5 9c6185b4107296b661b754741ad6e52f
BLAKE2b-256 5444eba1778b7cd83c89289b496deb4bd5d192417f3eec1db1f788761a4979db

See more details on using hashes here.

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