pocpbenchmark
Nextflow workflow for benchmarking proteins alignment tools for improved genus delineation using the Percentage Of Conserved Proteins (POCP)
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 10 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.7%) to scientific vocabulary
Repository
Nextflow workflow for benchmarking proteins alignment tools for improved genus delineation using the Percentage Of Conserved Proteins (POCP)
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Introduction
TL;DR: ClavelLab/pocpbenchmark is a bioinformatics best-practice analysis pipeline for benchmarking proteins alignment tools for improved genus delineation using the Percentage Of Conserved Proteins (POCP).
Genus delineation can be done using Percentage Of Conserved Proteins (POCP), but the original implementation (Qin, Q.L et al. (2014). J Bacteriol) using BLASTP is slow. Here we benchmark here different tools that should be faster than the BLASTP implementation, but we will first evaluate whether the accurracy of the POCP calculation is not sacrificed in the name of computational performance. We rely on the curated taxonomy and the publicly available genomes of the Genome Taxonomy Database.
The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!
A preprint of our work is available at bioRxiv:
Robust genome-based delineation of bacterial genera. Charlie Pauvert, Thomas C.A. Hitch, Thomas Clavel. bioRxiv 2025.03.17.643616; doi: https://doi.org/10.1101/2025.03.17.643616
Pipeline summary
- Shorlist the genomes of the GTDB that have a valid name, are representative genome, belongs to a family with at least two genera, and to a genus with at least ten genomes.
- Compute the total numbers of proteins for each of the shortlisted proteomes makde available by the GTDB.
- Create a list of many-versus-many proteins comparisons to be ran within bacterial family and never with itself.
- Run the actual sequence comparisons using the following tools: blastp (with and without database creation), diamond and MMseqs2.
- Compute two types of POCP for each comparison and each tool based on different filtering strategies of the matches:
- POCP: using only matches with an e-value < 1e−5, a sequence identity > 40%, and an alignable region of the query protein sequence > 50%. This is the original implementation described in the paper and used in Protologger for instance.
- POCPu: same as POCP but using only the unique matches of the query sequences, in the same manner as Martin Hölzer POCP implementation.
- Plot the resulting POCP values against the expected POCP values from blastp
- Evaluate the genus delineation potential of different POCP implementation based on the GTDB taxonomy of the shortlisted genomes.
How to run the benchmark
Due to exponentially large numbers of pairwise comparisons and Java Heap Space errors, we made the decision to run the benchmark within family. Therefore, a preparatory phase of the workflow is needed to list the necessary shortlisted genomes by family.
Preparatory workflow
Install
Nextflow(>=22.10.1)Install any of
Docker,Singularity(you can follow this tutorial),Podman,ShifterorCharliecloudfor full pipeline reproducibility (you can useCondaboth to install Nextflow itself and also to manage software within pipelines. Please only use it within pipelines as a last resort; see docs).Download the workflow
bash
nextflow pull ClavelLab/pocpbenchmark
- Ensure the correct configuration of the workflow
Note that some form of configuration will be needed so that Nextflow knows how to fetch the required software. This is usually done in the form of a config profile (YOURPROFILE in the example command above). You can chain multiple config profiles in a comma-separated string.
- The pipeline comes with config profiles called
docker,singularity,podman,shifter,charliecloudandcondawhich instruct the pipeline to use the named tool for software management. For example,-profile test,docker.- Please check nf-core/configs to see if a custom config file to run nf-core pipelines already exists for your Institute. If so, you can simply use
-profile <institute>in your command. This will enable eitherdockerorsingularityand set the appropriate execution settings for your local compute environment.- If you are using
singularity, please use thenf-core downloadcommand to download images first, before running the pipeline. Setting theNXF_SINGULARITY_CACHEDIRorsingularity.cacheDirNextflow options enables you to store and re-use the images from a central location for future pipeline runs.- If you are using
conda, it is highly recommended to use theNXF_CONDA_CACHEDIRorconda.cacheDirsettings to store the environments in a central location for future pipeline runs.
Note that the default parameters should be the following.
``` params { gtdbproteinsdir = "https://data.gtdb.ecogenomic.org/releases/release214/214.0/genomicfilesreps/gtdbproteinsaarepsr214.tar.gz" gtdbmetadatatsv = "https://data.gtdb.ecogenomic.org/releases/release214/214.0/bac120metadatar214.tar.gz" validnamestsv = "https://raw.githubusercontent.com/thh32/Protologger/master/DSMZ-latest.tab"
}
``
Note that if you already have GTDB database downloaded, you should specifify the path to the data, see [winogradsky.config`](conf/winogradsky.config) for an example.
- Run the preparatory workflow
bash
nextflow run main.nf -entry PREPBENCHMARK -profile winogradsky,docker --outdir benchmark-gtdb
This workflow will create the file benchmark-gtdb/families_to_run.txt, which contains the Nextflow commands to be run for each family in the shortlist.
The file contains for instance the command below:
bash
nextflow run main.nf -entry POCPBENCHMARK -profile winogradsky,docker --outdir benchmark-gtdb-f__Alteromonadaceae --family_shortlist benchmark-gtdb/split_per_family/f__Alteromonadaceae.csv
Especially, the file already specific correctly the name of the output directory (--outdir benchmark-gtdb-f__Alteromonadaceae) as well as the shortlist of genomes for the family (--family_shortlist benchmark-gtdb/split_per_family/f__Alteromonadaceae.csv)
Benchmark workflow
Full benchmark
The full benchmark workflow will then run all 10 methods for the selected family.
```bash
Optional: git checkout master
nextflow run main.nf -entry POCPBENCHMARK -profile winogradsky,docker --outdir benchmark-gtdb-fAlteromonadaceae --familyshortlist benchmark-gtdb/splitper_family/fAlteromonadaceae.csv nextflow run main.nf -entry POCPBENCHMARK -profile winogradsky,docker --outdir benchmark-gtdb-fStreptomycetaceae --familyshortlist benchmark-gtdb/splitper_family/fStreptomycetaceae.csv ```
Only recommended method
A leaner workflow can be run with only the recommended method from our analysis: DIAMOND_VERYSENSITIVE.
bash
git checkout only-pocp-replacement
nextflow run main.nf -entry POCPBENCHMARK -profile winogradsky,docker --outdir benchmark-gtdb-f__Alteromonadaceae --family_shortlist benchmark-gtdb/split_per_family/f__Alteromonadaceae.csv
Selected output files for the analyses
A selection of output files generated by the workflow are used downstream for the analyses. These files are encapsulated in an archive with the command below:
bash
./make_pocp_results_archive.sh benchmark-gtdb-f__Alteromonadaceae
This command will create benchmark-gtdb-f__Alteromonadaceae.zip, and can be applied to all the families that were run for the benchmark.
All the archives created for the article are made available on Zenodo at: https://doi.org/10.5281/zenodo.14974869
Analyses, figures and manuscript workflow
The code for the analyses, figure creations and manuscript is available at: https://github.com/ClavelLab/pocpbenchmark_manuscript
Credits
ClavelLab/pocpbenchmark was originally written by Charlie Pauvert and Thomas C.A. Hitch.
Citations
An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.
This pipeline uses code and infrastructure developed and maintained by the nf-core community, reused here under the MIT license.
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.
Owner
- Name: The Clavel lab
- Login: ClavelLab
- Kind: organization
- Location: Germany
- Website: https://www.ukaachen.de/kliniken-institute/institut-fuer-medizinische-mikrobiologie/forschung/ag-clavel/
- Twitter: clavellab
- Repositories: 1
- Profile: https://github.com/ClavelLab
This is the official GitHub account for the research group of Prof. Thomas Clavel.
Citation (CITATION.cff)
cff-version: 1.2.0
message: Please cite the following work when using this software.
title: Nextflow workflow for benchmarking proteins alignment tools for improved genus delineation using the Percentage Of Conserved Proteins (POCP)
url: https://github.com/ClavelLab/pocpbenchmark
authors:
- family-names: Pauvert
given-names: Charlie
orcid: https://orcid.org/0000-0001-9832-2507
preferred-citation:
type: article
authors:
- family-names: Pauvert
given-names: Charlie
orcid: https://orcid.org/0000-0001-9832-2507
- family-names: Hitch
given-names: Thomas C.A.
orcid: https://orcid.org/0000-0003-2244-7412
- family-names: Clavel
given-names: Thomas
orcid: https://orcid.org/0000-0002-7229-5595
doi: 10.1101/2025.03.17.643616
identifiers:
- type: doi
value: 10.1101/2025.03.17.643616
- type: url
value: http://dx.doi.org/10.1101/2025.03.17.643616
title: Robust genome-based delineation of bacterial genera
url: http://dx.doi.org/10.1101/2025.03.17.643616
database: Crossref
date-published: 2025-03-17
year: 2025
month: 3
publisher:
name: Cold Spring Harbor Laboratory
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0