Skip to main content

PanDots

Pangenome Dotplots. Visualize pangenome chromosome structures by generating dotplots from sequence aligmnets in PAF format. Sequences should be aligned using the same reference genome.

Installation

In a conda environment

Fist create an environment that includes all dependencies:

conda create -c conda-forge -c bioconda -n pandots \
  python pandas numpy seaborn plotnine=0.12.4 

Then install with pip:

conda activate pandots
pip install pandots

With just pip

Install with pip:

pip install pandots

Usage

Generate input files

Create PAF pairwise alignments to an anchor genome for all genomes using minimap2 or your prefered method. Extract your chromosome of interest from all PAF files and concatenate into a single file.

Visualize with PanDots

Once you have your chromosome PAF file, you can generate the plot.

python pandots.py -p <chromosome.paf> -r <reference_chromosome> -o <output_suffix>

After completion the plot will be saved as <output_prefix>.pandots.svg.

Aditional arguments

  • -p,--paf: path to paf file for a single chromosome.
  • -r,--refchrom: reference chromosome name
  • -o,--outprefix: output prefix name
  • --key: flag to include genome key
  • --pad: integer value to adjust spacing between genomes. Default: 10000000
  • --flip: flag to make paf column 6 the reference. Column 1 is the reference by default.
  • --invert: flag to invert reference coordinates in relation to the pangenome.
  • --reorder: flag to adjust the order of genomes by length and number of invsersions.
  • --recolor: flag to plot using alternating colors.
  • --orient: path to two column orientation table (col1=chromosome name, col2=True/False). Will invert coordinates in relation to reference genome.

License

PanDots is licensed under a Salk Institute BSD license

Metadata

Release files for pandots 0.0.4

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

Source distribution (sdist)

Source distribution for pandots 0.0.4
File Size Uploaded Provenance Actions
pandots-0.0.4.tar.gz 5.4 kB Without provenance Details for pandots-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pandots 0.0.4
File Interpreter ABI Platform Actions
pandots-0.0.4-py3-none-any.whl Python 3 none any Details for pandots-0.0.4-py3-none-any.whl

Total release size: 11.0 kB

Release files / pandots-0.0.4.tar.gz

Download URL pandots-0.0.4.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9fc4190f60e94d10cfc35ebfdfc84bd403cdff382ce159940fe92e88514c3dc8
BLAKE2b-256 checksum
How to use checksums
7fa8350505542e80ebb3e320be2a17e9ac4a1a7bc9a448e76389bc0906f71bb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Release files / pandots-0.0.4-py3-none-any.whl

Download URL pandots-0.0.4-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c9de77be63a320be53c38081c0a5532ba817c166803399e7f277a08c7b4eb6d
BLAKE2b-256 checksum
How to use checksums
7555a115640ce3848026c958012f344842d1262c5eb149bdcaae29498873184b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.1

Security for pandots 0.0.4

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