Skip to main content

PhageMine: Bacteriophage Genome Annotation and Comparative Genomics

CI install with bioconda DOI License: MIT

PhageMine is an open-source bioinformatics pipeline for bacteriophage genome annotation, functional evidence integration and comparative genomics. It combines phage-focused gene prediction with protein sequence and profile searches, links functional assignments to their supporting evidence, and produces annotated sequences, evidence tables and an HTML report.

PhageMine uses PHANOTATE for protein-coding gene prediction; PHROGs, VOGDB, Pfam and Swiss-Prot for functional evidence; and INPHARED references for comparative genomic context. It is designed for researchers working in phage genomics, bacteriophage genome annotation, viral genomics and related bioinformatics workflows.

What it does

  • Predicts protein-coding genes with PHANOTATE.
  • Uses PHROGs, VOGDB, Pfam and Swiss-Prot to assess protein function.
  • Reports supporting evidence, conflicting assignments and unknown functions.
  • Processes individual genomes or genome collections.
  • Groups related proteins into families and compares genomes with INPHARED references.
  • Exports GFF3, protein FASTA and GenBank preparation files.

Install

The current stable release is v1.3.1. Python 3.10 or later is required.

Install from Bioconda, which brings the external analysis tools with it:

conda create --name phagemine --channel conda-forge --channel bioconda phagemine
conda activate phagemine
phagemine doctor

Or from PyPI, with the external tools installed separately:

pip install phagemine

To install from source instead:

git clone --branch v1.3.1 --depth 1 https://github.com/emmannaemeka/PhageMine.git
cd PhageMine
conda env create --file environment.yml
conda activate phagemine
python -m pip install .
phagemine doctor

Install the databases before running functional annotation:

phagemine databases install --all

This installs PHROGs, Swiss-Prot, Pfam and VOGDB, plus PMFDB and INPHARED comparative references. Prepared databases require additional disk space beyond the download sizes.

See the installation guide for platform requirements and troubleshooting.

Annotate a genome

Supply a single-genome nucleotide FASTA file:

phagemine run genome.fasta --output results/genome --threads 8

Open results/genome/report.html to browse the results. The output directory also contains annotation.tsv, genes.gff3, proteins.faa and supporting evidence files.

To check the installation with the bundled example:

phagemine run examples/demo_phage.fasta --output results/example

Installed databases are detected automatically. Without them, the example checks gene prediction and report generation; functional evidence is unavailable.

Run phagemine --help for all commands and phagemine run --help for annotation options.

Reading the results

Product names describe the function supported by the available evidence. Proteins without a supported function remain hypothetical or are identified as conserved proteins of unknown function. Gene symbols, protein products and locus identifiers are reported separately.

PhageMine is research software. Functional predictions require review, and confidence labels describe evidence strength rather than calibrated probabilities. See the limitations for interpretation.

Citation and support

Citation information is available in CITATION.cff and the archived release.

Report bugs or request features through GitHub Issues. PhageMine is distributed under the MIT licence.

Metadata

Release files for phagemine 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phagemine 1.3.1
File Size Uploaded
phagemine-1.3.1.tar.gz 869.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phagemine 1.3.1
File Interpreter ABI Platform
phagemine-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / phagemine-1.3.1.tar.gz

Download URL phagemine-1.3.1.tar.gz
Size 869.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b54cb8e633f51310b2f0699a3a339f52659c2f54c10accb9ece67adc7762c0ae
BLAKE2b-256 checksum
How to use checksums
785641a98b9f040b616ab7143b2e0cae26f36f5bc29453b7618be862c7dee23d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / phagemine-1.3.1-py3-none-any.whl

Download URL phagemine-1.3.1-py3-none-any.whl
Size 265.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9f2c188c79413e0a8a8ac3eca3571213c2ce3841eb656afd2fcdcab6359267b
BLAKE2b-256 checksum
How to use checksums
ed16e32eed05f3ae9bfa28c44448654c22f18a899535eb29900da1e7eb39a0cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.2

2 release files

This release

1.3.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page