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.2. 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.2 --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.2

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.2
File Size Uploaded
phagemine-1.3.2.tar.gz 870.8 kB Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / phagemine-1.3.2.tar.gz

Download URL phagemine-1.3.2.tar.gz
Size 870.8 kB
Tags Source
SHA-256 checksum
How to use checksums
643152f31ec312b71dc1e1b1fdafb06c29b28da6b87169dd87fae66205b78a3c
BLAKE2b-256 checksum
How to use checksums
4bc3a6e53d7c21dde4580fe3b82fa5b5c44e6be8b4a8e33bec94ee474a307113
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 13, 2026.

Transparency log

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

Download URL phagemine-1.3.2-py3-none-any.whl
Size 265.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60100a2570ece0fb11d653005c6b00902e221070078faa4e013d44a346b09a66
BLAKE2b-256 checksum
How to use checksums
2e0982740c84bcca06c3da746a1b2714f406417d73ac0696ca1057c101ad85de
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 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 release files

1.3.1

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