
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
A tool to generate PCoA or NMDS plots for plasmids, colored by carbapenemase genes and rep types.
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 .
plot_plasmids
has two subcommands: prep
and plot
.
prep
The prep
command takes the raw output from skani
, mob_typer
, and amrfinderplus
and prepares the files for the plot
command.
plot_plasmids prep --skani <skani_matrix> --mob_dir <mob_dir> --amr_dir <amr_dir> --output_dir <out_dir>
--skani
: Path to the skani triangle
output file.--mob_dir
: Directory containing the mob_typer
output files.--amr_dir
: Directory containing the amrfinderplus
output files.--output_dir
: Directory to save the processed files.plot
The plot
command generates the PCoA or NMDS plot.
plot_plasmids plot -d <distance_matrix> -a <amr_results> -m <mob_results> -o <plot.png>
-d
, --dist_matrix
: Path to the plasmid distance matrix (CSV or TSV format), as generated by the prep
command.-a
, --amr
: Path to the AMRfinderPlus summary results file (TSV format), as generated by the prep
command.-m
, --mob
: Path to the MOB-typer results file (TSV format), as generated by the prep
command.-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
.FAQs
A tool to generate PCoA or NMDS plots for plasmids.
We found that plot-plasmids demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.