Skip to main content

Improved Octo Waddle

An implementation of the balanced parentheses tree structure as described by Cordova and Navarro. This repository is a GPL licensed version of iow.

Install notes

Installation is a two step procedure right now due to the chicken and egg problem of requiring numpy and cython for setup.py to execute. The package is named iow in pypi as "bp" was taken at time of registration.

$ conda create --name bp python=3.8
$ conda activate bp
$ conda install numpy cython
$ pip install iow-gpl

Developer notes

If pulling the source, please note that we use a submodule and Github does not by default bring it down. After a clone, please run:

$ git submodule update --init --recursive

Fragment insertion

BP supports the jplace format. Fragments can be inserted using either fully-resolved or multifurcation mode to resolve multiple placements to the same edge. In fully resolved, the edge placed against is broken N times where N is the number of fragments on the edge. In multifurcation, a new node is constructed as the average of the distal length for the N fragments, and a separate multifurcation node is added which encompasses the placed fragments.

Insertions can be handled by the command line following install:

$ bp placement --help
Usage: bp placement [OPTIONS]

Options:
  --placements PATH               jplace formatted data  [required]
  --output PATH                   Where to write the resulting newick
                                  [required]

  --method [fully-resolved|multifurcating]
                                  Whether to fully resolve or multifurcate
                                  [required]

  --help                          Show this message and exit.

Note that the multifurcating support relies on GPL code derived from the Genesis project.

Metadata

Release files for iow-gpl 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iow-gpl 1.0.6
File Size Uploaded Provenance
iow-gpl-1.0.6.tar.gz 1.3 MB Without provenance Details

Release files / iow-gpl-1.0.6.tar.gz

Download URL iow-gpl-1.0.6.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
b0bab6286a37d16178b936a889689430f2852dced0fff36cb8ed69350ff1c4cc
BLAKE2b-256 checksum
How to use checksums
3b6bbb20e16c72bce0561bd4fd76d49886fa6b5d66544bc6a9d9737f442e2159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.13

Security for iow-gpl 1.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.6 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page