Skip to main content

A nexus (phylogenetics) file reader and writer (.nex, .trees)

Project description

commonnexus

This package provides functionality to read and write the Nexus file format as specified in

Maddison, Swofford, and Maddison (1997). "NEXUS: An extensible file format for systematic information". Systematic Biology. 46 (4): 590–621. doi:10.1093/sysbio/46.4.590

Rather than trying to rip out relevant portions of a Nexus file as quickly as possible, the implementation in commonnexus tries to do "the right thing" according to the specification, i.e. parse a file token by token. Thus, we sacrifice speed for correctness and the ability to support weird edge cases like

Comments do not break tokens. Thus, AssuMP[comment]TiONS is processed as ASSUMPTIONS.

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

commonnexus-0.1.0.tar.gz (25.2 kB view hashes)

Uploaded Source

Built Distribution

commonnexus-0.1.0-py2.py3-none-any.whl (28.0 kB view hashes)

Uploaded Python 2 Python 3

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