Skip to main content

🔥🦠 Pyrodigal-gv Stars

A Pyrodigal extension to predict genes in giant viruses and viruses with alternative genetic code.

Actions Coverage License PyPI Bioconda AUR Wheel Python Versions Python Implementations Source GitHub issues Changelog Downloads

🗺️ Overview

Pyrodigal is a Python module that provides Cython bindings to Prodigal, an efficient gene finding method for genomes and metagenomes based on dynamic programming.

pyrodigal-gv is a small extension module for pyrodigal which distributes additional metagenomic models for giant viruses and viruses that use alternative genetic codes, first provided by Antônio Camargo in prodigal-gv. The new models are the following:

  • Acanthamoeba polyphaga mimivirus
  • Paramecium bursaria Chlorella virus
  • Acanthocystis turfacea Chlorella virus
  • VirSorter2's NCLDV gene model
  • Topaz (genetic code 15)
  • Agate (genetic code 15)
  • Gut phages (genetic code 15)
  • Gut phages (genetic code 11) × 5

🔧 Installing

pyrodigal-gv can be installed directly from PyPI as a universal wheel that contains all required data files:

$ pip install pyrodigal-gv

💡 Example

Just use the provided ViralGeneFinder class instead of the usual GeneFinder from pyrodigal, and the new viral models will be used automatically in meta mode:

import Bio.SeqIO
import pyrodigal_gv

record = Bio.SeqIO.read("sequence.gbk", "genbank")

orf_finder = pyrodigal_gv.ViralGeneFinder(meta=True)
for i, pred in enumerate(orf_finder.find_genes(bytes(record.seq))):
    print(f">{record.id}_{i+1}")
    print(pred.translate())

ViralGeneFinder has an additional keyword argument, viral_only, which can be set to True to run gene calling using only viral models.

🔨 Command line

pyrodigal-gv comes with a very simple command line similar to Prodigal and pyrodigal:

$ pyrodigal-gv -i <input_file.fasta> -a <gene_translations.fasta> -d <gene_sequences.fasta>

Contrary to prodigal and pyrodigal, the pyrodigal-gv script runs in meta mode by default! Running in single mode can be done with pyrodigal-gv -p single but the results will be exactly the same as pyrodigal, so why would you ever do this ⁉️

🔖 Citation

If you use the features provided by pyrodigal-gv beyond the base Pyrodigal functionality, please cite the original manuscript detailing these extensions:

Camargo, A. P., Roux, S., Schulz, F., Babinski, M., Xu, Y., Hu, B., ... and Kyrpides, N. C. (2023). Identification of mobile genetic elements with geNomad. Nature Biotechnology, 1-10.

Pyrodigal is scientific software, with a published paper in the Journal of Open-Source Software. Please cite both Pyrodigal and Prodigal if you are using it in an academic work, for instance as:

Pyrodigal (Larralde, 2022), a Python library binding to Prodigal (Hyatt et al., 2010).

Detailed references are available on the Publications page of the online documentation.

💭 Feedback

⚠️ Issue Tracker

Found a bug ? Have an enhancement request ? Head over to the GitHub issue tracker if you need to report or ask something. If you are filing in on a bug, please include as much information as you can about the issue, and try to recreate the same bug in a simple, easily reproducible situation.

🏗️ Contributing

Contributions are more than welcome! See CONTRIBUTING.md for more details.

📋 Changelog

This project adheres to Semantic Versioning and provides a changelog in the Keep a Changelog format.

⚖️ License

This library is provided under the GNU General Public License v3.0. The Prodigal code was written by Doug Hyatt and is distributed under the terms of the GPLv3 as well. See vendor/Prodigal/LICENSE for more information. The giant virus and alternative genetic code virus parameters were created by Antônio Camargo.

This project is in no way not affiliated, sponsored, or otherwise endorsed by the original Prodigal authors. It was developed by Martin Larralde during his PhD project at the European Molecular Biology Laboratory in the Zeller team.

Metadata

Release files for pyrodigal-gv 0.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 pyrodigal-gv 0.3.2
File Size Uploaded
pyrodigal_gv-0.3.2.tar.gz 851.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrodigal-gv 0.3.2
File Interpreter ABI Platform
pyrodigal_gv-0.3.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 1.7 MB

Release files / pyrodigal_gv-0.3.2.tar.gz

Download URL pyrodigal_gv-0.3.2.tar.gz
Size 851.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aeeff43daec2c4aec7830ae2400799aa90bf273bcca86656ef239bee8d7e5ea5
BLAKE2b-256 checksum
How to use checksums
397a07567d680f418f8fc42ff7ce38752f312fd622744755afc11fa21555d265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release files / pyrodigal_gv-0.3.2-py2.py3-none-any.whl

Download URL pyrodigal_gv-0.3.2-py2.py3-none-any.whl
Size 849.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cd6d922d7495ff853a7385ef8abe68498113c177a5ded3d07f93c28b8c990120
BLAKE2b-256 checksum
How to use checksums
d68fe78b92bc836a7b50a3497ee655983561dec4ac2df06136f0c55e59a00144
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

10 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