COPLA

Using COPLA

COPLA can be used to predict the PTU to which a plasmid belongs. For this just its nucleotide sequence is needed. Draft plasmids are supported by COPLA automatically executing a simple concatenation of their contigs.

If the plasmid ORFeome is uploaded by the user, it will be used by COPLA to obtain a type MOB and MPF according to the user specifications.

Indicating the query topology (linear or circular) is recommended for more accurate MPF typing. If not provided, COPLA uses a circular topology by default. Multifasta input sequences are always processed using a linear topology. For further details see Abby et al. PMID: 26979785.

Finally, if the user provides the taxonomic data asociated with the plasmid host, COPLA will warn the user about changes in the host range of the query's assigned PTU.

How COPLA works

Just as sHSBM, COPLA infers the PTU membership from the similarity relationships between plasmids in the database. After calculating the ANI percentage identity between the query and the reference plasmid set, COPLA inserts the query into the reference network and performs an statistical search for similar plasmids. Finally, the query is assigned to a known PTU, or to a new PTU (labeled as PTU-?) if the algorithm find clues pointing to that outcome. PTUs will not be named for clusters with fewer than 4 members. For the user to evaluate the COPLA PTU assignation of a query plasmid, a score is provided based on the overlap of the graph partitions before and after the query was inserted into the reference network (for additional details see troubleshooting bellow).

COPLA output

COPLA output consists of five different files:

Troubleshooting: Predicted outcome types

COPLA predictions can result in three different outcomes for PTU membership of the query plasmid. A query could be a member of: (i) a known PTU, (ii) a putative new PTU (provisionally named as "PTU-?"), or (iii) the plasmid remains unclassified (displayed as "-"). The quality of these predictions can be further evaluated with the help of the score output. To assess COPLA performance, we sampled 1,000 RefSeq200 plasmids not present in the reference database (RefSeq84). As shown in Figure 1, results indicate that ~88% of all queries (spanning all three classes) the prediction score a >99%, with the remaining predictions scoring lower values as shown in the figure.

Score distribution
Figure 1. Score distribution for 1,000 plasmids sampled from RefSeq200, not present in the COPLA reference database (RefSeq84). The figure displays a semilogarithmic plot of the number of plasmids containing each given score.

To validate the PTU assignment, a score of 90% is recommended. This threshold means that, for a 10-member PTU, the AI has conficting data for clustering 1 of them. As an example, the problematic plasmid could be a cointegrate of plasmids belonging to two different PTUs. Assuming the 90% score threshold, COPLA confidently assigned 93% of the 1,000 samples.

To help understand the different results that COPLA provides, Figure 2 shows several representative schematics.

Representative prediction outcomes
Figure 2. Representative prediction outcomes. The query plasmid is represented by the node with the red inner circle. For all other nodes, the color of the inner circle represents the PTU assigned in the reference database (i.e. using only RefSeq84 plasmids). The outer rings represent the PTU assigned by COPLA. Yellow represent the PTU assigned to the query, green is a different PTU, and grey colors represent not assigned PTUs.

When the query is part of a small graph component (4 members or less) the PTU prediction is pretty much trivial (cases 1 to 4):

In cases 5 to 7 the query is part of a larger graph component (>4 members), that is, a known PTU. In these cases, the assignation of the query is straightforward. These cases represent the predominant scenarios in which no significant differences in graph partitioning were detected.

Cases 8 and 9 represent scenarios where the inclusion of the query leads to a different partition in the connected component to which the query belongs. Case 8 highlights the case of plasmids (such as cointegrate plasmids) for which the algorithm can not decide unambigously to which PTU should assign the query. Case 9 showcases situations of loosely defined PTUs (showing low intragroup density, such as PTU-FE see ref. [1]). The score provided by COPLA is key to detect and to assess the level of confidence of the PTU prediction.

[1] Redondo-Salvo, S., Fernandez-Lopez, R., Ruiz., R., Vielva, L., de Toro, M., Rocha, E.P.C., Garcillan-Barcia, M.P., de la Cruz, F. (2020) "Pathways for Horizontal Gene Transfer in Bacteria Revealed by a Global Map of Their Plasmids". Nat Commun 11, 3602