Skip to main content

PangenomeNet: a pan-genome-based network reveals functional modules on antimicrobial resistome for Escherichia coli strains



Discerning genes crucial to antimicrobial resistance (AMR) mechanisms is becoming more and more important to accurately and swiftly identify AMR pathogenic strains. Pangenome-wide association studies (e.g. Scoary) identified numerous putative AMR genes. However, only a tiny proportion of the putative resistance genes are annotated by AMR databases or Gene Ontology. In addition, many putative resistance genes are of unknown function (termed hypothetical proteins). An annotation tool is crucially needed in order to reveal the functional organization of the resistome and expand our knowledge of the AMR gene repertoire.


We developed an approach (PangenomeNet) for building co-functional networks from pan-genomes to infer functions for hypothetical genes. Using Escherichia coli as an example, we demonstrated that it is possible to build co-functional network from its pan-genome using co-inheritance, domain-sharing, and protein–protein-interaction information. The investigation of the network revealed that it fits the characteristics of biological networks and can be used for functional inferences. The subgraph consisting of putative meropenem resistance genes consists of clusters of stress response genes and resistance gene acquisition pathways. Resistome subgraphs also demonstrate drug-specific AMR genes such as beta-lactamase, as well as functional roles shared among multiple classes of drugs, mostly in the stress-related pathways.


By demonstrating the idea of pan-genome-based co-functional network on the E. coli species, we showed that the network can infer functional roles of the genes, including those without functional annotations, and provides holistic views on the putative antimicrobial resistomes. We hope that the pan-genome network idea can help formulate hypothesis for targeted experimental works.

Peer Review reports


Antibiotic resistance is an emerging worldwide problem. Due to the misuse of antibiotics, emergence of highly resistant pathogens has again transformed the once conquered infectious diseases lethal. To control those resistant pathogens, new drugs are needed. However, new antimicrobial agents approved by the Food and Drug Administrative is declining since the 1990s [1], hinting that we are running out of drugs against AMR pathogens very quickly, as exemplified by the hospital superbug, methicillin-resistant Staphylococcus aureus (MRSA) [2].

To generate new strategies against resistance, we must know more about resistance mechanisms—how do those mobile elements and mutations change the dynamics of microbes? Are there new resistance genes within the pathogens that mandate therapeutic targeting? How quickly and how often do pathogens acquire AMR genes? It has been hypothesized that antibiotic resistance trades off against fitness in the absence of antibiotics [3, 4], in which adaptive genes amplify against antimicrobial agents and are accompanied by compensatory mutations to tackle the fitness losses [5]. This indicates that the acquisition of resistance genes exposes new vulnerability in pathogens that may allow new strategies against resistance strains.

Networks are becoming powerful tools in functional genomics [6], hypothesis generation in disease research [7], and gene essentiality prediction [8,9,10]. For example, recent studies have identified novel genes and potential drug target molecules from network analysis [11]. Existing networks, however, suffer from one major drawback: many genes without known functions are missed in the species-level networks; as a result the networks are biased toward the core genome [12,13,14]. In other words, genes with unknown functions (often annotated as hypothetical genes) are often excluded from the analysis and hence cannot be inferred for functional purposes. However, many resistance determinants are acquired from horizontal gene transfer and do not belong to the core genome. Furthermore, existing network-based approaches usually focus on one or several strains instead of utilizing a more comprehensive collection of strain-level variability, resulting in potential biases toward certain strains.

In order to identify hypothetical genes that may be related to AMR activities from a more comprehensive collection of pathogenic strains, we incorporated the idea of pan-genome, which is defined as the collectively shared genes of all strains of a certain bacterium, and used it to build a co-functional network. This allowed us to include all available genetic elements, including putative genes with unknown functions (hypothetical genes), into the network for analysis purpose. Our network (PangenomeNet) was constructed based on information from three different data types: co-inheritance information, protein domain sharing, and protein–protein interactions. Each type of the data has the potential to complement other data types (i.e. providing gene relationships that can only be seen within one of the data types) and provides a functional organization of the resistome. By building the pan-genome for the common pathogen Escherichia coli and using the pan-genome to build a co-functional network, we show that we are able to predict the functions for putative hypothetical genes and demonstrate their functional links with antibiotic resistances.


The Escherichia coli pan-genome

We built a pan-genome for the E. coli species in order to probe thousands of strains at the same time. As shown in Table 1, the constructed E. coli pan-genome, which was built from 2931 E. coli genomes (list of genomes and their genomic properties can be found in Additional file 2: Table S1), consists of 41,822 gene clusters, among which 3056 belong to the core-genome and 38,766 belong to the accessory genome (Table 1).   After annotating gene clusters for their functional roles (Additional file 3: Table S2), we identified that 48.86% of the gene clusters are designated as hypothetical proteins. The growth curves of core-, accessory-, and pan-genomes were plotted to check whether our “extended core (99% identity)” definition [15] is suitable for ongoing pan-genome analysis. By fitting to the power law distribution we identified that the E.coli pan-genome is an open pan-genome (alpha = 0.21) (Fig. 1A, Additional file 1: Fig. S1) [16], indicating the highly diverse genetic variability among different E. coli strains.

Table 1 Escherichia coli pan-genome statistics
Fig. 1

Pan-genome statistics and meropenem-resistance genes. A Growth curves of the core, accessory and pangenome; B Scoary-predicted meropenem-resistance associated genes

To probe the connection between gene clusters and the AMR phenotypes, we used pangenome-wide association tool, Scoary [17], to identify gene clusters that are significantly correlated with antimicrobial resistance phenotype. Using meropenem resistance as an example, Scoary identified 683 putative carbapenem-resistance associated genes, with KPC Carbapenemase as the strongest resistance determinant (Fig. 1B). Only 30% of the putative resistance genes have GO annotation, among which 1.2% can be annotated by Comprehensive Antibiotic Resistant Database (CARD) [18] and 3% are detected by Resfam [19]. There are many hypothetical genes that are significantly associated with meropenem resistance (Fig. 1B). Similar observations were also made on other antibiotics, in which many hypothetical genes are strongly associated with drug resistances (Additional file 1: Fig. S2, Additional file 4: Table S3). GO enrichment analysis demonstrated enrichment in aromatic compound catabolism (GO:0019439) and C4-dicarbozylase transport (GO:0014730) (Additional file 1: Fig. S3, Additional file 5: Table S4). Since only a small set of AMR genes can be annotated by existing databases, we reasoned that a more comprehensive functional view on meropenem resistance requires an alternative approach.

The PangenomeNet

In order to identity the functional roles of the hypothetical genes that are potentially related to antimicrobial resistance activities (termed hypothetical AMR genes hereafter) in E.coli, we built and integrated a co-functional network using the pan-genome based on three different types of information: co-inheritance [20], domain sharing [21], and protein–protein interaction relationship [22] (See Methods for details). As the complexity of network construction grows quadratically with the number of gene clusters, we reduced computational load by selecting 2052 accessory genes that were associated with resisting at least one drug (detected by Scoary) along with 1001 sampled core genes to construct the network.

Even though the amount of hypothetical genes of the co-inheritance networks (including the RefseqNet and the EskapeNet) and DomainNet are significant (approximately 20–28%), the two networks are fragmented (as indicated by the number of components). In order to improve the connectivity of the network, the STRING network (STRINGNet) [22] was integrated with the two co-inheritance networks. As shown in Table 2, the coverage of the integrated network (termed PangenomNet) reaches 2284 out of 3053 (74%) gene clusters, among which 1001 (43.8%) belong to the core genome and 1283 (56.2%) belong to the accessory genome.

Table 2 Properties of individual networks and the composite PangenomeNet

GO term semantic similarity score (GOSim) [23, 24] was calculated to evaluate the accuracy of the PangenomeNet for co-functional inferences. The score distributions of all individual networks are positively associated with log-likelihood scores (LLS; GOSim > 0.6 is labelled as true interaction), indicating that all four networks contain information in determining the GO similarity (Additional file 1: Fig. S5). Since each the four networks contributes to unique nodes and edges (Additional file 1: Fig. S6), we reasoned that all components are indispensable to a comprehensive view on the pan-genome. As shown in Fig. 2A–C, the integrated network (PangenomeNet) is more comprehensive than individual networks. Comparing to EcoliNet [25], which is a co-functional network built on 4146 protein-coding genes from E. coli, and Mentha, an expert-curated protein–protein interaction database [26], the PangenomeNet has better performance for covering both core and accessory genes. We note that Mentha and STRING networks had very poor positive predictive value (PPV)-coverage tradeoff for accessory genes, showing their biases towards the core genome.

Fig. 2

The network statistics and properties of PangenomeNet. Positive-predictive values (PPV) and coverage tradeoff curve for A the entire pangenome, B core genes, and C accessory genes; D Power-law distribution of the Pan-genomeNet; E–H Degree centrality score for different sets of genes

The scale-free property, defined by the power law distribution (the probability a node has k links \(P(k) {k}^{-t}\) with t as the degree component) [6], was also checked since most biological networks are scale-free. As shown in Fig. 2D (the power law distribution for all networks are available in Additional file 1: Fig. S7), the PangenomeNet fits the characteristics of biological networks and can be used for functional inferences.

Network centrality scores

Since genes that are critical to the survival of bacteria tend to be centralized in the gene or protein networks [27], the centrality score of several gene cluster groups were examined. Not surprisingly, we identified that core genes receive significantly higher centrality scores compared to accessory genes (Fig. 2E, Kolmogorov–Smirnov p value 2e−85), and that hypothetical genes have lower centrality scores (Fig. 2F, Kolmogorov–Smirnov p-value 7e-232). COG categories that are essential to bacterial survival (ECFHKMLGIJ) also receive significantly higher centrality (Fig. 2H, Kolmogorov–Smirnov p value 1e−147) [28]. These results again suggest that the PangenomeNet is consistent with the looks of biological networks.

The centrality scores of AMR genes were also checked. As shown in Fig. 2G, The AMR genes annotated by the CARD database have higher centrality than ordinary accessory genes, but lower than core genes (Kolmogorov–Smirnov p value 0.0003). The results suggests that the AMR may be located at the periphery of core genes, indicating their close connection to normal physiology [29].

PangenomeNet reveals functional organization of the meropenem resistome

We extracted a subnetwork with 683 putative resistance genes (see Methods; network details provided in Additional file 6, Table S5 and Additional file 7, Table S6) for a complete functional view of meropenem resistome. With predicted GOsim > 0.6, our PangenomeNet is able to cover interactions among 224 (32.7%) of them. In contrast to common resistance gene annotation tools, including CARD [18] and Resfam [19], which annotate 1% and 3% of all putative resistance genes, our network has the advantage in discovering novel resistance modules. The subnetwork consists of a large connected component along with several small components (Fig. 3; detailed network with node annotations is also available on Network data exchange (NDX); see Availability of data and materials for accession). The largest component consists of several densely connected communities, indicating resistance acquisition is functionally modularized.

Fig. 3

Meropenem resistance gene subnetworks. Grey nodes indicate genes with annotations while pink nodes indicate hypothetical proteins. Functional overviews of the sub-components are indicated next to the components

The Meropenem resistome contains a cluster of new drug target, transglycosylase

Our network identified a separate component that is composed of three transglycosylases, one conjugal transfer protein, and one hypothetical protein, as shown in Fig. 3. The prevalence of transglycoylases in the resistome also suggests the importance of this gene family. Interestingly, recent genetic screens show transglycosylase disruption increases susceptibility to beta-lactams in Pseudomonas aeruginosa. Bulgecin A, a small molecule transglycosylase inhibitor, can restore the efficacy of meropenem [30]. Meropenem, a type of beta-lactam antibiotic, targets penicillin binding protein, which usually has dual transpeptidase and transglycosylase activity in cell wall formation [31]. Upon cell wall perturbation, the transglycosylase cleaves the accumulated product, producing metabolites that are capable of inducing beta-lactamase resistance genes [32] and offering survival advantage upon meropenem treatment. The connections between the hypothetical proteins with the transglycosylases indicate their potential roles in cell wall formation, and may be novel targets to combat meropenem resistances.

The Meropenem resistome contains clusters related to signal transduction pathways to stress response and gene acquisition

Several subnetworks consist of known proteins that elicit downstream transcriptional response for antibiotic stress adaptation (Fig. 3), including two component systems, Quorum sensing Luxl–LuxR [33], toxin–antitoxin systems (type II: HigA, ParD, HicB; type I: Hok) [34], Tellurium-resistant genes [35,36,37,38,39] and Willebrand factor type A (vWA) [40, 41]. These signal transduction pathways regulate cell density, virulence and dormancy [33, 34, 42, 43]. The rapid gene expression changes allow “phenotypic resistance”, that is, resistance without genetic alterations. For example, dormant cells are more tolerant to antibiotics due to lower target activities or drug uptakes [42, 43]. Such mechanisms were found to be the first line defense against antibiotics before acquiring resistance genes that removes the drug from the cells [42, 43]. We summarized the mechanisms from existing literature of how these genes lead to resistance in Fig. 4.

Fig. 4

Inferred mechanisms for meropenem resistance acquisition revealed by this study

Several pathways related to resistance gene acquisition were also identified in the network. First, Error prone DNA polymerase V may increase mutation rate and thus allows better adaptability to stress [44]. Second, DNA methylation has been shown to enhance viability under antibiotic treatment. Absence of DNA methyltransferase impairs methyl-dependent mismatch repair, leaving the bacteria overwhelmed with deleterious DNA break [45]. Epigenetic modification is also crucial for survival under sub-inhibitory concentration, enabling flexible phenotypic resistance [46]. Interestingly, a group of DNA methyltransferase connect tightly with a group of hypothetical proteins (DUF 4942 and two other hypothetical protein), indicating that these hypothetical proteins may be a novel group of methyltransferase, or a system working in conjunction with the DNA repair process. Last but not least, large number of genes participate in horizontal-gene-transfer (HGT) mechanisms, including phage, plasmid and integron proteins that may allow genetic acquisition of resistances [47].

Pan-resistome reveal drug-class-specific and general resistant gene modules

Many of the aforementioned resistance modules such as the signal transduction and mutational related pathways are not specific to Meropenem. Motivated by this finding, we aimed to compare the resistomes detected by Scoary for all antibiotics. We extracted all 2052 putative resistance genes that are associated with any of the antibiotic drugs and constructed a subnetwork termed pan-resistome subnetwork. Similar to the meropenem resistance network, the pan-resistome network is highly modularized. To quantitatively extract functional modules, we ran data-driven ontology (DDOT) [48] to organize the network into an ontology and aligned the terms to Gene Ontology [49] and Antibiotic Resistance Ontology [48] (Additional file 8, Table S7). To identify drug-specific gene modules, for each term in the tree, we ran Fisher’s exact test to find terms that contain genes significantly associated with a specific drug. As shown in Fig. 5, we found several drug-specific terms. For example, term ARO:3000187-hydrolysis of beta-lactam antibiotic by serine beta-lactamase (S:1520) and GO:0030655-beta-lactam antibiotic catabolic process (S:1504) are associated with multiple beta-lactam drugs (cephem, penicillin and carbapenems). Genes associated with this term are annotated as various families of beta-lactamases: SHV, CTXM and TEM1.

Fig. 5

Clustering of shared terms in the pan-resistome ontology

Specific classes of beta-lactamases are associated with subtypes of beta-lactams. For example, ARO:3000467-NDM-5 (S:1456) and glycosyltransferase are only associated with cephems among the probed drugs, indicating the potential roles of these two enzymes on cephem resistances. Another example of drug specific term is GO:0006545-glycine biosynthetic process (S:1515) with enrichment in drugs trimethoprim and trimethoprim-sulfamethoxazole. Trimethoprim, a folate synthesis inhibitor, inhibits dihydrofolate reductase (DHFR) and impairs downstream glycine and methionine synthesis, hampering cell growth [50]. Genes associated with these terms are all transposon-encoded DHFR dfrA8 and drfA12.

In addition to the drug-specific resistome, we also identified many GO terms shared among drugs. For example, toxin–antitoxin system is associated with multiple drug class, including 'GO:0097351-toxin–antitoxin pair type II binding (S:1500)', 'antitoxin (S:1480)', and 'Type I toxin–antitoxin (Hok) (S:1422). None of these are annotated by CARD or Resfam. In addition, two genes belonging to Type I toxin–antitoxin Hok do not have GO annotation. This example shows that our network can complement current gene annotation databases and allow a functional overview of the resistome by grouping genes with related functions together.


Here we built a network on the pan-genomic scale to investigate the biology of hypothetical genes and their roles of antibiotic resistance. In our network, we found many functional modules that is related to resistance, either to a specific class of drug or serve as a general response to stress. The latter one, however, is less well-known and poorly documented in current annotation databases. Meanwhile, experiments in literature report strains with those systems display phenotypic resistance, thereby allowing more time for these pathogens to acquire genetic resistance. For example, two component systems, quorum sensing pathways and toxin–antitoxin systems utilize different signal transduction pathways to induce dormancy and virulence gene modules (Fig. 4) [33, 34, 51]. Organic or heavy metal solvent tolerance was found to be associated with multidrug resistance, possibly due to shared mechanism against drug and solvent [35, 36, 38, 39]. Deletion of Tellurium-resistant operons has been reported to reduce resistance to cell-wall-targeting drugs in Listeria [37]. Error prone DNA polymerase V is required for persister cells heritable resistance [44]. Unlike the traditional shield-and-weapon view of AMR genes versus antibiotics [29], our findings and literature both suggest there may be more genes related to the antimicrobial resistance activities than well-documented ones.

Since the foundation of our network is based on pan-genome, the first step for building the PangenomeNet would be the construction of the bacterial pan-genome. The most important step for building the pan-genome is clustering the genes at certain amino acid identity threshold, in which we chose 70% as the clustering identity cutoff. There are two reasons choosing 70% as our identity threshold. Firstly, we annotated Gene Ontology (GO) terms for the genes using Interproscan v5.47–82 [52] and checked the proportion of gene clusters with consistent GO terms. As shown in Additional file 9: Table S8, we found that gene clusters ranging from 95 to 70% amino acid identity were all highly consistent in their GO term functionality annotations, indicating that identity as low as 70% may also be used for pan-genome construction purpose. The second reason would be that even though our approach is very useful in inferring gene functionalities for hypothetical proteins, the time required for running our algorithm grows quadratically with the number of gene clusters. We therefore decided to choose 70% as our clustering identity threshold for both the reduced number of gene clusters and the highly-consistent GO term annotations.

Our network reproduces characters of biological networks–scale free, and has better coverage in both core and accessory components compared to STRING networks [22] by species. It captures the underlying biology of core and accessory genes, demonstrating high connections in core genes, indicating its central physiologic role. The locations of known resistance genes on the periphery of core components indicate their tight connection to modifying the physiology to generate resistance. We note that EcoliNet [25], which consists of 4099 protein coding genes that covers 99% of a single E. coli genome, was also constructed using similar methods.. Our pan-genome-based network, however, is far more comprehensive than EcoliNet: the pan-genome composes of 41,822 gene clusters from 2931 strains. In other words, the pan-genome network can be used to describe the functional roles of the E. coli species in terms of thousands of strains. 

The investigation of the network connectivity reveals that the PangenomeNet, which was generated from the integration of four networks, is more comprehensive than any individual network, suggesting that utilizing different information helps in connecting the dots. The evaluation of network quality using GO term similarity scores also indicates that the integrated PangenomeNet is much more comprehensive than other networks. Other networks have high biases towards the core genome that mainly contains most of the well-studied genes. Even though our integrated network, PangenomeNet, is also somewhat biased, in which the coverage of the accessory genome is lower than the core genome, the bias is less significant than other networks. We hypothesize that such bias is an inevitable result from training on GO terms, as Gene Ontology itself is also biased. In our pan-genome, 78% of core gene clusters were annotated by Gene Ontology, while only 31% of the accessory gene clusters were annotated. The cumulative distribution of GOsim scores [23] for accessory-accessory gene pairs was also significantly lower (Additional file 1: Fig. S4).

Despite the efforts and contributions that we made in this work, there are still limitations. The first limitation of this method is that the running time grows quadratically as the size of pan-genome grows, as we are investigating all possible interactions between gene pairs, and thus will take a long time on pan-genome studies with a lot of genes or gene clusters. In this study, we demonstrated computing only on the genes of interest—the Scoary-detect resistance genes, in order to save computational resources. However, doing so omits the possibility of annotating hypothetical genes that are able to form connections with resistance genes but are not in the selected group (i.e. not detected by Scoary). Secondly, the bias toward the core genome lead to the loss of connections between accessory genes, resulting in an incomplete annotation of the whole resistome. Despite these biases, we nevertheless emphasize that the successful inference of potential antimicrobial resistance genes from the PangenomeNet shows that it is possible to probe putative AMR genes from thousands of microbial strains instead of just focused on one or a few strains. Last but not least, to thoroughly understand the mechanism of which these putative AMR genes lead to resistance, more experimental works are required.

In the future we plan to extend this work toward three directions. Firstly, we aim to develop a systematic annotation pipeline to annotate hypothetical proteins given a network, be it PangenomeNet or other networks built by other groups. This could greatly improve our annotation efficiency on any network. Secondly, we also seek to incorporate point mutation, insertion, and deletion information into the PangenomeNet in order to better utilize information on the nucleotide level. Finally, we also wish to develop an experimental platform to show the correlation between the hits and the acquisition of resistance. We hope this network can serve as a starting point of systems biology on species-level antimicrobial resistance activities and a guide on experimental biology and pharmacologic development.


Construction of the pan-genome

A pan-genome is defined as all possible genes that can occur within a single strain within a study group [53, 54]. As many antibiotic resistance genes disseminate horizontally, we reasoned the pan-genome includes both the core genes (genes exist in all E. coli strains) and the accessory genes (genes specific to a few, but not all, strains) to each strain, can best cover all possible genes conferring resistance. The construction steps are as follow: All E. coli genomic sequences (.fna) with resistant phenotype annotation, “Good” genome quality and from a human host were downloaded from PATRIC database website [55, 56] on February 2021. Genomes annotated as “plasmid” or contained less than 4826 genes (which is 60% of median gene number among all downloaded E. coli genomes) were removed from this study. The removed genomes had an average of 1274 CDS inferred. Upon checking the genome quality using checkM [57] we identified that the genome completeness of the excluded genomes were much lower than included genomes, as shown in Additional file 1: Fig. S8. In the end, a total of 2931 genomes were included in the construction of the pan-genome. The complete genome list and statistics are provided in Additional file 2: Table S1.

Protein coding sequences were predicted from all genomes using Prodigal v2.6.3 [58]. Pan-genome was then constructed by grouping genes predicted from every genome and then clustering the genes using CD-HIT v4.6 [59, 60] with amino acid identity 70%. We adapted the definition of extended core as our core genome, which corresponds to the presence in 99% of the genomes [15]. The representing genes of the clusters grouped by CD-HIT were annotated using DIAMOND v0.9.24 (blastp mode with “-k 1” parameter) [61] against RefSeq non-redundant protein database [62]. Any protein with the best hit protein annotation containing “Unknown”, “Hypothetical”, “DUF (Domain of unknown function)” or “Uncharacterized” words were regarded as hypothetical protein. Whether the pan-genome is open- or close-pan-genome was determined following [16], in which the exponential regression for new genes was fitted to the power law \(n=k{N}^{-\alpha }\). Whether the pan-genome is open or close is determined by \(\alpha\), in which the pan-genome is open if \(\alpha >1\) and close if \(\alpha \le 1\).

Gene clusters annotation

To annotate gene clusters, we used the sequence from representing genes to query several resources. For antibiotic resistance annotation, Resfam [19] and Comprehensive antibiotic resistance database (CARD) [18] were used. CARD is a manually curated database that represents mostly experimentally validated resistance mechanisms, while Resfam database consists of optimized Hidden Markov model for computational detection of protein families validated for antibiotic resistance [19]. CARD annotations were retrieved from RGI tool v5.1.1 with default parameter. CARD antibiotic resistance ontology (ARO) 3.1.1 were downloaded on February, 2021 to interpret RGI results. Resfam HMM database v1.2 and metadata v1.2 were downloaded from the Resfam website ( For functional annotations of genes, pathway, domain and Gene Ontology (GO) annotations were retrieved from EMBL Interproscan v5.48–83 [52]. Cluster of Orthologous Group (COG) annotation was identified using eggNOG HMM model [63] via HMMER v3.2.1 [64] with E-value cutoff set as 1e-10.

Pan-genome-wide association study to identify putative resistance genes

To identify gene clusters associated with resistance, we compared presence/absence patterns of the gene clusters against resistant phenotype annotations (provided by and downloaded from PATRIC database [55, 56]) using Scoary [17]. Scoary performs Fisher’s Exact Test to identify variants significantly associated with trait and then incorporates phylogenetic structure to look for the mostly likely causal variant. The Scoary analysis was performed with default parameters. Genes with odds ratio > 8 and false discovery rate (FDR) < 0.05 were defined as putative resistance genes.

Co-inheritance network

Proteins with relevant functions are more likely to be inherited together throughout the evolutionary process [20]. Previously Shin et al. showed that combining 3 co-inheritance network from 3 domains of life respectively increases precision and coverage [20]. To increase coverage on accessory genes, we trained two co-inheritance networks built against different sets of target genomes: ESKAPE genomes (Enterococcus faecium, Klebsiella pneumonia, Acinetobacter baumannii, P. aeruginosa, and Enterobacter species, which are groups of Gram-negative pathogen commonly share virulence genes), and all RefSeq prokaryotic genomes (

The construction of each co-inheritance network was similar to [20]. Firstly, the amino acid sequences of all representing genes in the E. coli pan-genome were extracted and mapped against the protein sequences of target genomes using DIAMOND v0.9.24 (with e-value cutoff 0.001) [61]. The e-values were then normalized by second best e-value of each genome into “hit score” between zero and one by the following equation [20]:

$${\hbox{Hit score}}=\left\{\begin{array}{cc}\frac{-\mathrm{ln}\left(evalue\right)}{-\mathrm{ln}\left(second \;best\; evalue\right)}& 0<evalue<1\\ 1& evalue=0\\ 0& evalue\ge 1 \;or\; no\; hit\end{array}\right.$$

A high hit score signifies that the query gene is more likely to have a similar counterpart present in the target genome. A pair of query genes with similar “hit score profile (a vector of length the number of target genomes, a.k.a. phylogenetic profile)” among all target genomes indicates that they may be co-inherited. Mutual information (I) was then used to estimate the similarity between phylogenetic profiles [20]. All query-target pairs of hit scores are discretized into 200 bins with equal intervals; the hit scores are then ordered in each bin to derive the joint probability of the query-target pair. The entropies \(H\left({q}_{i}\right)\), \(H\left({q}_{j}\right)\), and the mutual information \(I\left({q}_{i},{q}_{j}\right)\) are calculated as

$$H\left({q}_{i}\right)=-\sum p\left({q}_{i}\right)\mathrm{ln}\left(p\left({q}_{i}\right)\right)$$

Domain-sharing network

Protein domains are essential regions that determine protein functions, and genes with similar function usually share the same protein domains. The co-functional links inferred from protein domains are determined following the use of weighted mutual information (WMI) [21], in which rarer domains are weighted more significantly to account for more specific functions. The detailed steps are described as follows.

Given protein domain matrix \(M\) with \(m\) protein and \(n\) domains, each protein domain \(j\) is assigned weight \({w}_{\mathrm{j}}\) as:

$${w}_{j}=\frac{{\sum }_{k=1}^{n}{\sum }_{l=1}^{m}{c}_{kl}}{{\sum }_{k=1}^{n}{c}_{kj}}$$

where Cxy is the abundance of the xth domain for yth protein. The weighted mutual information \({I}_{w}\) of two proteins \(X\) and \(Y\) are calculated from weighted entropy \({H}_{w}\left(X\right)\) as:

$${I}_{w}\left(X, Y\right)= {H}_{w}\left(X\right)+{H}_{w}\left(Y\right)-{H}_{w}\left(X,Y\right)$$

Weighted entropy \({H}_{w}\left(X\right)\) is defined as:

$${H}_{w}\left(X\right)=-\sum_{t\in \left\{{0,1}\right\}}\left\{{p}_{w}\left(X, t\right)\cdot log {p}_{w}\left(X, t\right)\right\}$$

And probability \({p}_{w}\left(X, t\right)\) is assigned as:

$${p}_{w}\left(X, t\right)=\frac{\sum_{j\in \left\{j|c{X}_{ji}=t\right\}}{W}_{j}}{{\sum }_{j=1}^{m}{w}_{j}}$$

Similarly, joint entropy \({H}_{w}\left(X,Y\right)\) is estimated as:

$${H}_{w}\left(X,Y\right)=-\sum_{t\in \left\{\mathrm{00,01,10,11}\right\}}\left\{{p}_{w}\left(XY, {t}_{1}{t}_{2}\right)\cdot log {p}_{w}\left(XY, {t}_{1}{t}_{2}\right)\right\}$$
$${p}_{w}\left(XY, {t}_{1}{t}_{2}\right)=\frac{\sum_{j\in \left\{j|c{X}_{j}={t}_{1}, c{Y}_{j}={t}_{2}\right\}}{W}_{j}}{{\sum }_{j=1}^{m}{w}_{j}}$$

Protein–protein interaction network

The STRING database was downloaded from [22]. DIAMOND v0.9.24 [61] was employed to identify the E. coli representing genes that can be mapped to the STRING database (blastp mode; -id 0.7). The subset of the STRING nodes was then extracted by getting only nodes that can be mapped to the E. coli representing genes along with the edges that connected the extracted nodes.

Benchmarking with GO term similarity score

To benchmark each network, biological process GO term semantic similarity score (GOsim) was calculated using GOSemSim 2.12.0 using the Wang method [23, 24]. Each protein can be associated with multiple GO terms. The score of multiple term pairs between two proteins are aggregated using the BMA (best-match average strategy) method [23, 24]. With gene pair with GOsim > 0.6 labelled as “true interaction”, log likelihood score (LLS) was calculated following [12, 14, 20, 25]. Briefly the interval distribution of each network is estimated for its likelihood of interaction as

$$LLS = ln\left( {\frac{{P(L|E)/P\left( { \sim L/E} \right)}}{{P\left( L \right)/P\left( { \sim L} \right)}}} \right)$$

where L indicates the true interaction, and E (supporting evidence) corresponds to network score intervals. A high LLS score can be interpreted as having a greater chance of having highly similar GO terms.

Positive predictive ratio (PPV) was calculated to quantify the percentage of finding a “true interaction” in network as

$$PPV=\frac{\#edges \;labelld \;as \;true \;interaction}{\# \;edge \;with \;score \;higher \;than \;threshold}$$

And coverage was calculated to estimate how many genes (nodes) of interest can be detected using the network.

$$coverage=\frac{\# \;nodes\; detected \;in \;network}{\# \;input \;nodes}$$

By plotting the PPV-coverage tradeoff with different network scoring thresholds, the area under curve was determined to estimate how accurate and complete the network cover interactions of the genes of interest.

Integrating distinct networks using random forest regressor

To infer GOsim for gene pairs, we trained a random forest regressor using Scikit-learn 0.22.2 [65] with network scores from EskapeNet, RefseqNet, DomainNet and StringNet. For EskapeNet, RefseqNet and DomainNet, we found that edges lower than 70th percentile consist of LLS = 0, indicating the absence of information for predicting GOsim scores and were removed from training. StringNet only contains high scoring edges and hence was not filtered at all. All missing scores were filled with − 1. To avoid overfitting, the training was conducted on 75% of the data while the rest 25% of the data was retained in the test set for evaluation purpose. The integrated network, dubbed PangenomeNet with random forest predicted score was used for downstream analysis.

Network visualization

Network visualization was conducted using Cytoscape v3.7.1. Network statistics were calculated using Python 3.6.7 and networkx 2.2 [66].

Data-driven ontology

Pairwise scores from the PangenomeNet was fed into data-driven ontology (DDOT) CliXO algorithm [48, 67], which facilitates inference, visualization and alignment of biological hierarchies. After the ontology was inferred, terms were aligned to Gene Ontology (GO) [49] and Antibiotic Resistant Ontology (ARO) [18] with false discovery rate (FDR) < 0.05. Terms were assigned to either GO or ARO terms, depending on which term shares a higher similarity in gene composition. Terms without existing ontological term alignment were curated manually by inspecting their protein annotation based on non-redundant (NR) protein database [62].

Availability of data and materials

The datasets (genomes and AMR phenotypes) are available at PATRIC database ( Pan-genome annotations, presence-absence pattern and networks are available as Additional file 3: Table S2 and Additional file 10: Table S9. The representing gene sequences of each of the gene clusters are available at Additional file 11: Table S10. Network and ontology visualizations are available at Network data exchange (NDex) ( The source code used to construct each subnetworks are as follows: Domain-sharing network code is available at Co-inheritance network code is available Other implementation code is available at



Antimicrobial resistance


Methicillin-resistant Staphylococcus aureus


Log-likelihood score


Gene ontology


Antibiotic resistant ontology


  1. 1.

    Patridge E, Gareiss P, Kinch MS, Hoyer D. An analysis of FDA-approved drugs: natural products and their derivatives. Drug Discov Today. 2016;21:204–7.

    CAS  PubMed  Google Scholar 

  2. 2.

    Washer P, Joffe H. The, “hospital superbug”: social representations of MRSA. Soc Sci Med. 2006;63:2141–52.

    PubMed  Google Scholar 

  3. 3.

    Rodrigues JV, Bershtein S, Li A, Lozovsky ER, Hartl DL, Shakhnovich EI. Biophysical principles predict fitness landscapes of drug resistance. Proc Natl Acad Sci. 2016;113:E1470–8.

    CAS  PubMed  PubMed Central  Google Scholar 

  4. 4.

    Ruppé E, Ghozlane A, Tap J, Pons N, Alvarez A-S, Maziers N, et al. Prediction of the intestinal resistome by a three-dimensional structure-based method. Nat Microbiol. 2019;4:112–23.

    PubMed  Google Scholar 

  5. 5.

    Sandegren L, Andersson DI. Bacterial gene amplification: implications for the evolution of antibiotic resistance. Nat Rev Microbiol. 2009;7:578–88.

    CAS  PubMed  Google Scholar 

  6. 6.

    Barabási A-L, Oltvai ZN. Network biology: understanding the cell’s functional organization. Nat Rev Genet. 2004;5:101–13.

    PubMed  Google Scholar 

  7. 7.

    Shim JE, Lee T, Lee I. From sequencing data to gene functions: co-functional network approaches. Anim Cells Syst. 2017;21:77–83.

    CAS  Google Scholar 

  8. 8.

    Azhagesan K, Ravindran B, Raman K. Network-based features enable prediction of essential genes across diverse organisms. PLoS ONE. 2018;13:e0208722.

    PubMed  PubMed Central  Google Scholar 

  9. 9.

    Li X, Li W, Zeng M, Zheng R, Li M. Network-based methods for predicting essential genes or proteins: a survey. Brief Bioinform. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  10. 10.

    Zhang X, Acencio ML, Lemke N. Predicting essential genes and proteins based on machine learning and network topological features: a comprehensive review. Front Physiol. 2016.

    Article  PubMed  PubMed Central  Google Scholar 

  11. 11.

    Miryala SK, Ramaiah S. Exploring the multi-drug resistance in Escherichia coli O157:H7 by gene interaction network: a systems biology approach. Genomics. 2019;111:958–65.

    CAS  PubMed  Google Scholar 

  12. 12.

    Hwang S, Kim CY, Ji S-G, Go J, Kim H, Yang S, et al. Network-assisted investigation of virulence and antibiotic-resistance systems in Pseudomonas aeruginosa. Sci Rep. 2016;6:26223.

    CAS  PubMed  PubMed Central  Google Scholar 

  13. 13.

    Kim H, Shin J, Kim E, Kim H, Hwang S, Shim JE, et al. YeastNet v3: a public database of data-specific and integrated functional gene networks for Saccharomyces cerevisiae. Nucleic Acids Res. 2014;42:D731–6.

    CAS  PubMed  Google Scholar 

  14. 14.

    Lee M, Pinto NA, Kim CY, Yang S, D’Souza R, Yong D, et al. Network integrative genomic and transcriptomic analysis of carbapenem-resistant Klebsiella pneumoniae strains identifies genes for antibiotic resistance and virulence. mSystems. 2019.

    Article  PubMed  PubMed Central  Google Scholar 

  15. 15.

    Lapierre P, Gogarten JP. Estimating the size of the bacterial pan-genome. Trends Genet TIG. 2009;25:107–10.

    CAS  PubMed  Google Scholar 

  16. 16.

    Tettelin H, Riley D, Cattuto C, Medini D. Comparative genomics: the bacterial pan-genome. Curr Opin Microbiol. 2008;11:472–7.

    CAS  PubMed  PubMed Central  Google Scholar 

  17. 17.

    Brynildsrud O, Bohlin J, Scheffer L, Eldholm V. Rapid scoring of genes in microbial pan-genome-wide association studies with Scoary. Genome Biol. 2016;17:238.

    PubMed  PubMed Central  Google Scholar 

  18. 18.

    Jia B, Raphenya AR, Alcock B, Waglechner N, Guo P, Tsang KK, et al. CARD 2017: expansion and model-centric curation of the comprehensive antibiotic resistance database. Nucleic Acids Res. 2017;45:D566–73.

    CAS  PubMed  Google Scholar 

  19. 19.

    Gibson MK, Forsberg KJ, Dantas G. Improved annotation of antibiotic resistance determinants reveals microbial resistomes cluster by ecology. ISME J. 2015;9:207–16.

    CAS  PubMed  Google Scholar 

  20. 20.

    Shin J, Lee I. Co-inheritance analysis within the domains of life substantially improves network inference by phylogenetic profiling. PLoS ONE. 2015;10:e0139006.

    PubMed  PubMed Central  Google Scholar 

  21. 21.

    Shim JE, Lee I. Weighted mutual information analysis substantially improves domain-based functional network models. Bioinformatics. 2016;32:2824–30.

    CAS  PubMed  PubMed Central  Google Scholar 

  22. 22.

    Szklarczyk D, Gable AL, Lyon D, Junge A, Wyder S, Huerta-Cepas J, et al. STRING v11: protein–protein association networks with increased coverage, supporting functional discovery in genome-wide experimental datasets. Nucleic Acids Res. 2019;47(Database issue):D607–13.

    CAS  PubMed  Google Scholar 

  23. 23.

    Yu G. Gene ontology semantic similarity analysis using GOSemSim. In: Kidder BL, editor. Stem cell transcriptional networks: methods and protocols. Springer; 2020. p. 207–15.

    Chapter  Google Scholar 

  24. 24.

    Yu G, Li F, Qin Y, Bo X, Wu Y, Wang S. GOSemSim: an R package for measuring semantic similarity among GO terms and gene products. Bioinforma Oxf Engl. 2010;26:976–8.

    CAS  Google Scholar 

  25. 25.

    Kim H, Shim JE, Shin J, Lee I. EcoliNet: a database of cofunctional gene network for Escherichia coli. Database J Biol Databases Curation. 2015.

    Article  Google Scholar 

  26. 26.

    Calderone A, Castagnoli L, Cesareni G. mentha: a resource for browsing integrated protein-interaction networks. Nat Methods. 2013;10:690–1.

    CAS  PubMed  Google Scholar 

  27. 27.

    Jeong H, Mason SP, Barabasi AL, Oltvai ZN. Lethality and centrality in protein networks. Nature. 2001;411:41–2.

    CAS  PubMed  Google Scholar 

  28. 28.

    Luo H, Gao F, Lin Y. Evolutionary conservation analysis between the essential and nonessential genes in bacterial genomes. Sci Rep. 2015;5:13210.

    CAS  PubMed  PubMed Central  Google Scholar 

  29. 29.

    Martinez JL, Fajardo A, Garmendia L, Hernandez A, Linares JF, Martínez-Solano L, et al. A global view of antibiotic resistance. FEMS Microbiol Rev. 2009;33:44–65.

    CAS  PubMed  Google Scholar 

  30. 30.

    Skalweit MJ, Li M. Bulgecin A as a β-lactam enhancer for carbapenem-resistant Pseudomonas aeruginosa and carbapenem-resistant Acinetobacter baumannii clinical isolates containing various resistance mechanisms. Drug Des Dev Ther. 2016;10:3013–20.

    CAS  Google Scholar 

  31. 31.

    Chandrakala B, Shandil RK, Mehra U, Ravishankar S, Kaur P, Usha V, et al. High-throughput screen for inhibitors of transglycosylase and/or transpeptidase activities of Escherichia coli penicillin binding protein 1b. Antimicrob Agents Chemother. 2004;48:30–40.

    CAS  PubMed  PubMed Central  Google Scholar 

  32. 32.

    Somprasong N, Hall CM, Webb JR, Sahl JW, Wagner DM, Keim P, et al. Burkholderia ubonensis meropenem resistance: insights into distinct properties of class A β-lactamases in Burkholderia cepacia complex and Burkholderia pseudomallei complex bacteria. MBio. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  33. 33.

    Prescott RD, Decho AW. Flexibility and adaptability of quorum sensing in nature. Trends Microbiol. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  34. 34.

    Page R, Peti W. Toxin–antitoxin systems in bacterial growth arrest and persistence. Nat Chem Biol. 2016;12:208–14.

    CAS  PubMed  Google Scholar 

  35. 35.

    Asako H, Nakajima H, Kobayashi K, Kobayashi M, Aono R. Organic solvent tolerance and antibiotic resistance increased by overexpression of marA in Escherichia coli. Appl Environ Microbiol. 1997;63:1428–33.

    CAS  PubMed  PubMed Central  Google Scholar 

  36. 36.

    Chen J, Li J, Zhang H, Shi W, Liu Y. Bacterial heavy-metal and antibiotic resistance genes in a copper tailing dam area in Northern China. Front Microbiol. 2019.

    Article  PubMed  PubMed Central  Google Scholar 

  37. 37.

    Collins B, Joyce S, Hill C, Cotter PD, Ross RP. TelA contributes to the innate resistance of Listeria monocytogenes to nisin and other cell wall-acting antibiotics. Antimicrob Agents Chemother. 2010;54:4658–63.

    CAS  PubMed  PubMed Central  Google Scholar 

  38. 38.

    Dickinson AW, Power A, Hansen MG, Brandt KK, Piliposian G, Appleby P, et al. Heavy metal pollution and co-selection for antibiotic resistance: a microbial palaeontology approach. Environ Int. 2019;132:105117.

    CAS  PubMed  Google Scholar 

  39. 39.

    Ramos J-L, Sol Cuenca M, Molina-Santiago C, Segura A, Duque E, Gómez-García MR, et al. Mechanisms of solvent resistance mediated by interplay of cellular factors in Pseudomonas putida. FEMS Microbiol Rev. 2015;39:555–66.

    PubMed  Google Scholar 

  40. 40.

    Boyd CD, Smith TJ, El-Kirat-Chatel S, Newell PD, Dufrene YF, O’Toole GA. Structural features of the Pseudomonas fluorescens biofilm adhesin LapA required for LapG-dependent cleavage, biofilm formation, and cell surface localization. J Bacteriol. 2014;196:2775–88.

    PubMed  PubMed Central  Google Scholar 

  41. 41.

    Whittaker CA, Hynes RO. Distribution and evolution of von Willebrand/Integrin a domains: widely dispersed domains with roles in cell adhesion and elsewhere. Mol Biol Cell. 2002;13:3369–87.

    CAS  PubMed  PubMed Central  Google Scholar 

  42. 42.

    Fisher RA, Gollan B, Helaine S. Persistent bacterial infections and persister cells. Nat Rev Microbiol. 2017;15:453–64.

    CAS  PubMed  Google Scholar 

  43. 43.

    Wood TK, Knabel SJ, Kwan BW. Bacterial persister cell formation and dormancy. Appl Environ Microbiol. 2013;79:7116–21.

    CAS  PubMed  PubMed Central  Google Scholar 

  44. 44.

    Barrett TC, Mok WWK, Murawski AM, Brynildsen MP. Enhanced antibiotic resistance development from fluoroquinolone persisters after a single exposure to antibiotic. Nat Commun. 2019.

    Article  PubMed  PubMed Central  Google Scholar 

  45. 45.

    Cohen NR, Ross CA, Jain S, Shapiro RS, Gutierrez A, Belenky P, et al. A role for the bacterial GATC methylome in antibiotic stress survival. Nat Genet. 2016;48:581–6.

    CAS  PubMed  PubMed Central  Google Scholar 

  46. 46.

    Ghosh D, Veeraraghavan B, Elangovan R, Vivekanandan P. Antibiotic resistance and epigenetics: more to it than meets the eye. Antimicrob Agents Chemother. 2020.

    Article  PubMed  PubMed Central  Google Scholar 

  47. 47.

    Sun D, Jeannot K, Xiao Y, Knapp CW. Editorial: horizontal gene transfer mediated bacterial antibiotic resistance. Front Microbiol. 2019;10:1933.

    PubMed  PubMed Central  Google Scholar 

  48. 48.

    Yu MK, Ma J, Ono K, Zheng F, Fong SH, Gary A, et al. DDOT: A Swiss army knife for investigating data-driven biological ontologies. Cell Syst. 2019;8:267-273.e3.

    CAS  PubMed  PubMed Central  Google Scholar 

  49. 49.

    The Gene Ontology Consortium. Gene Ontology Consortium: going forward. Nucleic Acids Res. 2015;43:D1049–56.

    Google Scholar 

  50. 50.

    Kwon YK, Higgins MB, Rabinowitz JD. Antifolate-induced depletion of intracellular glycine and purines inhibits thymineless death in E. coli. ACS Chem Biol. 2010;5:787–95.

    CAS  PubMed  PubMed Central  Google Scholar 

  51. 51.

    Jacob-Dubuisson F, Mechaly A, Betton J-M, Antoine R. Structural insights into the signalling mechanisms of two-component systems. Nat Rev Microbiol. 2018;16:585–93.

    CAS  PubMed  PubMed Central  Google Scholar 

  52. 52.

    Jones P, Binns D, Chang HY, Fraser M, Li WZ, McAnulla C, et al. InterProScan 5: genome-scale protein function classification. Bioinformatics. 2014;30:1236–40.

    CAS  PubMed  PubMed Central  Google Scholar 

  53. 53.

    Fang X, Lloyd CJ, Palsson BO. Reconstructing organisms in silico: genome-scale models and their emerging applications. Nat Rev Microbiol. 2020;18:731–43.

    CAS  PubMed  PubMed Central  Google Scholar 

  54. 54.

    Rouli L, Merhej V, Fournier P-E, Raoult D. The bacterial pangenome as a new tool for analysing pathogenic bacteria. New Microbes New Infect. 2015;7:72–85.

    CAS  PubMed  PubMed Central  Google Scholar 

  55. 55.

    Wattam AR, Davis JJ, Assaf R, Boisvert S, Brettin T, Bun C, et al. Improvements to PATRIC, the all-bacterial bioinformatics database and analysis resource center. Nucleic Acids Res. 2017;45(Database issue):D535–42.

    CAS  PubMed  Google Scholar 

  56. 56.

    Wattam AR, Abraham D, Dalay O, Disz TL, Driscoll T, Gabbard JL, et al. PATRIC, the bacterial bioinformatics database and analysis resource. Nucleic Acids Res. 2014;42(Database issue):D581–91.

    CAS  PubMed  Google Scholar 

  57. 57.

    Parks DH, Imelfort M, Skennerton CT, Hugenholtz P, Tyson GW. CheckM: assessing the quality of microbial genomes recovered from isolates, single cells, and metagenomes. Genome Res. 2015;25:1043–55.

    CAS  PubMed  PubMed Central  Google Scholar 

  58. 58.

    Hyatt D, Chen G-L, LoCascio PF, Land ML, Larimer FW, Hauser LJ. Prodigal: prokaryotic gene recognition and translation initiation site identification. BMC Bioinformatics. 2010;11:119.

    PubMed  PubMed Central  Google Scholar 

  59. 59.

    Fu L, Niu B, Zhu Z, Wu S, Li W. CD-HIT: accelerated for clustering the next-generation sequencing data. Bioinformatics. 2012;28:3150–2.

    CAS  PubMed  PubMed Central  Google Scholar 

  60. 60.

    Li W, Godzik A. Cd-hit: a fast program for clustering and comparing large sets of protein or nucleotide sequences. Bioinformatics. 2006;22:1658–9.

    CAS  Google Scholar 

  61. 61.

    Buchfink B, Xie C, Huson DH. Fast and sensitive protein alignment using DIAMOND. Nat Methods. 2015;12:59–60.

    CAS  Google Scholar 

  62. 62.

    Pruitt KD, Tatusova T, Maglott DR. NCBI reference sequence (RefSeq): a curated non-redundant sequence database of genomes, transcripts and proteins. Nucleic Acids Res. 2005;33(Database Issue):D501–4.

    CAS  PubMed  Google Scholar 

  63. 63.

    Huerta-Cepas J, Szklarczyk D, Heller D, Hernández-Plaza A, Forslund SK, Cook H, et al. eggNOG 5.0: a hierarchical, functionally and phylogenetically annotated orthology resource based on 5090 organisms and 2502 viruses. Nucleic Acids Res. 2019;47:D309–14.

    CAS  PubMed  Google Scholar 

  64. 64.

    Eddy SR. Accelerated Profile HMM Searches. PLoS Comput Biol. 2011;7:e1002195.

    CAS  PubMed  PubMed Central  Google Scholar 

  65. 65.

    Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, et al. Scikit-learn: machine learning in python. Mach Learn PYTHON. p. 6.

  66. 66.

    Hagberg AA, Schult DA, Swart PJ. Exploring network structure, dynamics, and function using NetworkX. 2008. p. 5.

  67. 67.

    Kramer M, Dutkowski J, Yu M, Bafna V, Ideker T. Inferring gene ontologies from pairwise similarity data. Bioinformatics. 2014;30:i34-42.

    CAS  PubMed  PubMed Central  Google Scholar 

Download references


We would like to thank Biorender for offering convenient biological illustration tool for the creation of Fig. 4.


This work was supported by Taipei Medical University-National Taiwan University of Science and Technology Joint Research program (TMU-NTUST Joint Research Program; grant no. TMU-NTUST-107-10) and Taiwan Ministry of Science and Technology (MOST) Grant No. MOST108-2628-E-038-002-MY3 and MOST110-2221-E-038-019-MY3.

Author information




HLH conducted the analysis and wrote the draft of the manuscript. PTL and YWW conceived the study, supervised the analysis, and revised the manuscript. All authors reviewed and approved the manuscript.

Corresponding authors

Correspondence to Po-Ting Lin or Yu-Wei Wu.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1.

This DOCX document contains supplementary notes and supplementary figures S1 to S8. Fig. S1. Pan-genome growth curve fitting. Fig. S2. Hypothetical genes involve in multiple antibiotic resistance. Fig. S3. GO enrichment analysis of meropenem resistance associated genes. Fig. S4. GO term similarity score distribution of (A) all gene pairs; (B) cumulative distribution of core-core and accessory-accessory edges. Fig. S5. The distribution of individual networks (including STRING, RefSeq, ESKAPE, and Domain-sharing networks) associated with log-likelihood scores (LLS; with GO term similarity > 0.6). Fig. S6. (A) Edge and (B) node contribution of each network (C) Unique nodes are all accessory genes. Fig. S7. Power-law distribution and component size of all networks. Fig. S8. Genome statistics of the excluded and included genomes.

Additional file 2: Table S1.

Genome ID and statistics for Escherichia coli genome downloaded from PATRIC on February 2021.

Additional file 3: Table S2.

This compressed csv file contains gene cluster annotation of the pan-genome.

Additional file 4: Table S3.

Scoary-detected resistant gene annotation statistics.

Additional file 5: Table S4.

GO enrichment results for all Scoary-detected resistant genes.

Additional file 6: Table S5.

Resistant gene subnetwork scores. Node annotations are in Table S6.

Additional file 7: Table S6.

This compressed csv file contains all resistant gene annotation.

Additional file 8: Table S7.

Term enrichment result for the pan-resistome ontology.

Additional file 9: Table S8.

Pan-genome GO term consistency under different amino acid cutoff.

Additional file 10: Table S9.

This compressed csv file contains presence absence pattern of all genes in the pan-genome across all E.coli species included in this paper.

Additional file 11: File S10.

FASTA file for representing gene of all pan-genome.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Her, HL., Lin, PT. & Wu, YW. PangenomeNet: a pan-genome-based network reveals functional modules on antimicrobial resistome for Escherichia coli strains. BMC Bioinformatics 22, 548 (2021).

Download citation


  • PangenomeNet
  • Pan-genome
  • Escherichia coli
  • Functional network
  • Antimicrobial resistance