Interactive dashboard for exploring 182,362 complete plasmids from PLSDB 2025 (72,556) + NCBI Nucleotide (109,806 additional), powered by a local SQLite database. No API rate limits, instant startup.
Topology, source, kingdom distributions, temporal trends, GC content, and plasmid length distributions across the entire database.
Top 20 host genera with interactive search by genus or species.
163 antimicrobial resistance drug classes and individual gene frequencies coloured by their real drug class from the database.
Interactive circular plasmid map with zoom and hover tooltips. Enter any NCBI accession to visualize:
- CDS genes (forward/reverse strand) with product descriptions
- AMR genes highlighted in red (blaKPC-2, blaTEM, etc.)
- MOB elements (mobilization genes: mobA, traI, etc.)
- Toxin-Antitoxin systems (relE, higA, ccdA/B, vapB, etc.)
- Virulence factors (iutA, sitA, hlyA, etc.)
- QAC resistance (qacE, smr, etc.)
- GC content deviation ring
Works for both PLSDB plasmids and any NCBI GenBank accession (automatic fallback).
Incompatibility group (replicon type) distribution, predicted mobility, relaxase types, and MPF types.
Cross-feature co-occurrence analysis using the entire database:
- AMR Drug Class vs Inc Groups & Mobility -- heatmap and grouped bar
- Heavy Metal Resistance -- mercury, arsenic, copper, silver, tellurium genes and Inc group associations
- Phage & Mobile Elements -- distribution and mobility correlation
- pMLST Distribution -- scheme frequency, alleles, mobility
- Virulence Factors (6,145 plasmids) -- top genes, Inc group and mobility
- Toxin-Antitoxin Systems (40,759 plasmids) -- vapB, ccdA/B, pemI/K from PGAP annotations
- QAC Resistance (7,023 plasmids) -- quaternary ammonium compound resistance vs Inc groups
- Global Plasmid Map -- scatter map coloured by mobility, hover for accession/country/Inc group
- Country Comparison -- mobility and Inc group distribution by top 20 countries
- Temporal Spread Animations -- animated timeline (2000-2024) showing cumulative plasmid reports per country; separate animations for specific Inc groups (IncFIB, IncFII, etc.) and mobility types (conjugative, mobilizable, non-mobilizable)
- Plasmid Host & Source Correlations -- plasmid distribution by host category (Human 11,464 / Animal 5,925 / Soil 1,576 / Water 1,332 / Food 1,059 / Environment 959), with heatmaps for Inc groups and AMR drug classes by host
Search any accession to view metadata: length, GC, topology, taxonomy, source, creation date.
pip install -r requirements.txt
python build_db.py # downloads PLSDB CSVs from Figshare, builds SQLite DB
python app.py # open http://localhost:8050The dashboard uses a local SQLite database (data/plsdb.db, ~200 MB) built from PLSDB Figshare CSV exports including PGAP protein annotations. This eliminates all API calls and enables full-database analysis.
Tables: nuccore (72,556), taxonomy (7,439), typing (72,556), amr (251,138), plasmidfinder (60,619), typing_markers (333,648), pgap_features (613,902), biosample_location (23,522).
heroku create plasmidnet
git push heroku main
heroku openThe bin/post_compile hook automatically downloads PLSDB CSVs from Figshare and builds the SQLite DB during deploy. No large files in git.
- Connect your GitHub repo at render.com
- Create a new Web Service
- Set build command:
pip install -r requirements.txt && bash bin/post_compile - Set start command:
gunicorn app:server --bind 0.0.0.0:$PORT
- Dash + Plotly for interactive visualizations
- SQLite for local full-database queries (72,556 plasmids, 251K AMR, 614K PGAP annotations)
- PLSDB 2025 as data source (version 2024_05_31_v2)
- NCBI GenBank as fallback for plasmid viewer (CDS + GC content)
- Gunicorn for production serving
