- Open Access
Tracking antibiotic resistance gene pollution from different sources using machine-learning classification
Microbiome volume 6, Article number: 93 (2018)
Antimicrobial resistance (AMR) has been a worldwide public health concern. Current widespread AMR pollution has posed a big challenge in accurately disentangling source-sink relationship, which has been further confounded by point and non-point sources, as well as endogenous and exogenous cross-reactivity under complicated environmental conditions. Because of insufficient capability in identifying source-sink relationship within a quantitative framework, traditional antibiotic resistance gene (ARG) signatures-based source-tracking methods would hardly be a practical solution.
By combining broad-spectrum ARG profiling with machine-learning classification SourceTracker, here we present a novel way to address the question in the era of high-throughput sequencing. Its potential in extensive application was firstly validated by 656 global-scale samples covering diverse environmental types (e.g., human/animal gut, wastewater, soil, ocean) and broad geographical regions (e.g., China, USA, Europe, Peru). Its potential and limitations in source prediction as well as effect of parameter adjustment were then rigorously evaluated by artificial configurations with representative source proportions. When applying SourceTracker in region-specific analysis, excellent performance was achieved by ARG profiles in two sample types with obvious different source compositions, i.e., influent and effluent of wastewater treatment plant. Two environmental metagenomic datasets of anthropogenic interference gradient further supported its potential in practical application. To complement general-profile-based source tracking in distinguishing continuous gradient pollution, a few generalist and specialist indicator ARGs across ecotypes were identified in this study.
We demonstrated for the first time that the developed source-tracking platform when coupling with proper experiment design and efficient metagenomic analysis tools will have significant implications for assessing AMR pollution. Following predicted source contribution status, risk ranking of different sources in ARG dissemination will be possible, thereby paving the way for establishing priority in mitigating ARG spread and designing effective control strategies.
Antimicrobial resistance (AMR) is becoming a global health crisis, threatening effectiveness of antibiotics to treat infections. At least 700,000 people die annually from drug-resistant infections . The challenge will get worse if we do not act immediately to turn the tide against epidemic propagation of AMR. AMR mitigation thus is a critical health security challenge of this century, yet only limited progress has been achieved [2, 3]. Indeed, AMR has been substantially extended beyond medical settings to include relevant environmental compartments [4,5,6,7], such as soil and water. Their fate and behavior in different environments complicated the problem. In particular, point and non-point potential sources, as well as endogenous and exogenous antibiotic resistance genes (ARGs), make it difficult to disentangle the true origins [8,9,10]. Lack of comprehensive understanding in source-sink relationship in ARG dissemination dramatically impedes efficient AMR control.
Ever since discovering frequent ARG occurrences in human-related environments, considerable attention has been paid to identify potential sources [11,12,13,14,15,16]. For example, through combining PCR-derived detection frequency/intensity of target genes and environmental variables in a specific region, ARG distribution patterns that unambiguously distinguish putative sources of ARG pollution from a native environment have been studied in livestock farm and river basin [14,15,16]. Nonetheless, PCR bias and inhibition are always a concern with any PCR-based source-tracking method. In addition, specificity and sensitivity of single-marker tests vary among ARGs [15, 16]. Measuring limited number of predetermined representative ARGs and custom-tailored biomarkers is often confounded by inputs from a variety of sources. Therefore, accurately estimating the proportion of ARG contamination from source environments poses a grand challenge in AMR control.
Advances in high-throughput sequencing (HTS) have revolutionized the way to detect genes in complex environmental communities, providing a promising approach for comprehensive genetic profiling. Indeed, approximately thousands of ARGs have been identified through environmental metagenomic studies [17,18,19], their potential to be used as a means for identifying sources of ARG contamination however remains largely unexplored, in spite of a few comparative surveys of ARG composition among important sources [17,18,19,20,21]. The distinctive combinations of potential thousands of genetic markers in HTS-based metagenomic analysis might open up new avenues for source discrimination. However, an automated and statistical robust classification approach is necessary for routine application of metagenomics-based methods in real ARG monitoring. Machine-learning classification is an efficient tool in this big-data era, which uses comprehensive sequence profiling of samples from different source environments (e.g., sample-wise abundance matrix across marker gene sets) to train models to distinguish different source types. Through eliminating uninformative features, these algorithms select subsets of features from typical thousands of sequences that are most useful for source prediction , thereby allowing us to assess the likelihood that individual source contributes to the overall ARG composition in a sink sample. Recently developed classification methods (e.g., RandomForest  and SourceTracker ) have been successfully adopted for community-based source tracking [22, 24, 25]. In particular, the Bayesian classification tool, SourceTracker, uses Gibbs sampling to explore the joint possibility distribution of assigning all test sample sequences to the different source environments, featuring in directly inferring the mixing proportion of sources in a sink sample. SourceTracker allows sequences in a sink sample assigned to unknown sources, and it explicitly models a sink sample as a mixture of sources rather than predicts the entire sink sample from a single source. Rigorous comparison showed that SourceTracker outperformed other methods like naïve Bayes modeling and RandomForest classifier, even when disambiguation was difficult . Despite lack of application in source tracking of ARG pollution, given the long-proposed strong correlation between microbial community structure and ARG profile [26,27,28], as well as the predictable variation of ARG overall patterns in environments along anthropogenic activity gradient [17,18,19, 29], SourceTracker could serve as a powerful tool in predicting putative sources of ARG contamination in a probabilistic framework.
In this study, rigorous analysis was conducted to comprehensively evaluate performance of SourceTracker in source prediction of ARG pollution. To uncover ARG profiles in diverse environments, 656 metagenomic datasets were retrieved from public databases, including four ecotypes, i.e., human feces (HF), animal feces (AF), activated sludge from wastewater treatment plant (WA), and natural environments (NT). Using well-established annotation pipeline, broad-spectrum ARG abundance profile was obtained for each sample. Through leave-one-out cross-validation, SourceTracker achieved excellent performance in source prediction for 656 samples by leveraging information embedded in ARG profiles. Furthermore, three ways were utilized to validate application of SourceTracker for samples with different anthropogenic impacts, including artificial configurations, influent and effluent of wastewater treatment plant (WWTP), as well as region-specific sediment samples with significant anthropogenic activity gradients. Besides general-profile-based source tracking, ARGs of particular interest, including generalist/specialist indicator and common/unique groups across ecotypes, were explored. Taken together, in combination of comprehensive ARG profiling with cutting-edge machine learning classification, capability of the novel platform in source tracking was well validated in this study, which may lead to fundamentally new strategies to address the current widespread ARG contamination.
ARG overall distribution profile
After quality check, 656 metagenomic datasets were included in this study, covering diverse environmental types (e.g., human/animal gut, WWTP, soil, sediment, ocean) and broad geographical regions (e.g., China, Japan, US, Europe, Peru) (Fig. 1a, b, Additional file 1: Table S1). Although diverse data sources were included, there is no obvious study effect observed across these dataset (Additional file 2: Figure S1). Because of uneven data sources in public databases, there were more samples of HF (n = 300) and NT (n = 188) while less samples of AF (n = 109) and WA (n = 59). Despite possible bias embedded in sample number distribution, we aim to use best of current resources to disentangle potential relationship between ARG abundance profiles of source and sink samples, especially association of environmental resistome development with anthropogenic impact. Overall, 3502 ARG reference sequences (87% out of the total 4048 reference sequences) from all 24 types in SARG database were detected in at least one of the 656 samples (i.e., 2688 ARGs were detected in HF, 2788 in AF, 2400 in WA, and 2609 in NT). The relative abundance (copies of ARG per copy of 16S rRNA gene) and richness (number of ARG types) showed obvious variability, both between and within the four ecotypes (Fig. 1c). Generally, ARGs were more abundant in AF (avg. abund. 0.78 with range 0.06~ 4.68) and HF (avg. abund. 0.52 with range 0.10~ 2.52) than WA (avg. abund. 0.37 with range 0.20~ 1.52) and NT samples (avg. abund. 0.22 with range 0~ 2.01). The top abundant ARG types differed among the four ecotypes, e.g., HF, ARGs against tetracycline, aminoglycoside, and macrolides-lincosamides-streptogramines (MLS)); AF, ARGs against tetracycline, MLS, and beta-lactam; WA, ARGs against multidrug, bacitracin, and aminoglycoside; NT, ARGs against multidrug and bacitracin. Many ARGs were widespread across ecotypes, such as tetracycline, aminoglycoside, and beta-lactam. Vancomycin-resistance genes were with low abundance in NT and WA, whereas frequently detected in both HF and AF. In addition, ARG profiles in feces samples varied by regions with different antibiotic consumption and management. For instance, much more ARGs were detected in AFs of Peru (avg. abund. = 6.40), El Salvador (avg. abund. = 6.40), and China (avg. abund. = 3.80), whereas much less detected in samples from Denmark (avg. abund. = 0.18), and antibiotic-polluted environments have the highest abundances of ARGs, such as Peru and El Salvador soil (avg. abund. = 1.20). On the contrary, much less was detected in almost pristine natural habitat, such as ocean (avg. abund. = 0.05). In agreement with previous studies [17, 18, 30], ARG abundance profiles obtained here lend evidence for the essential role of human activities in ARG development. To further investigate whether the microbial community correlated with the ARG composition, we used Procrustes analysis to correlate the two profiles. Our results showed that ARG profiles were significantly correlated to the shared bacterial compositions and structures (P < 0.001, based on 9999 permutations) based on Bray-Curtis dissimilarity metrics (Additional file 2: Figure S2).
SourceTracker prediction performance
The distinct ARG abundance profile characterized by each of the four ecotypes, implied its potential in distinguishing samples with different ecotype origins. The significant correlation between ARG and community profiles revealed in this study and previous work [26,27,28], together with the reported successful application of SourceTracker in microbial source tracking using community profile [24, 31, 32] further lend us confidence in extending SourceTracker to broad-spectrum ARG profile-based source prediction. After five runs by leave-one-out cross-validation strategy, SourceTracker correctly predicted corresponding ecotype of 88% (578/656) samples, in particular, 92% (276/300) HF samples with predicted probability of 88%±12%, 81% (88/109) AF samples with 84%±13%, 95% (56/59) WA samples with 89%±11% and 84% (158/188) NT samples with 82%±11% (Fig. 1d). Prediction variation within five runs was observed (Additional file 3: Table S2), which might be improved by including more high-quality source samples in training datasets in future studies. Generally, pre-test by 656 samples proved applicability of SourceTracker in ARG source tracking, we then utilized three ways to further validate robustness of this method. To avoid possible bias introduced by parameter alteration (refer to the ‘Effect of parameter adjustment’ section), all SourceTracker runs of metagenomic datasets in this study were performed under default setting.
Prior to applying SourceTracker in region-specific analysis, its potentials and limitations were firstly examined by eight artificial configurations, which were generated with different ratio of ecotype input to simulate real possible pollution levels. The averaged SourceTracker-predicted source ratio and relative standard deviation (RSD) for each configuration were presented in Fig. 2 and Additional file 3: Table S3. The results of Pearson correlation analysis demonstrated a significant correlation (r = 0.99, P < 0.001) between expected and predicted source contributions across all configurations. However, precision of the prediction appeared to be dependent on the level of contamination. This effect was clearly illustrated in Configuration 1, where low variance among runs (RSD of 8%) was observed for predicting sources with high expected ratio (47% of WA contamination), while high variance (RSD of 44%) for sources with low expected ratio (2% of AF contamination). Indeed, the similar RSD variance has been explicitly examined in application of SourceTracker in community-based source tracking .
WWTP influent and effluent
We next tested SourceTracker performance by ARG profiles in two sample types with obvious different source compositions, i.e., WWTP influent and effluent. WWTP influent is a mixture of wastewater discharged from certain communities, of which the main source is HF. Through a series of treatment processes, effluent samples are mainly from WWTP rather than HF. SourceTracker was then applied to analyze ARG profiles of four influent and effluent datasets collected at different seasons (summer or winter) (Additional file 2: Figure S3). Clearly, human/animal feces were up to 30% in influent while less than 5% in effluent and WA was predicted as the main source of the effluent samples. Because WA training datasets of activated sludge were a mixture of influent and local WWTP community, it is not surprising that certain portion of WA was also detected in the two influent samples (41% in summer and 20% in winter). Seasonal variation, as well as unknown sources were observed in the source prediction, which might be attributed to complex mixture of diverse microbial communities (e.g., bacteria groups decided by the seasonal variation of organics in the influent) and different selective pressures (e.g., antibiotics and metals) in this type of environment [34, 35].
Environmental samples of anthropogenic interference gradient
Based on above explicit evaluation, two published environmental metagenomic datasets were utilized as final test samples, i.e., two sets of region-specific samples with obvious anthropogenic activity gradient (Fig. 3, Additional file 3: Table S4).
Hong Kong (HK) sediment (Fig. 3a)
The results showed that 5 of 12 HK sediment samples had more than 20% feces-like contamination (i.e., aggregated proportions of feces-related sources including HF, AF, and WA). Particularly, HKSD-3 which suffered from discharges of both harbor and municipal pollutants from HK and Shenzhen areas showed a high feces-related pollution with 47% WA, 2% HF, and 4% AF. The point HKSD-10 close to HKSD-3 in outlet of harbor also showed a relatively high pollution ratio with 16% WA, 3% HF, and 3% AF. HKSD-53 and 54 sites located along a water channel that is surrounded by a high density of inhabitants showed 21 and 16% WA pollution, respectively. Close to another sewage discharge channel, HKSD-75 was also revealed 16% WA contamination. Other 7 points within areas of limited human interference were with less than 10% feces-related contamination. Overall results from SourceTracker prediction well matched regional characteristics of these sampling points.
Pearl River Estuary (PRE) and South China Sea (SCS) sediment (Fig. 3b)
The feces-related source contribution level to ARG profiles in sediments substantially decreased from the mouth of the Pearl River (A8) to the middle of the PRE (B2), and on to the SCS, which was in good accordance with antibiotic concentrations detected in a previous study . Due to proximity to PRE region that had been heavily impacted by rapid urbanization and industrialization, significant proportion of WWTP and minor proportion of HF/AF contamination were detected at the two sampling sites, e.g., A8 of 60% WA and B2 of 44% WA. There were seven sampling locations in the SCS with varying distances to the Chinese mainland and different water depths. Except E106 collected at a location between the offshore area and the continental shelf with 20% WA, other SCS sediment samples with less than 8% WA contamination. Overall, the average pollution ratio of feces-like sources in the two PRE sediments was at least five times higher than those in the SCS sediments, reflecting distinct levels of anthropogenic interference in the two regions.
Effect of parameter adjustment on SourceTracker performance
In order to evaluate effect of parameter adjustment on SourceTracker performance, additional three specific artificial configurations (configurations A, B, and C) covering both negative and positive sources were run by different parameter settings. Changes in parameters away from default conditions had variable effect on SourceTracker performance, but mainly depending on the percentage of source present within the sink (Additional file 1: Table S5). Alteration in restart (20, default = 10) and burn-in (1000, default = 100) resulted in similar RSD profile as default condition. Increasing rarefaction depth to 50,000 (default = 1000) consistently decreased RSD in identifying ratio of true positive sources (i.e., WA and NT) in all three configurations, while it did not improve in detecting true negative sources (i.e., HF and AF). Changes in α and β Dirichlet hyperparameters had variable effect. Decrease in RSD was observed in configuration A by all alterations of α and most alterations of β (except β=0.004, 0.006, 0.08, and 0.1), with the lowest RSD achieved by α=0.01 (RSD of WA and NT ≤1%). On the contrary, in configurations B and C, alterations of α and β were more likely to be accompanied by increase in RSD, with lowest RSD (≤ 10%) by α = 0.1/β = 0.04 in configuration B and α=0.001/0.05 in configuration C. Noteworthy, with the exception of β = 0.002/0.004/0.006 in configuration A, α = 0.00001/β = 0.008 in configuration B, and α = 0.05/β = 0.002 in configuration C, both default and other parameter alterations tended to detect true negative sources as positive at extremely low level. The excellent improvement in identifying true negative sources by these specific α and β values significantly increased sensitivity, specificity, precision, and accuracy, which, however, did not necessarily associated with low RSD. Overall, such a variable parameter effect observed here emphasized the need for comprehensive parameter optimization by exquisite experimental design on regional source-sink analysis.
Besides characterizing patterns of overall ARG profiles across such broad range of environments, we expanded this study by identifying representative ARGs belonging to each ecotype and thereby lending insight into the potential roles of these ARGs in shaping resistome. Although a few studies have applied representative ARGs to distinguish one environment from another [14, 15, 37, 38], they were conducted at one or a handful of fixed locations and focused on a few typical ARGs such as sul1 and tetW. In the study here, large-scale profiling of 3502 detected ARGs across 656 diverse samples could help find out more solid indicators using robust statistical method. Based on ARG distribution across the four ecotypes, 95 ARGs were chosen as indicators (Fig. 4, Additional file 1: Table S6), including 30 indicators in each of HF (IV≥0.56, P < 0.001 (IV, indicator value)), AF (IV≥0.68, P < 0.001), and WA (IV≥0.65, P < 0.001). Considering much lower abundance profile in NT samples, only 5 ARGs were selected as indictors of the ecotype (IV≥0.34, P < 0.001). Different ecotypes were characterized by different ARG indicators, e.g., (1) HF indicators were mainly composed by resistance genes against beta-lactam (class A), vancomycin, bacitracin, and tetracycline; (2) AF were tetracycline, aminoglycoside, and MLS; (3) WA were bacitracin, MLS, and beta-lactam; and (4) NT was multidrug. Abundance distribution of these indicators clearly implied much higher abundance level in each indicated ecotype while lower in others. Although indicators were a minor part of total 3502 detected ARGs, they corresponded to the dominant among ARGs detected in each ecotype, e.g., comprising up to 11, 20, and 17% of ARG abundance in HF, AF, and WA, respectively. Specifically, top abundant indicators were bacA (bacitracin), class A beta-lactamase (beta-lactam), and vanR (vancomycin) in HF, aadE (aminoglycoside), mefA (MLS), tet40 (tetracycline) in AF, cpxR (transcriptional regulatory), arr (rifamycin), ompR (multidrug) in WA, and mexF (multidrug) in NT. These top abundant indicators were dominant groups in each ecotype, indicating their key roles in shaping resistome and driving fluctuation. In addition, in a graph of indicator, relative abundance of ARGs in samples where they occur vs occupancy (Additional file 2: Figure S4), a few indicator ARGs appeared to be generalists, with high relative abundance across a large number of samples outside their indicated ecotypes, e.g., WA indicator ompR (multidrug) was detected in all WT samples meanwhile detected in 76% non-WT samples and HF indicator bcrA (bacitracin) detected in 99% HF samples meanwhile detected in 73% non-HF samples. Some indicators tended towards specialists, with high relative abundance but detected in fewer samples outside indicator ecotypes, e.g., class A beta-lactamase (beta-lactam) in HF and ereA (MLS) in WA were detected in less than 5% other samples. In addition to specific indicators, five ARGs with relatively high R2 correlation (≥ 0.50) with total ARG abundance across all samples were chosen as the general indicators (Additional file 2: Figure S5, Additional file 3: Table S7), including three ARGs of mexX and acrB with multidrug resistance, one ARG in class C beta-lactamase, and one unclassified ARG coding alamin adenosyltransferase.
Common and unique ARGs
According to occurrence among samples, all 3502 detected ARGs were classified as the unique or common in each or combination of the four ecotypes (Fig. 5). 1678 ARGs were shared among all ecotypes (i.e., detected in at least one sample in each ecotype) mainly belonging to resistance genes against multidrug (n = 562), tetracycline (n = 202), bacitracin (n = 179), beta-lactam (n = 137), MLS (n = 137), and aminoglycoside (n = 101). These common ARGs made up a large percentage of ARGs detected in each ecotype, e.g., 60–68% in HF, AF, and AS; and 74% in NT. Such large amount of widespread ARGs indicated frequent flow crossing ecological barriers, which has been detected between habitats, such as soil and human , WWTP and surface water [40, 41], as well as livestock farm and surrounding environments . Interestingly, 86 of 95 specific indicator ARGs were shared by all ecotypes, whereas the other 9 indicators were all three-ecotype common ARGs. Among ARGs common between specific two ecotypes, HF and AF (hereafter refer to HF-AF (common between ecotypes indicated by ‘ecotype-ecotype’)) shared most ARGs (n = 315) followed by NT-WW (n = 163) and FA-NT (n = 78), least shared by FH-WW (n = 20), FA-WW (n = 33), and FH-NT (n = 38). Especially, the top three in HF-AF were resistance genes against multidrug, beta-lactam, and vancomycin. In addition, the two feces ecotypes, HF and AF, shared 223 ARGs with NT and 208 ARGs with AS. Regarding unique ARGs in each ecotype, most unique ARGs were detected in natural (n = 219) while least in WWTP (n = 88). Indeed, functional metagenomics have resulted in elucidating entirely new resistance functions in natural environments [26, 39, 43], implying substantial potential of underappreciated wild resistome in contributing to future health risks. On the contrary, WWTPs were engineered facilities of wastewater mixture, featuring in active exchange of existing genes from various human-related sources [5, 44].
Because of multi-sources interaction and regional biogeographical characters, directly identifying sources of contamination and implementing targeted mitigation strategies have long been a challenging topic in AMR control. Based upon explicit evaluation of potential and limitation, in the current big-data era, we here presented a novel framework combining both metagenomic profiling and machine-learning classification SourceTracker to address source tracking of ARG contamination in the environment. Through comprehensive performance examination by both global-scale and region-specific datasets, feasibility of the platform was generally well supported despite of its fluctuation in predicting low source ratio. However, it should be noted that predicted source proportions from SourceTracker were limited by the comprehensiveness of source datasets used for training, thus, sample impurity and regional variation among datasets retrieved from public databases might bias our analysis to an extent despite effort in smoothing out dataset heterogeneity. For example, more HF and NT samples along with less AF and WA samples, might hinder SourceTracker in identifying discriminatory ARG signatures in AF and WA to attribute sources. We believe that large-scale metagenomic projects of either pristine or human-impacted environments will dramatically expand availability of more representative resources. In particular, training by region-specific datasets will improve its source discrimination performance in a target area.
Indeed, ARG pollution is a region-specific problem with global impact. Both anthropogenic activities and geographic features can influence ARG pollution status substantially. ARGs can enter environments through a variety of pathways, including point sources such as discharge from WWTPs and livestock farms, as well as non-point sources such as runoff from fields treated with biosolids or manure. In contrast to direct release of pollutants into target environment by point sources, contamination caused by non-point sources is always subject to dilution and decay thus largely impeding accurate source prediction. Additionally, cross-reactivity between source pollution and environmental background will generate certain biotic and abiotic conditions favoring specific bacteria and/or genes [11, 12, 45, 46]. What might further confuse source detection is frequent genetic exchange, that is, once associated with efficient mobile genetic elements like broad-host-range plasmids [47, 48] and class I integrons [49, 50], dissemination of ARGs across phylogenetic and ecological barriers could be dramatically enhanced. Moreover, resistome development was even more complicated by diverse co-selection pressure (e.g., metal and biocides) in source/sink environment [51, 52]. Under such complex environmental conditions, source-tracking investigations can only be achieved through comprehensive biogeographical surveillance. Experiments directed to identifying quantitative source-sink relationship at certain sites should be carefully designed to normalize possible background influence, such as comprehensive analysis along temporal (e.g., dry and wet seasons) and spatial (e.g., upstream and downstream) scales. Also, high sensitivity and specificity of prediction platform are required for disentangling such complicated source-sink relationship. Through integrating metagenomics profiling with machine learning classification, excellent source prediction has been demonstrated in this study, which is far beyond the capability of traditional source-tracking methods. In particular, metagenomic profiling improves source tracking through parallel detection of a multitude of different genetic markers that are unique to sources, and machine learning classification algorithm deemphasizes overlapped signatures that occur among training sets to further minimize biases like background cross-reactivity. Compared with traditional methods, broad-spectrum ARG profiling-based SourceTracker classification took a fundamental step in advancing precise source-sink relationship quantification. To the best of our knowledge, this is the first study directed to combine broad-spectrum ARG profiles and machine-learning classification to track potential ARG pollution sources.
To further explore potentials and limitations of the approach in source tracking, especially its application in diluted areas such as recreational beaches in which correct source identification is crucial in public health risk assessment, more extensive parameter optimization and rigorous in-laboratory test are necessary. As demonstrated in source discrimination of artificial configurations, SourceTracker will report high variability in the proportion estimates for low-representative source. Therefore, confident results of low source proportion should be based on multiple runs instead of single run, which is consistent with the previous studies on community structure-based fecal signal tracking [22, 33]. Alteration of the investigated parameters resulted in RSD variation in contrast to default setting. Increasing rarefaction depth consistently decreased RSD, but no equivalent improvement in sensitivity and specificity was observed, which suggested that increasing rarefaction depth only enhanced repeatability due to the inclusion of 50-fold more ARG abundance for SourceTracker analysis. By assigning different relative values for α and β, prior counts (relative to the number of sequences in the test sample) that smooth the distributions for low-coverage source and sink samples were adjusted, which had a remarkable effect on detecting true negative sources. However, in which (in)dependent way the two parameters of prior count affecting SourceTracker performance still need more rigorous examination. When applying the classification tool in source tracking of complex region-specific pollution, both complementary in vitro assay and thorough assessment of parameter settings should be conducted to enhance its performance in identifying true/false positive sources and detecting known proportions of sources present within a sink matrix. In this way, its capability in detecting low level of ARGs will be fully realized, lending much more confidence in broad application.
In addition to exploring overall ARG profile in discriminating source-sink relationship, we extended this study to identify representative ARGs in characterizing distinct ecotypes. Realizing challenges in predicting attenuated source-sink signal, indicator analysis was performed to seek for additional tools. The generalist and specialist indicator ARGs act as representative ARG signatures in the indicated ecotype, providing potential in resolving closely connected ecosystems through coupling with general abundance profile-based source tracking. One typical example is coastal site in which continuous gradient pollution is hard to be detected by overall abundance distribution. As mixing occurred across the coastal margin, a high level of abundance across many environments might be maintained for generalist indicators, while pattern specific to their respective indicated environment were more likely associated with specialist indicators . In addition, among retrieved common and unique ARGs in such global-scale samples, large part of overlapped ARGs implied past frequent transmission, whereas minor unique ARGs might be intrinsic to each ecotype. We believe that region-specific studies will help identify more representative ARG signatures and thereby contribute to assessing resistome development in the area.
Altogether, by combining comprehensive metagenomic ARG profiling with machine-learning classification SourceTracker, we here presented a novel quantitative framework to address ARG pollution source tracking. Although sequencing expense and computational complexity might impede the platform application as a routine ARG pollution monitor tool, continued reduction in sequencing costs and increase in public accessible computational resources (e.g., online ARG annotation platform ARGs-OAP ) may soon make this approach feasible. Following predicted source contribution status, risk ranking of different sources in ARG dissemination will be possible, thereby paving the way for establishing priority in mitigating further ARG spread. Particularly, differentiation of sources will shed light on areas where intervention can be most effective in reducing ARG spread in the environment. Thus, the presented source-tracking platform will have far-reaching significance for both science community and public authorities in AMR control.
A total of 656 metagenomic datasets covering four distinct ecological categories (i.e., HF, AF, WA, and NT) were included in this study, which were downloaded from public databases including NCBI-SRA (https://www.ncbi.nlm.nih.gov/sra/), MGRAST (http://metagenomics.anl.gov/), and HMPDACC (http://hmpdacc.org/HMIWGS/all/) during period from November 2016 to January 2017. In order to guarantee data quality, all datasets were generated on Illumina shotgun sequencing platform and downloaded in FASTQ format with original sequencing quality information. In addition, background information of all datasets was supported by relevant publications. To minimize possible bias introduced by dataset heterogeneity, only feces samples of healthy human adults were used. Considering large variation in microbial communities at different wastewater treatment processes, activated sludge was used as the representative of WWTP samples. All downloaded raw data went through quality check and filtration by PRINSEQ (prinseq-lite.pl using parameter setting: mean quality score ≥ 20 and number of ambiguous ≤ 1). To eliminate inconsistence in sequences, only reads with length ≥ 100 bp were included and then all trimmed to 100 bp. In final datasets, average sequence number across all samples was 27,712,728 with minimum 2,038,492 and maximum 210,543,839. The full list of sample information was summarized in Additional file 1: Table S1.
ARG annotation and community structure retrieval
Potential ARGs in all datasets were retrieved through pipeline embedded in online platform ARGs-OAP (smile.hku.hk/SARGs) . Briefly, pre-screening for ARG-like and 16S rRNA gene sequences were conducted by UBLAST using Perl script supplied by the platform. The candidate ARG sequences were aligned against ARG database SARG using BLASTX and then classified according to the SARG hierarchy (type-subtype-sequence) when meeting the criteria in BLASTX results (i.e., alignment length 25 aa, similarity 80% and evalue 1e-5). ARG abundance (unit: copies of ARG per copy of 16S rRNA) in each metagenomic dataset was ARG-like sequence number normalized to the corresponding ARG reference sequence length (nucleotide) and the number of 16S rRNA genes. Community composition was identified by 16S rRNA gene hypervariable region from metagenomic datasets by USEARCH against Greengenes nr90 database.
SourceTracker method validation
Analysis was conducted in R using SourceTracker under default parameter settings (burnin = 100, nrestarts = 10, ndraws.per.restart = 1, delay = 10, α = 0.001, β = 0.01, rarefaction_depth = 1000), in which different categorical probabilities were used for calling a certain ratio of source present. The predictive performance of the classifier in ARG source tracking was evaluated by leave-one-out cross-validation of 656 datasets with five runs. For each sample, predicted proportion for each of five potential sources (i.e., HF, AF, WA, NT, and UN (unknown)) across all five runs was averaged and source with the highest average proportion was deemed as the predicted source. Consistency between the predicted source and original ecotype was used to calculate general SourceTracker prediction accuracy. Within each ecotype, standard deviation (SD) and RSD were calculated across predicted proportions. To further examine potential and limitation of SourceTracker in predicting specific source contributions within sink samples, eight artificial sink configurations were generated containing defined proportions of source ARGs. ARG tables consisted of average proportions of ARGs associated with each ecotype were combined into a single representative source sample. The sink sample was generated by multiplying and adding these averages into a single configuration. The SourceTracker output was designated as the ‘predicted’ proportion, and the artificial source inputs were designated as ‘expected’. Taking variation between runs (i.e., RSD) into account, predicted proportions were compared with the expected across configurations. In addition, the trained classifier was challenged by three sets of metagenomic samples with obvious gradient influence from human activities to evaluate its performance in the following real application: 1). influent and effluent samples of a WWTP from summer and winter seasons respectively ; 2). marine sediments collected from different HK coastal locations ; 3). PRE sediment in south China and deep ocean sediment in SCS .
Evaluation of parameter adjustment
Three particular artificial configurations (configuration A, B, and C), covering a range of positive and negative sources, were applied to evaluate effect of parameter adjustment on SourceTracker performance. HF and AF were included as negative control sources which should not be detected, while WA and NT were present at defined concentrations which should always be detected. Independent parameter adjustment of rarefaction depth (1000 (default), 5000, 20,000 and 50,000), burn-in period (100 (default) and 1000), restarts (10 (default) and 20), as well as Dirichlet hyperparameters α (0.1, 0.05, 0.01, 0.005, 0.001(default), 0.0005, 0.0001, 0.00005, 0.00001) and β (0.1, 0.08, 0.06, 0.04, 0.02, 0.01(default), 0.008, 0.006, 0.004, 0.002) was investigated. Based on predicted presence/absence and ratio of sources in the configurations, sensitivity (TP/(TP + FN)), specificity (TN/(TN + FP)), precision (TP/(TP + FP)), accuracy ((TP + TN)/total number of sources) and RSD were calculated to evaluate effect of the parameter adjustment on SourceTracker prediction performance (TP: true positive, detected WA and NT sources; TN: true negative, non-detected HF and AF sources; FP: false positive, detected AF and HF sources; FN: false negative, non-detected WA and NT sources).
The beta-diversity of ARG and community structure between different samples was compared using principal coordinate analysis (PCoA) based on Bray-Curtis distance. Procrustes test for correlation analysis between ARGs and bacterial communities was performed in R with the vegan package. To identify specific indicator ARGs that characterize each of the environments, both abundant (this is called specificity) and predominant (this is called fidelity) in the type of environment, the package labdsv and test indval were run in R, where IV ranges from 0 to 1 with higher values for stronger indicators. Linear correlation was conducted to identify the association between the abundance distribution of individual profile of each ARG and general profile across all ARGs, in which those ARGs with higher linear correlation were selected as potential general indicators of overall ARG pollution. Common and unique ARGs were obtained based on absence and presence pattern in the four ecotypes. All graphs were produced by ggplot2 package. R script used for this study is available at https://github.com/LiguanLi/SourceTrack.
Antibiotic resistance gene
Pearl River Estuary
Relative standard deviation
South China Sea
Activated sludge from wastewater treatment plant
Wastewater treatment plant
O’Neill J. Review on antimicrobial resistance: tackling drug-resistant infections globally: final report and recommendations. London: Wellcome Trust and UK Government; 2016. Available online at https://www.jpiamr.eu/finalreport/.
Crofts TS, Gasparrini AJ, Dantas G. Next-generation approaches to understand and combat the antibiotic resistome. Nat Rev Microbiol. 2017;15:422–34.
Laxminarayan R, Duse A, Wattal C, Zaidi AKM, Wertheim HFL, Sumpradit N, et al. Antibiotic resistance-the need for global solutions. Lancet Infect Dis. 2013;13:1057–98.
Berendonk TU, Manaia CM, Merlin C, Fatta-Kassinos D, Cytryn E, Walsh F, et al. Tackling antibiotic resistance: the environmental framework. Nat Rev Microbiol. 2015;13:310–7.
Martinez JL, Coque TM, Baquero F. What is a resistance gene? Ranking risk in resistomes. Nat Rev Microbiol. 2015;13:116–23.
Séveno NA, Kallifidas D, Smalla K, van Elsas JD, Collard J-M, Karagouni AD, et al. Occurrence and reservoirs of antibiotic resistance genes in the environment. Rev Med Microbiol. 2002;13:15–27.
Surette M, Wright GD. Lessons from the environmental antibiotic resistome. Annu Rev Microbiol. 2017;71:309–29.
Pruden A, Joakim Larsson DG, Amézquita A, Collignon P, Brandt KK, Graham DW, et al. Management options for reducing the release of antibiotics and antibiotic resistance genes to the environment. Environ Health Perspect. 2013;121:878–85.
Wellington EM, Boxall AB, Cross P, Feil EJ, Gaze WH, Hawkey PM, et al. The role of the natural environment in the emergence of antibiotic resistance in Gram-negative bacteria. Lancet Infect Dis. 2013;13:155–65.
Wright GD. Antibiotic resistance in the environment: a link to the clinic? Curr Opin Microbiol. 2010;13:589–94.
Garner E, Benitez R, von Wagoner E, Sawyer R, Schaberg E, Hession WC, et al. Stormwater loadings of antibiotic resistance genes in an urban stream. Water Res. 2017;123:144–52.
Wang F, Stedtfeld RD, Kim O-S, Chai B, Yang L, Stedtfeld TM, et al. Influence of soil characteristics and proximity to antarctic research stations on abundance of antibiotic resistance genes in soils. Environ Sci Technol. 2016;50:12621–9.
Devarajan N, Laffite A, Mulaji CK, Otamonga JP, Mpiana PT, Mubedi JI, et al. Occurrence of antibiotic resistance genes and bacterial markers in a tropical river receiving hospital and urban wastewaters. PLoS One. 2016;11:e0149211.
He LY, Liu YS, Su HC, Zhao JL, Liu SS, Chen J, et al. Dissemination of antibiotic resistance genes in representative broiler feedlots environments: identification of indicator ARGs and correlations with environmental variables. Environ Sci Technol. 2014;48:13120–9.
Pruden A, Arabi M, Storteboom HN. Correlation between upstream human activities and riverine antibiotic resistance genes. Environ Sci Technol. 2012;46:11541–9.
Storteboom H, Arabi M, Davis JG, Crimi B, Pruden A. Tracking antibiotic resistance genes in the South Platte river basin using molecular signatures of urban, agricultural, and pristine sources. Environ Sci Technol. 2010;44:7397–404.
Li B, Yang Y, Ma L, Ju F, Guo F, Tiedje JM, et al. Metagenomic and network analysis reveal wide distribution and co-occurrence of environmental antibiotic resistance genes. ISME J. 2015;9:2490–502.
Pal C, Bengtsson-Palme J, Kristiansson E, Larsson DGJ. The structure and diversity of human, animal and environmental resistomes. Microbiome. 2016;4:54.
Nesme J, Cécillon S, Delmont TO, Monier JM, Vogel TM, Simonet P. Large-scale metagenomic-based study of antibiotic resistance in the environment. Curr Biol. 2014;24:1096–100.
Low A, Ng C, He J. Identification of antibiotic resistant bacteria community and a GeoChip based study of resistome in urban watersheds. Water Res. 2016;106:330–8.
Fitzpatrick D, Walsh F. Antibiotic resistance genes across a wide variety of metagenomes. FEMS Microbiol Ecol. 2016;92:1–8.
Knights D, Kuczynski J, Charlson ES, Zaneveld J, Mozer MC, Collman RG, et al. Bayesian community-wide culture-independent microbial source tracking. Nat Methods. 2011;8:761–3.
Breiman L. Random forests. Mach Learn. 2001;45:5–32.
Dubinsky EA, Butkus SR, Andersen GL. Microbial source tracking in impaired watersheds using PhyloChip and machine-learning classification. Water Res. 2016;105:56–64.
Smith A, Sterba-Boatwright B, Mott J. Novel application of a statistical technique, random forests, in a bacterial source tracking study. Water Res. 2010;44:4067–76.
Forsberg KJ, Patel S, Gibson MK, Lauber CL, Knight R, Fierer N, et al. Bacterial phylogeny structures soil resistomes across habitats. Nature. 2014;509:612–6.
Pehrsson EC, Tsukayama P, Patel S, Mejía-Bautista M, Sosa-Soto G, Navarrete KM, et al. Interconnected microbiomes and resistomes in low-income human habitats. Nature. 2016;533:212–6.
Munck C, Albertsen M, Telke A, Ellabaan M, Nielsen PH, Sommer MOA. Limited dissemination of the wastewater treatment plant core resistome. Nat Commun. 2015;6:8452.
Zhu Y-G, Zhao Y, Li B, Huang C-L, Zhang S-Y, Yu S, et al. Continental-scale pollution of estuaries with antibiotic resistance genes. Nat Microbiol. 2017;2:16270.
Davies J, Davies D. Origins and evolution of antibiotic resistance. Microbiol Mol Biol Rev. 2010;74:417–33.
Ahmed W, Staley C, Sadowsky MJ, Gyawali P, Sidhu J, Palmer A, et al. Toolbox approaches using molecular markers and 16S rRNA gene amplicon data sets for identification of fecal pollution in surface water. Appl Environ Microbiol. 2015;81:7067–77.
Staley C, Kaiser T, Gidley ML, Enochs IC, Jones PR, Goodwin KD, et al. Differential impacts of land-based sources of pollution on the microbiota of Southeast Florida coral reefs. Appl Environ Microbiol. 2017;83:1–16.
Henry R, Schang C, Coutts S, Kolotelo P, Prosser T, Crosbie N, et al. Into the deep: evaluation of SourceTracker for assessment of faecal contamination of coastal waters. Water Res. 2016;93:242–53.
Yang Y, Li B, Zou S, Fang HHP, Zhang T. Fate of antibiotic resistance genes in sewage treatment plant revealed by metagenomic approach. Water Res. 2014;62:97–106.
Ju F, Zhang T. Bacterial assembly and temporal dynamics in activated sludge of a full-scale municipal wastewater treatment plant. ISME J. 2015;9:683–95.
Chen B, Yang Y, Liang X, Yu K, Zhang T, Li X. Metagenomic profiles of antibiotic resistance genes (ARGs) between human impacted estuary and deep ocean sediments. Environ Sci Technol. 2013;47:12753–60.
Koike S, Krapac IG, Oliver HD, Yannarell AC, Chee-Sanford JC, Aminov RI, et al. Monitoring and source tracking of tetracycline resistance genes in lagoons and groundwater adjacent to swine production facilities over a 3-year period. Appl Environ Microbiol. 2007;73:4813–23.
Tacão M, Correia A, Henriques I. Resistance to broad-spectrum antibiotics in aquatic systems: anthropogenic activities modulate the dissemination of blaCTX-M-like genes. Appl Environ Microbiol. 2012;78:4134–40.
Forsberg KJ, Reyes A, Wang B, Selleck EM, Sommer MOA, Dantas G. The shared antibiotic resistome of soil bacteria and human pathogens. Science (80- ). 2012;337:1107–11.
Baquero F, Martínez JL, Cantón R. Antibiotics and antibiotic resistance in water environments. Curr Opin Biotechnol. 2008;19:260–5.
Rodriguez-Mozaz S, Chamorro S, Marti E, Huerta B, Gros M, Sànchez-Melsió A, et al. Occurrence of antibiotics and antibiotic resistance genes in hospital and urban wastewaters and their impact on the receiving river. Water Res. 2015;69:234–42.
Chee-Sanford JC, Amniov RI, Krapac IJ, Garrigues-Jeanjean N, Mackie RI, Aminov R. Occurrence and diversity of tetracycline resistance genes in lagoons and groundwater underlying two swine production facilities occurrence and diversity of tetracycline resistance genes in lagoons and groundwater underlying two swine production facilities. Appl Environ Microbiol. 2001;67:1494–502.
Allen HK, Moe LA, Rodbumrer J, Gaarder A, Handelsman J. Functional metagenomics reveals diverse β-lactamases in a remote Alaskan soil. ISME J. 2009;3:243–51.
Rizzo L, Manaia C, Merlin C, Schwartz T, Dagot C, Ploy MC, et al. Urban wastewater treatment plants as hotspots for antibiotic resistant bacteria and genes spread into the environment: A review. Sci Total Environ. 2013;447:345–60.
Allen HK, Donato J, Wang HH, Cloud-Hansen KA, Davies J, Handelsman J. Call of the wild: antibiotic resistance genes in natural environments. Nat Rev Microbiol. 2010;8:251–9.
Comte J, Berga M, Severin I, Logue JB, Lindström ES. Contribution of different bacterial dispersal sources to lakes: population and community effects in different seasons. Environ Microbiol. 2017;19:2391–404.
Klümper U, Riber L, Dechesne A, Sannazzarro A, Hansen LH, Sørensen SJ, et al. Broad host range plasmids can invade an unexpectedly diverse fraction of a soil bacterial community. ISME J. 2015;9:934–45.
Popowska M, Krawczyk-Balska A. Broad-host-range IncP-1 plasmids and their resistance potential. Front Microbiol. 2013;4:1–8.
Mazel D. Integrons: agents of bacterial evolution. Nat Rev Microbiol. 2006;4:608–20.
Gillings MR, Gaze WH, Pruden A, Smalla K, Tiedje JM, Zhu YG. Using the class 1 integron-integrase gene as a proxy for anthropogenic pollution. ISME J. 2015;9:1269–79.
Li L-G, Xia Y, Zhang T. Co-occurrence of antibiotic and metal resistance genes revealed in complete genome collection. ISME J. 2017;11:651–62.
Pal C, Bengtsson-Palme J, Kristiansson E, Larsson DGJ. Co-occurrence of resistance genes to antibiotics, biocides and metals reveals novel insights into their co-selection potential. BMC Genomics. 2015;16:964.
Fortunato CS, Eiler A, Herfort L, Needoba JA, Peterson TD, Crump BC. Determining indicator taxa across spatial and seasonal gradients in the Columbia River coastal margin. ISME J. 2013;7:1899–911.
Yang Y, Jiang X, Chai B, Ma L, Li B, Zhang A, et al. ARGs-OAP: online analysis pipeline for antibiotic resistance genes detection from metagenomic data using an integrated structured ARG-database. Bioinformatics. 2016;32:2346–51.
Li B, Ju F, Cai L, Zhang T. Profile and fate of bacterial pathogens in sewage treatment plants revealed by high-throughput metagenomic approach. Environ Sci Technol. 2015;49:10492–502.
Guo F, Li B, Yang Y, Deng Y, Qiu JW, Li X, et al. Impacts of human activities on distribution of sulfate-reducing prokaryotes and antibiotic resistance genes in marine coastal sediments of Hong Kong. FEMS Microbiol Ecol. 2016;92:fiw128.
We would like to thank Yu Xia, Xiaotao Jiang, and Yulin Wang for providing technical support of computational analysis. Metagenomic datasets of PRE and SCS sediment samples were provided by Prof. Xiangdong Li in Department of Civil and Environmental Engineering, The Hong Kong Polytechnic University.
Dr. Tong Zhang would like to thank the Hong Kong General Research Fund (172099/14E) for providing the financial support for this study. Dr. Li-Guan Li thanks The University of Hong Kong for providing the postdoctoral fellowships. Ms. Xiaole Yin thanks The University of Hong Kong for financial support.
Availability of data and materials
The metagenomics datasets used in this study are available in Additional file 1. The source code for all bioinformatics and statistical analysis is publically available at https://github.com/LiguanLi/SourceTrack.
Ethics approval and consent to participate
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Table S1. Metadata of 656 metagenomic datasets. Table S5. SourceTracker parameter adjustment. a Defined source input ratio in the three artificial configurations (A, B, and C). b Effect of parameter adjustment on SourceTracker prediction performance of configurations A, B, and C (indicated by RSD, sensitivity, specificity, precision, and accuracy). Table S6. Statistical details (IV and P value) of 95 indicator ARGs of the four ecotypes. (XLSX 78 kb)
Figure S1. ARG abundance profile-based PCoA across all collected metagenomics datasets (featured by both their ecotype and project/study). Shape of each dot indicates different ecotype, and dot color indicates different project or study in which these datasets involved. Figure S2. PCoA analysis based on abundance profiles of overall ARG (a) and community structure at phylum level (b). Procrustes analysis revealed that PCoA of overall ARG and community structure profiles are significantly correlated (P < 0.001, based on 9999 permutations). Figure S3. Predicted source proportion in WWTP influent and effluent by SourceTracker. Figure S4. Occurrence and abundance profile of indicator ARGs. a Relative abundance of indicator ARGs in samples where they occur vs occupancy. b Specific occurrence (occurrence ratio in samples of indicated ecotype) vs general occurrence (occurrence ratio in samples outside indicated ecotype) of indicator ARGs across 656 samples. Figure S5. Abundance profiles (log2 transformed) of five top ARGs with high correlation with overall abundance across 656 metagenomic datasets. Inner circles, top correlation sequence I–V (in an outward direction from innermost circle layers); outer circle, overall ARGs abundance. (DOCX 2108 kb)
Table S2. SourceTracker prediction proportion variation (indicated by mean, SD, and RSD) between runs in leave-one-out cross-validation by 656 samples (refer to Fig. 1d). Table S3. SourceTracker prediction proportion variation (indicated by mean, SD, and RSD) between runs of eight artificial configurations (refer to Fig. 2). Table S4. Location of 12 HK sediment samples, 9 PRE and SCS sediments. Table S7. Sequence information of ARGs of relative high correlation (R2 ≥ 0.5) with overall abundance profiles. (DOCX 1430 kb)
About this article
Cite this article
Li, L., Yin, X. & Zhang, T. Tracking antibiotic resistance gene pollution from different sources using machine-learning classification. Microbiome 6, 93 (2018). https://doi.org/10.1186/s40168-018-0480-x
- Antibiotic resistance gene
- Source tracking
- Machine learning classification