Skip to main content

A tool to generate PCoA or NMDS plots for plasmids.

Project description

plot_plasmids

PyPI version codecov

A tool to generate PCoA or NMDS plots for plasmids, colored by carbapenemase genes and rep types.

Installation

You can install plot_plasmids from PyPI:

pip install plot-plasmids

Or, for development, you can install it from this repository:

git clone https://github.com/example/plot_plasmids.git
cd plot_plasmids
pip install -e .

Usage

plot_plasmids -d tests/data/dist_matrix.csv -a tests/data/amr.tsv -m tests/data/mob.tsv -o example.png

Example plot

Arguments

  • -d, --dist_matrix: Path to the plasmid distance matrix (CSV or TSV format).
  • -a, --amr: Path to the AMRfinderPlus summary results file (TSV format).
  • -m, --mob: Path to the MOB-typer mob_recon_results.txt file (TSV format).
  • -o, --output: Path for the output plot file (e.g., plot.png, plot.svg).
  • -p, --plot_type: Type of ordination plot to generate (pcoa or nmds). Default is pcoa.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plot_plasmids-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plot_plasmids-0.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file plot_plasmids-0.1.0.tar.gz.

File metadata

  • Download URL: plot_plasmids-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for plot_plasmids-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1630d27e9c0744bdcc2dbc38d0e125ab9b93ddef8528cec9969ca0bf3c6c6687
MD5 f37fdf15a199d74db44f90b85bbe3dca
BLAKE2b-256 96c76871e0413a6b3dc0c6750334ede090f30558e4366eef4301565ac7461e02

See more details on using hashes here.

File details

Details for the file plot_plasmids-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plot_plasmids-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 859b48294112739faac9433529fd30e0eac6e168accbdd63fde79e478ee638fb
MD5 c4bee75a2a6c8b19a05d86f9b4e123ae
BLAKE2b-256 9b8d7a8e7cd2c80cea9b8c66393cc8a18d547795d8d976cb863fa1dc58042a89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page