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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nwkfmt-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 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.0.tar.gz
Algorithm Hash digest
SHA256 985c24eb44c7e2dd273790a0221362a49c3db5cd56acd6acaa6a8dddcd63ade2
MD5 ef11e19332c01053713721cd956557be
BLAKE2b-256 9f9947ccefaed93428a4d35fd73ad9b7c5e93efefae7b0def8254dc5e80d75ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nwkfmt-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c59078717224c1913b3e8370d87cdb612f19d77baec90bb0a70c3b0567089dcd
MD5 f2780ec11cc86946648d98498436d518
BLAKE2b-256 68c91ff6485460c4f669b8686fabdcaee5c2cef661771445b005e9ac1e780c29

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