recipe pyeuk

MLST/cgMLST typing, dropout-robust genetic distance estimation, and outbreak clustering for eukaryotic and microbial pathogens.

Homepage:

spond/pyeuk

License:

APACHE / Apache-2.0

Recipe:

/pyeuk/meta.yaml

PyEuk is a Python framework for molecular typing, genetic distance estimation, and foodborne/waterborne outbreak cluster detection in eukaryotic and microbial pathogens, including Cyclospora cayetanensis, Cryptosporidium parvum/hominis, and general MLST/cgMLST schemes. It provides reference-free de novo locus and haplotype discovery from assembled contigs, a weighted identity-by-state (wIBS) distance engine with selectable allele weighting, pairwise-complete dropout tolerance and optional PSD Gram matrix projection, and unsupervised Ward hierarchical clustering with either knee-based selection of the cluster count or a distance-threshold cut for surveillance cohorts whose structure is mostly singletons. An amplicon front end turns aligned reads into the haplotype sheet directly: analysis windows are derived from the reads themselves, and each haplotype is read off a single read that spans the window end to end, so linkage between positions is observed on one molecule rather than inferred across molecules.

package pyeuk#

(downloads) docker_pyeuk

Versions:

0.8.1-0,  0.7.0-0

Depends:
  • on numba >=0.53.0

  • on numpy >=1.20.0

  • on pandas >=1.3.0

  • on pillow >=9

  • on pysam >=0.22

  • on python >=3.9

  • on scikit-learn >=1.0.0

  • on scipy >=1.7.0

Additional platforms:

Installation#

You need a conda-compatible package manager (currently either pixi, conda, or micromamba) and the Bioconda channel already activated (see Usage). Below, we show how to install with either pixi or conda (for micromamba and mamba, commands are essentially the same as with conda).

Pixi#

With pixi installed and the Bioconda channel set up (see Usage), to install globally, run:

pixi global install pyeuk

to add into an existing workspace instead, run:

pixi add pyeuk

In the latter case, make sure to first add bioconda and conda-forge to the channels considered by the workspace:

pixi workspace channel add conda-forge
pixi workspace channel add bioconda

Conda#

With conda installed and the Bioconda channel set up (see Usage), to install into an existing and activated environment, run:

conda install pyeuk

Alternatively, to install into a new environment, run:

conda create -n envname pyeuk

with envname being the name of the desired environment.

Container#

Alternatively, every Bioconda package is available as a container image for usage with your preferred container runtime. For e.g. docker, run:

docker pull quay.io/biocontainers/pyeuk:<tag>

(see pyeuk/tags for valid values for <tag>).

Integrated deployment#

Finally, note that many scientific workflow management systems directly integrate both conda and container based software deployment. Thus, workflow steps can be often directly annotated to use the package, leading to automatic deployment by the respective workflow management system, thereby improving reproducibility and transparency. Check the documentation of your workflow management system to find out about the integration.

Download stats

.. Create all the necessary plots for each package by loading all the correct specs and data. Important points on the place and implementation of this script block: 1. It is here, and not in a separate HTML file, as it needs to have the `package.name` rendered in for each package. 2. All packages are handled in one `window.onload` function, as multiple instances of this throughout a (rendered) HTML just overwrite each other.