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.3. 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.3 --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. The GUI is included in the normal installation:

phagemine-gui

Your default browser opens when the local server is ready. Keep the terminal open while using the interface. See the GUI guide.

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.

For coding-capacity, short-CDS, alternative-code evidence and optional annotated reference checks, see the annotation reliability guide.

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

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.3
File Size Uploaded Provenance Actions
phagemine-1.3.3.tar.gz 888.8 kB With provenance Details for phagemine-1.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / phagemine-1.3.3.tar.gz

Download URL phagemine-1.3.3.tar.gz
Size 888.8 kB
Tags Source
SHA-256 checksum
How to use checksums
52e3c35ba4cc8d53021add3cd181becc3913274f56381fabfdffc49e358d79e6
BLAKE2b-256 checksum
How to use checksums
c54bd3a1bc84a54d40f194b776350b38b0fd6341cbf13f1940c834a4d8aabc25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 26, 2026.

Transparency log

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

Download URL phagemine-1.3.3-py3-none-any.whl
Size 276.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0578e364769da6f87eb157b4f68f634f384238d5c40a6c46785e73574924f99d
BLAKE2b-256 checksum
How to use checksums
45a743c61a02add45b1902767673563e97e8d771d7e76796b7c8e5c28f5d9002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 26, 2026.

Transparency log

Security for phagemine 1.3.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for phagemine-1.3.3.tar.gz

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 26, 2026.

Transparency log

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.

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