Skip to main content

Haplotype plot

Generates haplotype plots for VCF files. Requires Python 3 to run.

Build Status codecov

Pypi

You may install haplotype plot from pip:

pip install haplotype-plot

Usage

usage: main.py [-h] -v VCF [-o OUTPUT] -c CHR -p PARENTAL [--phase]
               [--version] [-z {HOM,HET}] [--conf KEY=VALUE [KEY=VALUE ...]]

Creates a haplotype plot from a VCF file

optional arguments:
  -h, --help            show this help message and exit
  -v VCF, --vcf VCF     path to the input sorted VCF file
  -o OUTPUT, --output OUTPUT
                        path to the output PNG haplotype plot file
  -c CHR, --chr CHR     chromosome to plot from the VCF
  -p PARENTAL, --parental PARENTAL
                        sample name from the VCF used as parental haplotype
  --phase               if specified, it will phase the genotypes. An output
                        VCF with the phased genotypes is created
  --version             show program's version number and exit
  -z {HOM,HET}, --zygosis {HOM,HET}
                        zygosis of the input VCF file
  --conf KEY=VALUE [KEY=VALUE ...]
                        set a number of key-value pairs to modify the default
                        plot configuration (do not put spaces before or after
                        the = sign). If a value contains spaces, you should
                        define it with double quotes: foo="this is a
                        sentence". Possible values are: 'start=integer',
                        'end=integer', 'show=boolean', 'xtickslabels=boolean',
                        'size_y=float'

For examples of use please go to the documentation.


Metadata

Release files for haplotype-plot 1.1.3

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

Source distribution (sdist)

Source distribution for haplotype-plot 1.1.3
File Size Uploaded Provenance Actions
haplotype_plot-1.1.3.tar.gz 13.2 kB Without provenance Details for haplotype_plot-1.1.3.tar.gz

Release files / haplotype_plot-1.1.3.tar.gz

Download URL haplotype_plot-1.1.3.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4199eb18c03e8a590ecbbc51303aa28c14207246ae45f9e7594761005ca5b135
BLAKE2b-256 checksum
How to use checksums
5752c3b9196cd795bc6226eb6d3f6810bbfa49bb8dff96915859ebde8210767b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.8

Security for haplotype-plot 1.1.3

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.

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