Skip to main content
Wellcome Open Research logoLink to Wellcome Open Research
. 2024 Nov 27;8:475. Originally published 2023 Oct 18. [Version 2] doi: 10.12688/wellcomeopenres.19589.2

plastiC: A pipeline for recovery and characterization of plastid genomes from metagenomic datasets

Ellen S Cameron 1,2,a, Mark L Blaxter 2, Robert D Finn 1,b
PMCID: PMC12498322  PMID: 41059288

Version Changes

Revised. Amendments from Version 1

In this revision, we have focused on updating the usability of our workflow for others in the community. Specific changes can be found in our GitHub repository and include:  1) Improved documentation  2) Switching software dependencies from a conda environment to singularity to simplify the installation process.  In addition to this, we also map our recovered plastid genomes in our case study to a reference  Trebouxia sp. plastid genome.

Abstract

The use of culture independent molecular methods, often referred to as metagenomics, have revolutionized the ability to explore and characterize microbial communities from diverse environmental sources. Most metagenomic workflows have been developed for identification of prokaryotic and eukaryotic community constituents, but tools for identification of plastid genomes are lacking. The endosymbiotic origin of plastids also poses challenges where plastid metagenomic assembled genomes (MAGs) may be misidentified as low-quality bacterial MAGs. Current tools are limited to classification of contigs as plastid and do not provide further assessment or characterization of plastid MAGs. plastiC is a workflow that allows users to identify plastid genomes in metagenome assemblies, assess completeness, and predict taxonomic association from diverse environmental sources. plastiC is a Snakemake workflow available at https://github.com/Finn-Lab/plastiC. We demonstrate the utility of this workflow with the successful recover of algal plastid MAGs from publicly available lichen metagenomes.

Keywords: chloroplasts, metagenomics, chloroplast genome, Snakemake workflow, metagenomic assembled genomes

Introduction

Culture-independent sequencing of environmental samples, often referred to as metagenomics, has revolutionised the field of microbial ecology, allowing taxonomic and functional characterization of microbial communities from diverse environmental sources. A variety of bioinformatic tools and pipelines are available for the generation and quality estimation of prokaryotic and eukaryotic metagenomic assembled genomes (MAGs) ( Parks et al., 2015; Saary et al., 2020). Organellar genomes are essential to the functioning of eukaryotic organisms, but are poorly assessed in current workflows. Plastid (or chloroplast) genomes are of particular interest because of their roles in primary production, yet the diversity of plastids present in metagenomic data is usually ignored and constrains the full understanding of community structure and function. In standard metagenomic workflows, plastid MAGs may be mistakenly flagged as low-quality bacterial genomes as they lack all of the single copy bacterial marker genes due to the endosymbiotic origin of organelles resulting in potential discard from downstream analyses.

Most existing MAG quality assessment methods are rooted in single-copy marker gene (SCMG) approaches. However, SCMG approaches are not easily transferred to the genomes of plastid organelles due to their reduced genome size, variable gene content (especially driven by organellar-nuclear gene transfer) and large repetitive regions. Thus, alternative methods for quality evaluation are required. Here, we present plastiC, a Snakemake ( Mölder et al., 2021) workflow for the identification and evaluation of plastids in metagenomic samples - see Software availability ( Cameron, 2023). and demonstrate the utility of this workflow to successfully recover algal plastid genomes from lichen metagenomes.

Methods

Implementation

plastiC is designed to analyse contigs generated from metagenomic assembly workflows or high fidelity long-reads ( Figure 1). Contigs from these assemblies can be sorted into bins using intrinsic sequence and coverage features, and these bins processed to identify those that putatively correspond to prokaryotic and/or eukaryotic MAGs. These MAGs are typically processed to identify likely taxonomic affiliation derived from marker gene placement, and their quality ( i.e. completeness and contamination) assessed. While plastiC can be run on raw assemblies, we recommend removing contigs that are assigned to “high quality” bins/MAGs before analysis. Putative plastid contigs are identified using Tiara ( Karlicki et al., 2022). As plastid genomes are expected to have consistent coverage and tetranucleotide frequency, the assembly is subsequently (re-)binned using metaBAT2 (RRID: SCR_019134) ( Kang et al., 2019) with a reduced bin size of 50 kb to ensure that putative plastid bins are retained. The resulting bins are subsequently scanned for plastid contigs as identified by Tiara, and bins containing more than a user-specified threshold (default: 90%) of plastid sequences are retained as probable plastid bins.

Figure 1. Data preparation and overall workflow for plastic.

Figure 1.

Users provide metagenomic assemblies or high fidelity long reads from which putative plastid bins are identified. A summary report and FASTA files of identified marker loci are generated for each sample.

Machine learning algorithms trained on Kyoto Encyclopedia of Genes and Genomes (KEGG) module completeness were recently demonstrated as an effective approach for estimating metagenomic bin completeness ( Chklovski et al., 2022) and we adapted this approach in plastiC. Prodigal (RRID: SCR_021246) ( Hyatt et al., 2010) is used to predict genes in the likely plastid bins, and these predictions are compared to the UniRef100 database ( Bateman et al., 2021) using DIAMOND blastp (RRID: SCR_016071) ( Buchfink et al., 2021) to obtain KEGG annotations ( Kanehisa et al., 2016). plastiC then uses the KEGG annotations to calculate KEGG module coverage, and thereby estimate plastid completeness. Due to the presence of shared metabolic pathways and genes between plastid and bacterial chromosomes, bacterial bins may also score as highly complete using this approach, hence the requirement to remove bacterial MAGs before running plastiC.

Importantly, plastiC also identifies the potential eukaryotic source of the plastid. plastiC initially performs a taxonomic classification on the plastid contigs using CAT ( von Meijenfeldt et al., 2019) and additionally searches for taxonomic marker genes using hmmer (for rbcL) (RRID: SCR_005305) ( Eddy, 2022) and barrnap (for rRNA loci) (RRID: SCR_015995) ( Seeman, 2022). These loci can be used for further taxonomic analyses. As outputs, plastiC produces report files summarising bin span, estimated completeness, and taxonomic allocation for each putative plastid bin, as well as FASTA files of the marker loci identified.

Model training, testing and validation

Reference protein sequences from complete plastid genomes available in RefSeq (n = 2633) using Entrez Direct ( Kans, 2023) were downloaded on 2022-11-2 (see Underlying data). One tenth (261) of these references were randomly removed to generate an independent testing set. The training set (n = 2372) was further refined to exclude any reference genomes that were smaller than the median plastid genome size of protists (94 kb) to ensure that outlier small genomes do not impact the training of the model for a final training set of 2279 plastid genomes. DIAMOND blastp was run on both training and testing datasets with UniRef100 to obtain KEGG annotations, which were used to calculate KEGG module completeness based on identified KEGG hits. For training sets, reference genome KEGG annotation counts were subsampled without replacement to create simulated examples of plastid genomes with lower levels of completeness ranging from 0 – 100% in increments of 5%. Test reference genomes were also subsampled to create simulated examples to validate the robustness of the completeness estimates ranging from 10 – 100% in increments of 10%.

Scikit-learn (RRID: SCR_002577) was utilised to develop and validate machine learning models for estimating metagenomic plastid genome completeness. Specifically, Ada boosting, gradient boosting and random forest regressions were evaluated to determine the effectiveness for estimating completeness of plastid genomes. Training data were split 90 training set:10 test set. K-folds (n=5) cross-validation with shuffling was performed to cross-validate the model.

Each model was tested on reference plastid genomes that were not used in the training set. In addition to the test plastid genome set, KEGG module completeness was predicted for a set of mitochondrial genomes (n = 142) to evaluate whether the model could accurately differentiate between different organellar genomes. Across the cross-validated model set, all three regression models were able to differentiate between plastid and mitochondrial completeness ( i.e., predict low completeness for mitochondria; high completeness for plastids; Table 1). However, the Ada boosting regression had the lowest plastid completeness estimate (91.79%) and highest mitochondrial estimate (5.62%) of tested models. In combination with the higher mean-squared error, this suggests that the Ada boosting regression model is not the best performing model for application in plastid completeness estimates.

Table 1. Median predicted completeness values ± standard deviation on whole plastid and mitochondrial reference genomes with k-fold cross validation (n = 5; shuffled) to ensure differentiation between organellar genome completeness scores.

Ada boosting regression Gradient boosting
regression
Random forest regression
Plastids Mitochondria Plastids Mitochondria Plastids Mitochondria
CV1 91.79 ± 6.36 5.6 ± 0.00 98.11 ± 7.27 0.43 ± 0.00 99.06 ± 6.97 0.06 ± 0.00
CV2 91.98 ± 6.42 5.40 ± 0.00 97.97 ± 7.49 0.52 ± 0.00 99.00 ± 7.17 0.05 ± 0.00
CV3 92.15 ± 6.43 4.83 ± 0.00 97.99 ± 7.11 0.47 ± 0.00 99.08 ± 6.97 0.05 ± 0.00
CV4 91.54 ± 6.31 6.81 ± 0.00 98.10 ± 7.60 0.45 ± 0.00 98.98 ± 7.21 0.05 ± 0.00
CV5 91.51 ± 6.55 5.49 ± 0.00 97.95 ± 7.39 0.44 ± 1.73 99.05 ± 7.09 0.05 ± 0.00
Mean 91.79 ± 6.41 5.62 ± 0.00 98.02 ± 7.36 0.45 ± 0.35 99.03 ± 7.08 0.053 ± 0.00

The performance of models with plastids of varying completeness was assessed by subsampling the test genomes to simulate varying levels of completeness. Predicted completeness values were compared to expected values at the subset levels to determine efficacy of the model on accurate estimation. Median prediction values and standard deviation was calculated for each iteration of the model produced through cross-validation ( Table 2). A linear regression was performed ( Figure 2; Table 3) on the predicted completeness compared to expected value and Pearson’s correlation R 2 was calculated to identify similarity between predicted and expected completeness scores. All regressions and correlation coefficients were statistically significant (p < 2e-16) but the gradient boosting regression model showed the highest correlation between expected and predicted values. To conclude evaluation of the effectiveness of each model, differences between the expected and predicted values for each cross-validated model iteration were calculated ( Figure 3). The random forest regression model had the best performing mean-squared error (0.0001), highest completeness estimates for whole plastid genomes (99.03%) and lowest completeness estimates for whole mitochondrial genomes (0.053%). However, it frequently overestimated completeness (median difference = -7.5). Based on the correlation between expected and predicted and median value of discrepancy between predicted and expected values (n = 0.37), the gradient boosting regression model was chosen as the best-performing model for plastid genome completeness estimates.

Figure 2. Predicted completeness estimates on test plastid genomes (not used in model training) with three different regression models: Ada boosting, gradient boosting and random forest.

Figure 2.

The resulting linear equation on linear regression of predicted ~ expected values is plotted to demonstrate the predictive performance of the different models.

Figure 3. Differences in expected completeness of subsampled plastid reference genomes and predicted completeness.

Figure 3.

Positive values in difference indicate underestimation of plastid predicted completeness while negative values represent overestimation. Gradient boosting regression consistently had the smallest median discrepancy between predicted values and expected value (0.37), while random forest had the largest discrepancy frequently resulting in the overestimation of predicted plastid completeness (median = -7.5). Ada boosting regression performed moderately (median = -2.12).

Table 2. Median predicted completeness values for plastid reference genomes in independent testing validation set (n = 261).

Test set plastid references were subsampled down to 10% to evaluate the quality of completeness estimates provided to non-complete genomes.

Expected
Completeness
Ada
Boosting
Regression
Gradient
Boosting
Regression
Random
Forest
Regression
100 92.56 ± 6.56 99.28 ± 7.41 100.00 ± 7.11
90 92.33 ± 6.58 95.78 ± 7.34 95.05 ± 6.72
80 85.07 ± 8.13 83.99 ± 8.39 87.50 ± 8.40
70 64.92 ± 7.85 69.63 ± 6.51 82.25 ± 7.95
60 49.21 ± 6.28 51.05 ± 5.22 60.00 ± 4.69
50 74.42 ± 7.65 68.87 ± 7.50 75.00 ± 7.07
40 49.04 ± 5.21 38.66 ± 5.03 57.10 ± 6.49
30 27.21 ± 3.88 36.73 ± 5.08 57.35 ± 8.76
20 28.68 ± 11.20 25.89 ± 6.73 34.80 ± 8.99
10 11.63 ± 4.71 8.34 ± 2.66 6.79 ± 6.18

Table 3. Linear regression and Pearson correlation as calculated comparing the predicted completeness to expected completeness on the independent test plastid genome estimations.

Ada Boosting
Regression
Gradient
Boosting
Regression
Random Forest
Regression
Linear Equation y = 0.88x + 9.19 y = 0.95x + 4.58 y = 0.87x + 16.85
Adjusted R 2 0.83 0.89 0.83
p-value (Linear regression) <2.20e-16 <2.20e-16 <2.20e-16
Pearson’s Correlation 0.91 0.95 0.91
p-value (Pearson’s) <2.20e-16 <2.20e-16 <2.20e-16

Operation

plastiC is a Snakemake workflow which automates the process of identification, assessment and taxonomic allocation of plastid genomes in metagenomic samples written using Python and bash. Specifically, this workflow contains eight rules (i.e., steps), including an optional mapping step. Users are required to populate the config. yaml providing information on paths to directories and files, and options for workflow customization (e.g., filter thresholds, inclusion of mapping rule). plastiC requires one of the following for each sample to be analysed: i) a metagenomic assembly, ii) high fidelity long-reads. If available, users also have the option to provide a bam file for mapped reads to the assembly. Users may opt to decrease the minimum percentage of plastid sequence required to be classified as a probable plastid bin ( min_plastid_content) to increase or decrease stringency as appropriate for individual use cases.

Since plastiC runs on previously generated metagenomic assemblies, memory requirements are typically low but may vary depend on the nature of the sample. In development, the majority of rules required less than 1 GB RAM for successful completion with the exception of i) contig classification using Tiara (<5 GB RAM) and ii) taxonomic source classification using CAT (<8 GB RAM). These memory requirements may vary depending on sample size and complexity of the community. Users may specify computational resource allocations for individual rules and execution on a high-performance compute cluster in the cluster.yaml.

Use cases

To demonstrate the effectiveness of plastiC on metagenomic data, lichen metagenomes were downloaded from the project accession PRJNA646656 (n = 13; Smith et al., 2020) in the European Nucleotide Archive (see Underlying data). Lichens are composite organisms composed of a mutualist symbiotic association between a primary fungal partner (mycobiont) and algal partner (photobiont). Chlorophyta (green alga) taxa are the photobionts in many lichen species and thus plastids should be present in lichen metagenomic samples. The analysed samples were derived from 10 species of lichen spanning six genera ( Table 4) which are all expected to contain Trebouxia, a green algal genus, as their primary photobiont. Metagenomic assemblies for these samples were generated as part of a large survey of lichen microbial symbionts ( Tagirdzhanova et al., 2024). In brief, metagenomic datasets were filtered using fastp and human contamination was removed using BMTagger. Quality-controlled reads were assembled using metaSPAdes. These assemblies were used with plastiC to recover plastid genomes.

Plastid contigs were identified in all 13 samples using Tiara ( Table 4). Metagenomic assemblies were binned using metaBAT2 with the reduced bin size threshold of 50 kb. These bins were then classified as being putative plastid genomes based on the fraction of plastid contigs. Bins that were comprised of >90% plastid nucleotides were retained as probable plastid bins for further analysis. Of the 13 lichen metagenomes analysed, a single plastid bin was identified in 7 of them ( Table 5). For the remaining six samples, plastid contigs were not successfully binned and were retained in the unbinned portion with other sequences.

Table 4. Lichen metagenome assembly and binning information.

Metagenomes were assembled into contigs and these assemblies were used to identify plastid contigs using Tiara and for binning with metaBAT2. Probable plastid bins were identified based on the distribution and location of plastid contigs within bins, with a threshold of >90% to be retained for downstream analyses.

Run Accession Scientific Name Total
Contigs
Plastid
Contigs
Total
Bins
Probable
Plastid
Bins
SRR12240187 Xanthoparmelia
chlorchroa
190210 12 15 1
SRR12240188 Xanthoparmelia
chlorochroa
115748 12 18 1
SRR12240177 Xanthoparmelia
maricopensis
364371 20 23 1
SRR12240174 Xanthoparmelia
neocumberlandia
253456 108 23 0
SRR12240175 Xanthoparmelia
neocumberlandia
171912 93 13 1
SRR12240180 Xanthopermelia
chlorochoa
164812 14 20 1
SRR12240179 Xanthopermelia
mexicana
253280 3 24 1
SRR12240178 Xanthopermelia
plittii
190261 81 17 1
SRR12240185 Mobergia
calculiformis
129614 505 28 1
SRR12240183 Physcia biziana 330121 64 27 0
SRR12240182 Physciella chloantha 650113 31 26 0
SRR12240181 Rinodina sp 170759 207 28 0
SRR12240184 Oxernella
safavidorum
455310 587 22 0

Table 5. Probable plastid bin characteristics including bin span, total contig count and number of plastid contigs.

Completeness estimates were performed based on KEGG module coverage and gradient boosting regression, and taxonomic association of plastid genomes performed with CAT, and coverage of a reference chloroplast genome from a Trebouxia chloroplast genome.

Run Accession Bin Span Total
Contig
Count
Number
of Plastid
Contigs
Completeness
Estimate
Taxonomic
Association
Coverage
of Ref. NC_
045839.1
SRR12240187 231882 1 1 96.1 Trebouxia 23.6
SRR12240188 231734 2 2 96.1 Trebouxia 23.7
SRR12240177 238137 10 10 95.9 Trebouxia 26.6
SRR12240174 N/A N/A N/A N/A N/A N/A
SRR12240175 N/A N/A N/A N/A N/A N/A
SRR12240180 254207 5 5 96.1 Trebouxia 27.3
SRR12240179 258520 1 1 96.4 Trebouxia 30.0
SRR12240178 64547 11 10 10.8 Trebouxia 7.4
SRR12240185 77893 9 8 19.1 Trebouxia 12.1
SRR12240183 N/A N/A N/A N/A N/A N/A
SRR12240182 N/A N/A N/A N/A N/A N/A
SRR12240181 N/A N/A N/A N/A N/A N/A
SRR12240184 N/A N/A N/A N/A N/A N/A

Taxonomic source prediction was performed on the putative plastid bins. All plastid bins identified in the sample were attributed to the genus Trebouxia, which corresponds with expectations of the photobiont in these lichens being a trebouxoid green alga. Plastid bins ranged in estimated completeness from 10.8 to 96.4% and completeness was positively correlated to the bin span in these example samples ( Figure 4). Identified plastid bins were mapped to a reference Trebouxia lichen photobiont genome ( Martínez-Alberola et al., 2020) with minimap2 ( Li, 2018) and coverage calculated with bedtools ( Quinlan & Hall, 2010).

Figure 4. Recovered Trebouxia plastid metagenomic assembled genomes (MAGs) from lichen metagenomes.

Figure 4.

Samples with lower completeness plastid MAGs correlate with smaller bin sizes suggesting incomplete plastid genome content present in metagenomic data.

Discussion

Currently, metagenomic characterization of plastid genomes is limited to the identification of plastid contigs using Tiara. However, only identifying plastid contigs prevents full disentanglement of metagenomic datasets, including the potential presence of multiple plastid genomes arising from different sources. plastiC uniquely provides users with the opportunity to characterize plastid genomes including separation into independent plastid genomes and source classification to inform on present eukaryotic photosynthetic organisms. Notably, this is the first tool to provide a completeness estimate for plastid genomes from metagenomic sources. The high copy number and small genome size of plastids may permit easier recovery and serve as a proxy for the identification of the presence of eukaryotes which may not have sufficient genomic signal to be recovered as a high-quality eukaryotic MAG, and facilitate targeted coassembly of samples, based on common plastid composition. Furthermore, plastiC offers the potential to expand reference databases with metagenomic derived plastids. plastiC will support characterization of plastids in diverse ecological contexts including, for example, symbiotic interactions (e.g., lichens as demonstrated in the Use cases), complex marine ecosystems and characterisation of components of herbivore diets.

Acknowledgements

We would like to acknowledge Paul Saary for discussions on metagenomic quality estimation and Richard Challis for advice on the production of user-friendly Snakemake workflows. A preprint version of this article is available on bioRxiv, here.

Funding Statement

This work was supported by EMBL (European Molecular Biology Laboratory) core funds. The authors were supported by Wellcome [2205040].

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

[version 2; peer review: 1 approved, 2 approved with reservations]

Data availability

Underlying data

RefSeq accession numbers for model training and testing are available on the plastiC GitHub repository: https://github.com/Finn-Lab/plastiC/tree/main/scripts/model_training/accession_lists.

To demonstrate the effectiveness of plastiC in the recovery and characterisation of plastid genomes from metagenomic samples, we used publicly available lichen reads from the European Nucleotide Archive (ENA), available under the project accession: PRJNA646656.

Software availability

Source code available from: https://github.com/Finn-Lab/plastiC

Archived source code at time of publication: https://doi.org/10.5281/zenodo.7950626 ( Cameron, 2023).

License: GPL-3.0-only

References

  1. Bateman A, Martin MJ, Orchard S, et al. : UniProt: the universal protein knowledgebase in 2021. Nucleic Acids Res. 2021;49(D1):D480–D489. 10.1093/nar/gkaa1100 [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Buchfink B, Reuter K, Drost HG: Sensitive protein alignments at Tree-of-Life scale using DIAMOND. Nat Methods. 2021;18(4):366–368. 10.1038/s41592-021-01101-x [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Cameron ES: Finn-Lab/plastiC: Initial Release of plastiC - Archivable (v0.1.1). Zenodo. [software].2023. 10.5281/zenodo.7950626 [DOI] [Google Scholar]
  4. Chklovski A, Parks DH, Woodcroft BJ, et al. : CheckM2: a rapid, scalable and accurate tool for assessing microbial genome quality using machine learning. bioRxiv. 2022. 10.1101/2022.07.11.499243 [DOI] [PubMed] [Google Scholar]
  5. Eddy S: HMMER: biosequence analysis using profile hidden Markov models.2022. Reference Source
  6. Hyatt D, Chen GL, Locascio PF, et al. : Prodigal: prokaryotic gene recognition and translation initiation site identification. BMC Bioinformatics. 2010;11: 119. 10.1186/1471-2105-11-119 [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Kanehisa M, Sato Y, Kawashima M, et al. : KEGG as a reference resource for gene and protein annotation. Nucleic Acids Res. 2016;44(D1):D457–D462. 10.1093/nar/gkv1070 [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Kang DD, Li F, Kirton E, et al. : MetaBAT 2: an adaptive binning algorithm for robust and efficient genome reconstruction from metagenome assemblies. PeerJ. 2019;7: e7359. 10.7717/peerj.7359 [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Kans J: Entrez Direct: E-utilities on the Unix Command Line. In: Entrez Programming Utilities Help [Internet]. Bethesda (MD): National Center for Biotechnology Information (US); 2010.2023. Reference Source [Google Scholar]
  10. Karlicki M, Antonowicz S, Karnkowska A: Tiara: deep learning-based classification system for eukaryotic sequences. Bioinformatics. 2022;38(2):344–350. 10.1093/bioinformatics/btab672 [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Li H: Minimap2: pairwise alignment for nucleotide sequences. Bioinformatics. 2018;34(18):3094–3100. 10.1093/bioinformatics/bty191 [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Martínez-Alberola F, Barreno E, Casano LM, et al. : The chloroplast genome of the lichen-symbiont microalga Trebouxia sp. Tr9 (Trebouxiophyceae, Chlorophyta) shows short inverted repeats with a single gene and loss of the rps4 gene, which is encoded by the nucleus. J Phycol. 2020;56(1):170–184. 10.1111/jpy.12928 [DOI] [PubMed] [Google Scholar]
  13. Mölder F, Jablonski KP, Letcher B, et al. : Sustainable data analysis with Snakemake [version 2; peer review: 2 approved]. F1000Res. 2021;10:33. 10.12688/f1000research.29032.2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Parks DH, Imelfort M, Skennerton CT, et al. : CheckM: assessing the quality of microbial genomes recovered from isolates, single cells, and metagenomes. Genome Res. 2015;25(7):1043–1055. 10.1101/gr.186072.114 [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Quinlan AR, Hall IM: BEDTools: a flexible suite of utilities for comparing genomic features. Bioinformatics. 2010;26(6):841–842. 10.1093/bioinformatics/btq033 [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Saary P, Mitchell AL, Finn RD: Estimating the quality of eukaryotic genomes recovered from metagenomic analysis with EukCC. Genome Biol. 2020;21(1): 244. 10.1186/s13059-020-02155-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Seeman T: barrnap 0.9: rapid ribosomal RNA prediction.2022. Reference Source
  18. Smith HB, Dal Grande F, Muggia L, et al. : Metagenomic data reveal diverse fungal and algal communities associated with the lichen symbiosis. Symbiosis. 2020;82:133–147. 10.1007/s13199-020-00699-4 [DOI] [Google Scholar]
  19. Tagirdzhanova G, Saary P, Cameron ES, et al. : Microbial occurrence and symbiont detection in a global sample of lichen metagenomes. PLoS Biol. 2024;22(11): e3002862. 10.1371/journal.pbio.3002862 [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. von Meijenfeldt FAB, Arkhipova K, Cambuy DD, et al. : Robust taxonomic classification of uncharted microbial sequences and bins with CAT and BAT. Genome Biol. 2019;20(1): 217. 10.1186/s13059-019-1817-x [DOI] [PMC free article] [PubMed] [Google Scholar]
Wellcome Open Res. 2025 Apr 30. doi: 10.21956/wellcomeopenres.25383.r119188

Reviewer response for version 2

Anna Karnkowska 1, Michał Karlicki 1

Review of plastiC: A pipeline for recovery and characterization of plastid genomes from metagenomic datasets

The development of plastiC is a timely and valuable addition to the existing toolkit for analysing metagenomic data. Given the increasing interest in mining eukaryotic genomes, including organellar genomes, from huge metagenomic datasets, this tool has the potential to fill an important gap. However, we have some comments that could help refine the pipeline, increase its robustness and make it more accessible to a wider range of users.

Major Comments:

1. The authors should discuss how plastiC compares to other methods for obtaining plastid genomes, such as the Tiara pipeline ( Tiara) and recent research on plastid genomes from TARA Oceans data (Jamy et al., 2025). Positioning plastiC in comparison to these methods would highlight its advantages and limitations.

2. While plastiC is specifically focused on the recovery of plastid genomes, mitochondrial genomes are even more widespread. A brief discussion of whether there are similar tools or approaches for recovering mitochondrial genomes would provide useful context. Is there any particular reason not to use the pipeline for mitochondrial genomes (other than the fact that there is currently no module to assess the completeness of mitochondrial genomes)?

3. The completeness assessment module is one of plastiC's greatest strengths. The approach of using KEGG and machine learning for completeness estimation is sound, but there are already similar methods, such as CheckM2. Could CheckM2 be adapted for plastid genomes and how would its performance compare? The novelty of the plastiC approach should be clearly emphasised. Also, completeness assessment often relies on detecting the presence or absence of predefined single-copy genes (see Jamy et al. 2025) - is the plastiC method more accurate than these approaches?

4. The manuscript does not address the assessment of contamination, which is crucial when analysing complex environmental samples. Can contamination detection be integrated into the pipeline? If not, how does plastiC deal with cases where plastid metagenome-assembled genomes (MAGs) contain fragments of multiple plastid genomes or mitochondrial sequences? Could this lead to overestimated completeness?

5. The dataset used to test plastiC appears relatively simple compared to typical metagenomes. The use of an aquatic environmental dataset containing plastid genomes from closely and distantly related species, mitochondrial genomes, nuclear genomes and bacterial genomes would allow a more realistic validation. Alternatively, a defined custom made dataset with known genomic fractions would also be useful.

Specific comments

Introduction

1. The sentence "Plastid (or chloroplast) genomes are of particular interest because of their roles in primary production" should be revised. The genomes themselves are not directly involved in primary production, but the organisms that contain them are.

Methods

1. The authors should specify the Tiara parameters used in the initial screening and MetaBAT2 binning process. Can these parameters be changed? What are the recommended probability thresholds and minimum lengths of the contigs for the different data sets?

2. It is unclear whether the protein sequences in the training dataset were extracted with Prodigal or whether existing annotations were used.

3. The exclusion of plastid genomes smaller than 94 kb (e.g. Ostreococcus tauri) raises concerns that completeness may be overestimated. The impact of excluding smaller genomes from the training set should be discussed.

Results & Discussion

1. How do introns in some plastid genomes (which are highly expanded in certain groups) affect the tool? Was this taken into account in the training, test and validation datasets?

2. Has the tool been tested on leucoplasts or other atypical plastid types?

3. Can the completeness estimation module be used independently in other pipelines?

4. In the case study, 13 lichen metagenomes were used, and although plastid contigs were identified in all cases, MetaBAT2 was not always able to generate correct bins. This bottleneck should be addressed. Could more advanced binning methods, such as DASTOOL, improve plastid genomes? The limitations of the approach should be better outlined.

Overall, plastiC is a promising tool for the extraction of plastid genomes from metagenomics datasets. However, further validation on more complex datasets and a more detailed comparison with existing approaches would significantly extend the study. Addressing completeness estimation and contamination detection issues will further improve the robustness and applicability of this pipeline.

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Partly

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Yes

Reviewer Expertise:

Microbial eukaryotes biology and genomics, evolution of organelles and their genomes.

We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however we have significant reservations, as outlined above.

References

  • 1. : New deep-branching environmental plastid genomes on the algal tree of life. bioRxiv .2025; 10.1101/2025.01.16.633336 10.1101/2025.01.16.633336 [DOI] [Google Scholar]
  • 2. Tiara. Reference source
Wellcome Open Res. 2024 May 16. doi: 10.21956/wellcomeopenres.21699.r77563

Reviewer response for version 1

Yang Ni 1

Total comment: The development of the plastiC workflow marks a significant advance in the field of metagenomics, particularly with respect to the analysis and identification of plastid genomes from metagenomic datasets. This tool addresses a critical gap in existing metagenomic workflows, which predominantly focus on prokaryotic and eukaryotic genomes but often overlook plastid genomes despite their essential role in understanding the diversity and evolutionary processes of photosynthetic communities. However, several concerns need to be addressed to enhance the tool’s functionality and user experience:

 

  1. Installation Challenges: There have been difficulties in installing plastiC following the instructions provided on the GitHub page. This issue may deter users and limit the tool's accessibility. A more streamlined installation process, potentially with a detailed step-by-step guide or troubleshooting section, could mitigate these challenges.

  2. Standardization of Genome Assembly Evaluation: The current method for evaluating genome assemblies within plastiC does not appear to adhere to a standardized benchmark, which could affect the reliability of the results. It may be beneficial to reference established methodologies, such as those outlined in the paper "A Systematic Comparison of Chloroplast Genome Assembly Tools," to enhance the credibility and standardization of the assembly evaluation process.

  3. Pipeline Workflow Optimization: The workflow of plastiC could benefit from further optimization. A clearly defined and efficient pipeline, possibly with enhanced automation and user-friendly documentation, would improve the usability of the tool. Additionally, incorporating visual workflow diagrams could aid users in understanding and navigating the process more effectively.

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Yes

Is the rationale for developing the new software tool clearly explained?

Partly

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Partly

Reviewer Expertise:

1. Plant mitochondrial genomics (major) 2. Plant chloroplast genomics 3. Plant Organelle genome data analysis tools/methods /pipeline 4. Anthocyanin biosynthesis metabolic pathways 5. Transcriptomics/multi-omics analysis

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.

Wellcome Open Res. 2024 Nov 27.
Ellen Cameron

We would like to thank the reviewer for going through the manuscript and providing suggestions to improve the manuscript and our tool to increase accessibility and ease of use among users. 

[1] We have revised our workflow such that the pipeline dependencies and tools are now stored in a Docker repository and the pipeline can be launched with the –use_singularity­ flag in Snakemake to automatically retrieve them. We believe that this will cut down on the amount of time and any challenges associated with the initial construction of the conda environments by the workflow. We have also added further detail to the README highlighting the steps of the pipeline, required input files and directory structures, and how to execute the pipeline.

[2]  plastiC does not serve to perform  de novo or reference-based assembly of chloroplast genomes and utilizes pre-existing metagenomic assemblies for recovery, identification and characterization of chloroplast genomes. In “A systematic comparison of chloroplast genome assembly tools”, authors compare the quality of assemblies based on alignment of assembled chloroplast genomes to reference genomes. However, in the case of metagenomic studies, recovered chloroplast genomes may not have an appropriate reference genome available. We believe that by using the presence of KEGG orthologs, we instead provide a reference-free quality estimate of genomes inspired by the metagenomic tool, CheckM2, to circumvent these challenges.

[3] We have added additional text description and figures to the GitHub repository to provide users with further context on the tool. We have also included visual examples of directory structures for input files to clarify how the input data must be organized for use in the pipeline.  Instructions for running and setting up the tool, including installation of Snakemake in a conda environment, is also outlined in the GitHub repository.

Wellcome Open Res. 2023 Nov 22. doi: 10.21956/wellcomeopenres.21699.r69060

Reviewer response for version 1

Adriana Lopes dos Santos 1

The tool developed by Cameron and colleagues will be very useful to those working on advancing our understanding of the diversity and evolution of photosynthetic organisms. Chloroplast genomes or plastomes are often used to infer deep-level phylogenetic relationships among photosynthetic organisms, from single cell eukaryotes to plants. It also used to clarify phylogenetic issues arising from the analysis of a single or few marker genes. Comparative analysis of organelle genomes has allowed us to gain insights into ancestral architectures and evolution of these genomes. 

Although chloroplast genomes can be easily sequenced from strains, the bulk diversity of photosynthetic single eukaryotes remains untapped. plastiC seems to offer the opportunity to explore the diversity of plastomes from uncultured organisms. In recent years, metagenomes have become the method of choice for investigating the composition and gene repertoire of microbial communities. The number of environmental datasets published has increased very rapidly, representing an incredible opportunity for data mining. However, several tools are orientated to the study of prokaryotic (bacteria) fraction of these datasets and a few to eukaryotic genes and genomes. 

My only concern comes from the performance of the tool. The metagenomes chosen for demonstrating the effectiveness of plastiC were in someway simple in diversity. How the tool would perform in complex metagenome datasets such as those from marine samples, for example, where an array of photosynthetic taxa is expected to be found? 

Also, I was wondering why the authors did not compare the recovered plastic bins with the available chloroplast genome from Trebouxia sp.

Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?

Yes

Is the rationale for developing the new software tool clearly explained?

Yes

Is the description of the software tool technically sound?

Yes

Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?

Yes

Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?

Yes

Reviewer Expertise:

protist diversity, algae evolution

I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.

Wellcome Open Res. 2024 Nov 27.
Ellen Cameron

We are pleased that the reviewer sees the value in the tool for exploring the diversity and evolution of photosynthetic organisms in metagenomic datasets.  We agree that lichens are a simplistic form of a metagenome but in the application here it was useful due to the expected abundance and signal arising from the photobiont. Technically, there are no theoretical limitations to the complexity of the dataset and the functionality of plastiC, providing the metagenome can be assembled. To further demonstrate the quality of genomes we recovered using  plastiC, we have mapped the genome to a reference  Trebouxia chloroplast genome (NC_045839.1). While this reference arises from a lichen photobiont, the exact species may differ and impact the mapping quality. These scores are now reported alongside other metrics of the recovered chloroplast bin.

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Data Availability Statement

    Underlying data

    RefSeq accession numbers for model training and testing are available on the plastiC GitHub repository: https://github.com/Finn-Lab/plastiC/tree/main/scripts/model_training/accession_lists.

    To demonstrate the effectiveness of plastiC in the recovery and characterisation of plastid genomes from metagenomic samples, we used publicly available lichen reads from the European Nucleotide Archive (ENA), available under the project accession: PRJNA646656.


    Articles from Wellcome Open Research are provided here courtesy of The Wellcome Trust

    RESOURCES