recipe piawka

The powerful AWK script to calculate population statistics in VCF files with support for varying ploidy and missing data

Homepage:

https://github.com/novikovalab/piawka

Documentation:

https://github.com/novikovalab/piawka/wiki

License:

MIT / MIT

Recipe:

/piawka/meta.yaml

The powerful awk script to calculate π, Dxy (or πxy, or Nei's D) and some more simple stats (Fst, Tajima's D, Ronfort's rho) in VCF files in the command line. Developed to analyze arbitrary-ploidy groups with substantial amounts of missing data. Largely inspired by https://github.com/ksamuk/pixy

package piawka

(downloads) docker_piawka

Versions:
0.8.11-00.8.10-00.8.9-00.8.8-00.8.7-00.8.6-00.8.5-00.8.4-00.8.2-0

0.8.11-00.8.10-00.8.9-00.8.8-00.8.7-00.8.6-00.8.5-00.8.4-00.8.2-00.8.1-00.7.10-0

Depends:
  • on bash

  • on gawk >=5.0.0

  • on tabix

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 piawka

to add into an existing workspace instead, run:

pixi add piawka

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 piawka

Alternatively, to install into a new environment, run:

conda create -n envname piawka

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/piawka:<tag>

(see piawka/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