Skip to main content

Simple Newick tree validator and formatter

Project description

Newick Tree Validator and Formatter

Simple utility to validate and format Newick trees.

Usage

Validation without formatting:

./main.py <tree.nwk>

In place formatting:

./main.py <tree.nwk> --inplace

Outputting formatted tree to a separate file:

./main.py <tree.nwk> --outfile <output.nwk>

Outputting list of terminal nodes into a text file:

./main.py <tree.nwk> --terminals <terminals.txt>

Requirements

  • Python
  • Typer
  • BioPython

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

nwkfmt-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

nwkfmt-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file nwkfmt-0.1.1.tar.gz.

File metadata

  • Download URL: nwkfmt-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Darwin/22.1.0

File hashes

Hashes for nwkfmt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2436988529f07aa2b6824da73a2bdd84297b79e2a89d08a854c4f4c9dc057dcd
MD5 328f103bae3cdf7cd277d9096125d73c
BLAKE2b-256 95cf54a5d5e06eed4036faff6c2323a1ce2d21cda54f442d61a17f58046be6de

See more details on using hashes here.

File details

Details for the file nwkfmt-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nwkfmt-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Darwin/22.1.0

File hashes

Hashes for nwkfmt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a6af70532a887200fcfc0775ed93adc7d14f61a74b7918ef2311f493ae6830
MD5 95c215999ca1acbec54be6cf69c38377
BLAKE2b-256 baf9abfc0dce82f66be7a6a11c33b0b8f127630bdc17473792b5efb1abad0010

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