In-browser antimicrobial resistance and virulence gene detection
openpathogen is a free and open-source platform for screening sequencing reads for antimicrobial resistance and virulence genes directly in your browser, using your own computer hardware.
1Reads
Drop FASTQ files here or
Plain or gzipped. For paired-end reads, select R1 and R2 together.
- R1
- R2
Set from your files. Change it if needed.
2Settings
Shows up once your reads are in.
Optional. Adds CABBAGE resistance rates and PointFinder mutations.
Trims adapters and drops low-quality reads.
These are fastp's defaults. Untick a group to skip that step.
Leave blank for auto-detection, or enter your own (5 to 100 bases).
Reads over either limit are dropped.
The databases run on the trimmed reads.
Nanopore: fastp only reports statistics here. No reads are trimmed or dropped.
For samples with human DNA, such as swabs.
A hit with enough identity but too little coverage is listed as a partial gene.
How does openpathogen work?
Runs in your browser
openpathogen uses fastp, KMA, and Deacon compiled to WebAssembly, along with ready-to-use database files. Because of this, your sequencing data is processed entirely on your own computer (which means there are no big, bulky servers anywhere!). No need to worry about accounts, queueing, or data compliance. Once you load the site and download the databases, you can even disconnect from the internet and it will still work, even on a smartphone ;).
Databases
openpathogen screens against ResFinder and CARD for acquired resistance genes, VFDB for virulence factors, and PointFinder for known resistance mutations in ten common pathogens (including E. coli, K. pneumoniae, S. aureus, and Salmonella). Each database downloads once, is checked for integrity, and stays cached in your browser.
Results by drug class
Resistance genes are grouped by drug class and list the antibiotics they affect, based on ResFinder's curated table. If you enter a species, each gene also shows how often isolates of that species carrying it tested resistant in CABBAGE, a database of over 170,000 sequenced and tested isolates.
Frequently asked questions
- Is my sequencing data uploaded anywhere?
- No. Your FASTQ files stay in your browser's memory during the run and are cleared when you close the tab. The site only downloads the app itself, the databases, and any public run you choose to fetch from ENA. You can read more in the privacy section.
- Which inputs are supported?
- You can use plain or gzipped FASTQ files from Illumina (paired-end or single-end) or Oxford Nanopore, up to 1 GB per file. You can also fetch any public run using its SRA or ENA accession number.
- What do the results contain?
- You get a summary report showing resistance genes grouped by drug class, the antibiotics they affect, chromosomal resistance mutations (when your species is covered by PointFinder), drug classes with no acquired resistance genes found, and virulence factors. You can print this report or save it as a PDF. Of course, you can also explore the full results in your browser: per-database gene tables, a gene viewer with coverage plots, consensus sequences, alignments, and variants, the fastp and Deacon reports, and a ZIP file with all raw outputs. You can also download the results in the PHA4GE hAMRonization format to combine with other AMR tools.
- Can openpathogen remove human reads?
- Yes. If you check Remove human reads, Deacon filters out reads that match the human genome directly on your computer before screening the databases. The 239 MB human index downloads once and stays cached in your browser. The report shows how many reads were removed, and you can download the remaining reads. Because Deacon removes most human reads but not every single one, check your local privacy rules before sharing filtered files.
- How do I cite openpathogen?
- A short paper is in preparation. In the meantime, please cite KMA, fastp, CABBAGE, Deacon (if you removed human reads), PointFinder (if you checked point mutations), and the databases you used.