pMLST (Plasmid Multi-Locus Sequence Typing)
pMLST determines plasmid sequence types from assembled genomes or sequencing reads using pMLST schemes from the CGE pMLST database.
Installation
# Bioconda is preferred; it installs pMLST, BLAST, and KMA.
conda install -c conda-forge -c bioconda pmlst_ssi
# PyPI installs the Python package only. Install blastn/kma separately.
python3 -m pip install pmlst_ssi
# Source install also requires blastn/kma from conda or the system.
git clone https://github.com/ssi-dk/pmlst.git
cd pmlst
python3 -m pip install .
Database
Install or update the pMLST database after installing the tool. With conda, the default destination is the current environment's pMLST database location.
# Default location: conda env DB if conda is active, otherwise user data dir.
pmlst-download-db
# Custom location.
pmlst-download-db /path/to/pmlst_db
# Use a custom DB without passing -p every time.
export PMLST_DB=/path/to/pmlst_db
pMLST looks for the database in this order:
-p/--databasePMLST_DB$CONDA_PREFIX/share/pmlst/db- the platform-specific user data directory from platformdirs
Docker
The Docker image includes pMLST, runtime dependencies, and a bundled database.
docker build -t pmlst .
docker run --rm -v "$PWD:/workdir" pmlst pmlst -i /workdir/test_data/test.fsa -s incf -x
Rebuild the image to update the bundled database:
docker build --no-cache -t pmlst .
Usage
Common command examples:
# Run pMLST on assembled contigs with BLAST.
pmlst -i test_data/test.fsa -s incf -x
# Run with an explicit method executable.
pmlst -i test_data/test.fsa -s incf -p /path/to/pmlst_db -mp /usr/bin/blastn
# Run with custom output and temporary directories.
pmlst -i sample.fasta -s incf -p /path/to/pmlst_db -o results -t tmp -x
Common command-line options:
Required:
-i INPUTFILE [INPUTFILE ...] One or more FASTA or FASTQ input files.
-s SCHEME Scheme, comma-separated schemes, or all.
-pf PF_RESULTS Precomputed PlasmidFinder results.
Use either -s or -pf.
Available schemes: incac, incf, inchi1, inchi2, inci1, incn,
pbssb1-family, shigella.
Output options:
-o OUTDIR Output directory.
-x Write extended text and FASTA outputs.
-xm Like -x, but prefix extended output filenames
with the scheme name for multi-scheme runs.
-so Write simple tab-separated allele profile output.
-q Quiet command-line output.
-t TMP_DIR Temporary directory for external tool output.
Other options:
-p DATABASE pMLST database directory.
-mp METHOD_PATH Path to blastn or kma.
-c COVERAGE Minimum coverage.
-id IDENTITY Minimum identity.
Web-server
A webserver implementing the methods is available at the CGE website and can be found here: https://cge.cbs.dtu.dk/services/pMLST/
Citation
When using the method please cite:
PlasmidFinder and pMLST: in silico detection and typing of plasmids. Carattoli A, Zankari E, Garcia-Fernandez A, Volby Larsen M, Lund O, Villa L, Aarestrup FM, Hasman H. Antimicrob. Agents Chemother. 2014. April 28th. doi: 10.1128/AAC.02412-14 [Epub ahead of print]
References
- Camacho C, Coulouris G, Avagyan V, Ma N, Papadopoulos J, Bealer K, Madden TL. BLAST+: architecture and applications. BMC Bioinformatics 2009; 10:421.
- Clausen PTLC, Aarestrup FM, Lund O. Rapid and precise alignment of raw reads against redundant databases with KMA. BMC Bioinformatics 2018; 19:307.
License
Copyright (c) 2014, Ole Lund, Technical University of Denmark All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for pmlst-ssi 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pmlst_ssi-2.1.1.tar.gz | 21.7 kB | Without provenance | Details for pmlst_ssi-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pmlst_ssi-2.1.1-py3-none-any.whl | Python 3 | none | any | Details for pmlst_ssi-2.1.1-py3-none-any.whl |
Total release size: 47.3 kB
Release files / pmlst_ssi-2.1.1.tar.gz
| Download URL | pmlst_ssi-2.1.1.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e87026cd41bfd268fdc5c1c3a59b824cc9bf6c1d179d559015288a9cb1bf1b1b
|
|
BLAKE2b-256 checksum How to use checksums |
9dd7933e2bea42c38cf677ccedd99c32f6607c7fefdca3f1b54c96a4aa33dd3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / pmlst_ssi-2.1.1-py3-none-any.whl
| Download URL | pmlst_ssi-2.1.1-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54088a5d1c90bbf299571f6346e8c3c8cd73fd9730abebd872db91ffe9cbf372
|
|
BLAKE2b-256 checksum How to use checksums |
1f70a9a78695550a8ceef33554018147a980f30a4bbb3008f6d5da04926de09b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for pmlst-ssi 2.1.1
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.