Skip to content

Commit 1ffb71d

Browse files
authored
Merge pull request #1088 from hugolefeuvre/genes_catalogue_1.2
Update metagenomics-genes-catalogue WF to 1.2 adding conditionnal AMR genes catalogue
2 parents 039ac51 + 8cd98c3 commit 1ffb71d

File tree

4 files changed

+2053
-982
lines changed

4 files changed

+2053
-982
lines changed

workflows/microbiome/metagenomic-genes-catalogue/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# Changelog
22

3+
## [1.2] - 2025-01-13
4+
5+
### Automatic update
6+
7+
* `toolshed.g2.bx.psu.edu/repos/recetox/table_pandas_rename_column/table_pandas_rename_column/2.2.3+galaxy0` should be updated to `toolshed.g2.bx.psu.edu/repos/recetox/table_pandas_rename_column/table_pandas_rename_column/2.2.3+galaxy1`
8+
9+
### Added
10+
11+
* Addition of a Boolean variable allowing users to choose whether users want a full genes catalog analysis or one specific to antibiotic resistance.
12+
* Added a workflow to retrieve the contig IDs and CDSs of antibiotic resistance genes, and to filter genes present on the same contigs as antibiotic resistance genes (if the Boolean value is False).
13+
314
## [1.1] - 2025-12-08
415

516
### Automatic update
17+
618
- `toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_cat/9.5+galaxy0` was updated to `toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_cat/9.5+galaxy2`
719
- `toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_awk_tool/9.5+galaxy0` was updated to `toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_awk_tool/9.5+galaxy2`
820
- `toolshed.g2.bx.psu.edu/repos/iuc/seqkit_translate/seqkit_translate/2.10.0+galaxy0` was updated to `toolshed.g2.bx.psu.edu/repos/iuc/seqkit_translate/seqkit_translate/2.12.0+galaxy0`

workflows/microbiome/metagenomic-genes-catalogue/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,33 @@
22

33
This workflow generates genes catalogue from paired short reads.
44

5-
The workflow supports assembly using **MEGAHIT**.
5+
The workflow supports assembly using **MEGAHIT** and assembly quality control via **QUAST**.
66

77
## Genes catalogue Annotation and Quality Control
88

9-
After assembly, CDS are detected from resulting contigs with **Prodigal** and the potential genes are clustered with **MMseqs2linclust**
9+
After assembly, CDS are detected from resulting contigs with **Prodigal**
1010

11-
The following processing steps are then performed:
11+
Then, depending on your choice of Boolean, this will lead to two different analyses :
12+
13+
If the **Boolean is True** for the complete genes catalog:
14+
15+
All the potential genes are clustered with **MMseqs2linclust**
16+
17+
The following processing steps are then performed on the full clustered genes catalogue :
1218

1319
- **Genes annotation** with Eggnog-mapper
1420
- **Taxonomic Assignment** using MMseqs2taxonomy
15-
- **Assembly Quality Control** via QUAST
1621
- **Abundance Estimation** per sample with CoverM
1722
- **AMR detection** with ABRicate, AMRFinderPlus and starAMR
1823

24+
If the **Boolean is False** for the complete genes catalog, a specific focus is placed on the functions and taxonomies associated with contigs on which an antibiotic resistance gene is detected.
25+
26+
This will initiate the construction of a genes catalogue specific to **antibiotic resistance genes (ARGs)**.
27+
28+
1. **AMR detection** with ABRicate, AMRFinderPlus and starAMR is performed on CDS predicted with **Prodigal.**
29+
2. **Taxonomic and functional annotation** will be performed on CDSs present on the same contig as the ARGs catalogue.
30+
3. **Clustering** is then performed on the detected ARGs, followed by **coverage** of this clustered ARGs catalog with the sample reads.
31+
1932
## Input Requirements
2033

2134
Input reads must be quality-filtered, with host reads removed.

workflows/microbiome/metagenomic-genes-catalogue/metagenomic-genes-catalogue-tests.yml

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,20 @@
1717
eggNOG database: 5.0.2
1818
mmseqs2 taxonomy DB: UniRef50-17-b804f-07112025
1919
starAMR database: staramr_downloaded_07042025_resfinder_d1e607b_pointfinder_694919f_plasmidfinder_3e77502
20-
Virulence genes detection database: vfdb
20+
Virulence genes detection database: resfinder
2121
AMR genes detection database: amrfinderplus_V3.12_2024-05-02.2
22+
Full genes catalogue: false
2223
outputs:
23-
MMseqs2 Taxonomy Filtered:
24+
MMseqs2 Taxonomy Tabular:
2425
asserts:
2526
has_text:
26-
text: "domain"
27+
text: "Bacteria"
2728
has_n_columns:
2829
n: 4
29-
Eggnog Annotation Filtered:
30+
Eggnog Annotations:
3031
asserts:
3132
has_text:
32-
text: "Contig id"
33+
text: "Beta-lactamase class A"
3334
has_n_columns:
3435
n: 21
3536
MMseqs2 Taxonomy Kraken:
@@ -60,37 +61,17 @@
6061
text: "#FILE"
6162
has_n_columns:
6263
n: 15
63-
Amrfinderplus Report:
64-
asserts:
65-
has_text:
66-
text: "Protein identifier"
67-
has_n_columns:
68-
n: 22
69-
Tooldistillator Summarize Collection:
70-
element_tests:
71-
genes_catalogue_test:
72-
asserts:
73-
- that: has_text
74-
text: "megahit_report"
75-
- that: has_text
76-
text: "quast_report"
77-
- that: has_text
78-
text: "prodigal_report"
79-
- that: has_text
80-
text: "coverm_report"
81-
Tooldistillator Summarize Catalogue:
64+
MultiQC Report:
8265
asserts:
83-
- that: has_text
84-
text: "eggnogmapper_report"
85-
- that: has_text
86-
text: "mmseqs2linclust_report"
87-
- that: has_text
88-
text: "staramr_report"
89-
- that: has_text
90-
text: "mmseqs2taxonomy_report"
91-
- that: has_text
92-
text: "abricate_report"
93-
- that: has_text
94-
text: "amrfinderplus_report"
95-
- that: has_text
96-
text: "argnorm_report"
66+
- that: has_text
67+
text: "AMRFinderPlus"
68+
- that: has_text
69+
text: "ABRicate"
70+
- that: has_text
71+
text: "starAMR"
72+
- that: has_text
73+
text: "QUAST"
74+
- that: has_text
75+
text: "MMseqs2 taxonomy"
76+
- that: has_text
77+
text: "EggnogMapper"

0 commit comments

Comments
 (0)