Skip to main content

A novel scan statistics approach for clustering identification and comparison in binary genomic data

Abstract

Background

In biomedical research a relevant issue is to identify time intervals or portions of a n-dimensional support where a particular event of interest is more likely to occur than expected. Algorithms that require to specify a-priori number/dimension/length of clusters assumed for the data suffer from a high degree of arbitrariness whenever no precise information are available, and this may strongly affect final estimation on parameters. Within this framework, spatial scan-statistics have been proposed in the literature, representing a valid non-parametric alternative.

Results

We adapt the so called Bernoulli-model scan statistic to the genomic field and we propose a multivariate extension, named Relative Scan Statistics, for the comparison of two series of Bernoulli r.v. defined over a common support, with the final goal of highlighting unshared event rate variations. Using a probabilistic approach based on success probability estimates and comparison (likelihood based), we can exploit an hypothesis testing procedure to identify clusters and relative clusters. Both the univariate and the novel multivariate extension of the scan statistic confirm previously published findings.

Conclusion

The method described in the paper represents a challenging application of scan statistics framework to problem related to genomic data. From a biological perspective, these tools offer the possibility to clinicians and researcher to improve their knowledge on viral vectors integrations process, allowing to focus their attention to restricted over-targeted portion of the genome.

Background

In many different research areas it is of interest to identify time intervals or portions of a n-dimensional support where a particular event is more likely to occur than expected. These regions, which in biology are commonly called clusters or hotspots, are presumable characterized by an increased probability of success and their identification may throw light on a better understanding of the underlying events-generating process. Different perspectives can be adopted according to both classical and Bayesian frameworks, and within parametric and non-parametric approaches. Applications include also the fields of epidemiology, public health, astronomy and neuroscience, ranging from one to n-dimensional spaces [1–6].

Many algorithms require to specify a-priori the number of clusters assumed for the data and/or their expected dimension and/or length. These settings may strongly affect the final estimation results and requires a high degree of arbitrariness on the parameters whenever no precise informations are available. Spatial scan has been proposed with wide success in the literature [5] becoming one of the main epidemiological statistics tools in disease surveillance to test the null hypothesis that geographical data are randomly distributed against a localized cluster alternative. This method and its natural extensions are of particular interest since no prior information on parameters or clusters characteristics are required. Indeed, the scan statistic is able to address any of the following interrelated purposes: a) to test if event aggregation occurs (overall clustering), b) cluster localization (detection of cluster) c) to test event distribution on a specific region (focused test).

In a multivariate setting, a challenging goal for researchers may be the identification of regions where two spatial processes - defined over a common support - show different behaviours. More in detail, the processes are allowed to share fluctuations in probability (or rate) of success. To address this type of problem, a few alternatives have been currently proposed. Most of them rely on non-parametric estimation of relative risk function by means of kernel method, as proposed in [7, 8] for environmental epidemiology data analysis.

Scan statistics methodologies have been proposed for the analysis of Poisson and Gaussian distributed random variables, categorical and many other type data. In this paper we are interested in modeling spatial distribution of a particular type of genomic data, such as viral IS retrieved by using Next Generation Sequencing (NGS) platforms [9, 10]. From a statistical point of view, the genome is interpreted as a set of 2×3×109 independent Bernoulli random variables B chr,postion,strand , where 1 means that a viral integration has been observed mapping to that particular genomic coordinates and 0 otherwise.

In genomics a few alternatives have been proposed to identify clusters of ISs, termed Common Integration Sites (CIS) or hotspots. The most popular in the biological literature is a gene integration frequency based method, involving Grubbs test [11] for outlier identification [12]. This approach suffers from an important limitation since ISs located outside genes and their neighborhoods are excluded from the analysis, thus leading to miss possible important intergenic CISs potentially very informative. To overcome this problem, an alternative method based on DBSCAN [13] algorithm has been proposed in [10]. The main drawback of this algorithm is the strong dependence of results on tuning parameters settings, difficult to calibrate for different sized data sets involving viral vectors with different clustering behaviours. To solve this issue, in [10] authors proposed a framework based on re-sampling in-silico generated ISs to select an optimal distance parameter, by controlling the probability of smaller clusters (3 events) identification. However, the impact of this procedure on bigger clusters investigation is unclear.

Insertional mutagenesis [14] provide a good setting in clinical genomics to understand the importance of comparing two integration patterns. This phenomenon is caused by virus integration trajectory within particular dangerous genomic regions, such as oncogenic regions. Since many studies revealed different patterns in site selection process among available viral vectors, a statistical procedure that allows to identify differently targeted regions represents a fundamental tool in limiting insertional mutagenesis risk. Another framework where tools for detecting genomic clustering might be extremely helpful for biological research is the investigation of active regulatory element involved in differentiation process. This can be performed by exploiting the capability of particular viral vectors, such as the Murine Leukemia Virus (MLV) derived vectors, in marking transcription start site of active genes [15, 16].

Some approaches have been proposed in the literature [17] based on kernel methods where two separate non-parametric kernel densities are estimated by means of Gaussian kernels. Comparative clusters of integrations (hotspots) can be selected in those genomic areas where no overlapping among confidence intervals for densities were detected. However, the arbitrary choice of smoothing parameters (bandwidth) strongly affects the detecting procedure.

In this paper we propose to overcome several problematic issues in the existing procedures, by extending the Bernoulli model proposed in [5] to the genomic field. We first study more in depth the preliminary results presented in [18] for clusters identification in univariate setting. We also propose a novel multivariate alternative, that we call Relative Scan Statistics for comparing two integration patterns by the identification of comparative or relative clusters. Multivariate extensions of scan statistics have already been proposed in the literature [19],to detect disease outbreaks by means of simultaneous analysis of different data sets. To our knowledge, there are no paper focusing on detecting differences among data sets using scan statistics. Finally, the proposed methods are compared to the existing ones, like the DBSCAN algorithm and the comparative hotspot [17] procedure.

The paper is organized as it follows. In Section Methods we introduce the Kulldorff scan statistics for Bernoulli data, we illustrate how the method can be used to compare two genomic data sets and the algorithm implementation is presented. In Section Results and discussion real data sets are descibed and results obtained for the univariate and multivariate analysis are discussed. Final consideration and conclusion are provided in Section Conclusions.

Methods

Kulldorff spatial scan statistics for Bernoulli model

The method proposed by [5] can be adopted to face clusters identification as a general problem. In this work, we focus on Bernoulli model, since we consider a particular type of genomic data – derived by viral vector integration in gene therapy – that reveal presence or absence of a genomic event (namely the integration). A brief description of the underlying idea and the specification of the method for the univariate data analysis previously proposed in [18], is next introduced. Let define the whole study area under investigation as G, \(\mathcal {Z}\) the collection of zones Z⊂G obtained by scanning the support by means of a window of variable size.

The spatial scan statistics, S, is defined as the maximum likelihood ratio over all possible zone \(Z \in \mathcal {Z}\):

$$ S= \frac{\max\{ L(Z) \}}{L_{0}} = \max_{Z} \left\lbrace \frac{L(Z)}{L_{0}} \right\rbrace. $$
(1)

S simultaneously localizes the \(Z \in \mathcal {Z}\) (chromosome, start and end coordinates) providing the maximum evidence for the presence of an hotspot and gives a measure of its goodness of fit with respect to a constant rate null hypothesis. From a computational perspective, to proceed with the calculation of Eq. 1, we need to define the total amount of success and trials available on G, respectively X and N. In addition, conditioning on a specific zone Z, n Z and x Z are the count of trials and success observed within Z. Finally, to identify S is necessary to maximize the likelihood:

$$ L\left(Z,p_{Z},q_{Z}\right)\!\propto\! p_{Z}^{x_{Z}} \!(1\!-p_{Z})^{n_{Z}-x_{Z}}\!q_{Z}^{X-x_{Z}}\! (1-q_{Z})^{(N-n_{Z})-(X-x_{Z})}. $$

for all \(Z \in \mathcal {Z}\) by means of the following functions:

$$\begin{aligned} L(Z) &= L\left(p_{Z},q_{Z}|Z=Z_{j}\right)= {\left(\frac{x_{Z}}{n_{Z}} \right) }^{x_{Z}} ~ {\left(1- \frac{x_{Z}}{n_{Z}} \right)}^{n_{Z}-x_{Z}}\\ & \quad\times{\left(\frac{X-x_{Z}}{N-n_{Z}} \right)}^{X-x_{Z}} ~ {\left(1- \frac{X-x_{Z}}{N-n_{Z}} \right) }^{(N-n_{Z})-(X-x_{Z})} \end{aligned} $$

if \(\frac {x_{Z}}{n_{Z}} > \frac {X-x_{Z}}{N-n_{Z}} \), and

$$ L(Z) = {\left(\frac{X}{N}\right)}^{X} ~ {\left(\frac{N-X}{N} \right)}^{N-X}\;. $$

otherwise. Under the null hypothesis, corresponding to a constant probability of success over G, the likelihood is given by:

$$ L_{0} = {\left(\frac{X}{N} \right)}^{X} ~ {\left(\frac{N-X}{N} \right)}^{N-X}\; $$

for all \(Z \in \mathcal {Z}\).

Multivariate extension to novel relative scan statistics for Bernoulli model

Let now introduce a novel multivariate extension of the described method for identifying the most highly significant relative cluster. The method is described as referred to a bivariate case, in order to ensure clarity of the underlying idea, but can be easily extended for the comparison of more than two processes.

We define a relative cluster as an area \(Z \in \mathcal {Z}\) where two Bernoulli processes show different behaviour, in terms of success probability variation with respect to Z C=G∖Z. Conditioning on a particular area \(Z \in \mathcal {Z}\) let define p Z1 and p Z2 as the probability of being an event within Z respectively for Process 1 and Process 2 and q Z1 and q Z2 be referred to Z C. Bernoulli trials location, assumed as known over G, can differ between the two processes. All the analyses are conditioned on the total count of observed events X 1 and X 2. The aim is here to highlight regions where the difference between probability of success in the two series is maximum and statistically significant, accounting for possible different data sets size and non-constant but shared underlying probability variations.

To measure and compare within each process the behaviour observed within/outside Z, we propose the success probability ratio \(\frac {p_{Zi}}{q_{Zi}}\). The ratio takes values in R + and more specifically \( 0 \leq \frac {p_{Zi}}{q_{Zi}} < 1\) if the probability of success is lower within Z than outside and \(1 < \frac {p_{Zi}}{q_{Zi}} < \infty \) otherwise.

Let now define as relative cluster for Process i with respect to Process j the region \(Z \in \mathcal {Z}\) where the probability ratio \(\frac {p_{Zi}}{q_{Zi}}\) is greater than corresponding ratio \(\frac {p_{Zj}}{q_{Zj}}\). Conditioning on \(Z \in \mathcal {Z}\) it is possible to define hypothesis system as:

$$ \left\{\begin{array}{l} H_{0Z}:\frac{{p_{Z1}}}{{q_{Z1}}}=\frac{{p_{Z2}}}{{q_{Z2}}}\\ H_{1Z}:\frac{{p_{Z1}}}{{q_{Z1}}} \neq \frac{{p_{Z2}}}{{q_{Z2}}} \end{array}\right. $$

or alternatively as:

$$ \left\{\begin{array}{l} H_{0Z}:\left\lbrace {p_{Z1}}=k_{Z} {q_{Z1}} \right\rbrace \cap \left\lbrace {p_{Z2}}=k_{Z} {q_{Z2}}\right\rbrace\\ H_{1Z} : \left\lbrace {p_{Z1}} \neq k_{Z} {q_{Z1}} \right\rbrace \cup \left\lbrace {p_{Z2}} \neq k_{Z} {q_{Z2}}\right\rbrace \end{array}\right. $$
(2)

Under the null hypothesis, the probability of success may vary over G but it must be shared among processes and characterized by the same value of k Z . To estimate the scan statistics S, we first need to define the likelihood ratio conditioned on Z. Let now:

  • N 1 and N 2 be the total count of Bernoulli trials for each process.

  • X 1 and X 2 be the total count of success

  • n 1Z and n 2Z be the size, in terms of trials, of the Z with respect of each series

  • x 1Z and x 2Z be the success amount within Z with respect of each series

According to biological motivations related to virus integration mechanisms, supported and derived from several studies on IS data analysis, it is reasonable to assume that within each treated cell’s genome, only one integration event can occur [20]. In addition, there are no biologically meaningful reasons to suppose that any interaction between IS events occurs in distinct cells. From a modelling perspective, this is equivalent to assume independence among observations. Even more so, the two series can be assumed to be independent and the likelihood function associated to the joint model corresponds to the product of the likelihoods of each process.

$$ \begin{aligned} &L\left(Z,{p_{Z1}},{q_{Z1}},{p_{Z2}},{q_{Z2}}\right) \propto {{p_{Z1}}}^{x_{1Z}} \left(1-{p_{Z1}}\right)^{n_{1Z}-x_{1Z}}\\ &\qquad{q_{Z1}}^{X_{1}-x_{1Z}} \left(1-{q_{Z1}}\right)^{\left(N_{1}-n_{1Z}\right)-\left(X_{1}-x_{1Z}\right)}\\ &\,\,\,\,\times {p_{Z2}}^{x_{2Z}} \left(1-{p_{Z2}}\right)^{n_{2Z}-x_{2Z}} ~ {q_{Z2}}^{X_{2}-x_{2Z}}\\ &\qquad\left(1-{q_{Z2}}\right)^{\left(N_{2}-n_{2Z}\right)-\left(X_{2}-x_{2Z}\right)} \end{aligned} $$

Conditioned on Z = Z j :

$$ \begin{aligned} L_{Z_{j}}&=\sup_{H_{1Z}} L({p_{Z1}},{q_{Z1}},{p_{Z2}},{q_{Z2}}|Z = Z_{j})\\ &={\left(\frac{x_{1Z}}{n_{1Z}} \right) }^{x_{1Z}} ~ {\left(1- \frac{x_{1Z}}{n_{1Z}} \right) }^{n_{1Z}-x_{1Z}} {\left(\frac{X_{1}-x_{1Z}}{N_{1}-n_{1Z}} \right) }^{X_{1}-x_{1Z}}\\&\quad\quad{\left(1- \frac{X_{1}-x_{1Z}}{N_{1}-n_{1Z}} \right) }^{(N_{1}-n_{1Z})-(X_{1}-x_{1Z})}\\ &\quad\times {\left(\frac{x_{2Z}}{n_{2Z}} \right) }^{x_{2Z}} ~ {\left(1- \frac{x_{2Z}}{n_{2Z}} \right) }^{n_{2Z}-x_{2Z}} {\left(\frac{X_{2}-x_{2Z}}{N_{2}-n_{2Z}} \right) }^{X_{2}-x_{2Z}}\\&\quad\quad{\left(1- \frac{X_{2}-x_{2Z}}{N_{2}-n_{2Z}} \right) }^{(N_{2}-n_{2Z})-(X_{2}-x_{2Z})} \end{aligned} $$
(3)

The maximum likelihood estimators are given by:

$$ \begin{aligned} \hat{{p_{Z1}}}&=\frac{x_{1Z}}{n_{Z}};~ \hat{{p_{Z2}}}=\frac{x_{2Z}}{n_{Z}}; ~ \hat{{q_{Z1}}}=\frac{X_{1}-x_{1Z}}{N-n_{Z}};\\ \hat{{q_{Z2}}}&=\frac{X_{2}-x_{2Z}}{N-n_{Z}} \;. \end{aligned} $$

By introducing the constraint p Z1=k Z q Z1∩p Z2=k Z q Z2 as defined in the null hypothesis H 0Z in Eq. 2, the likelihood function becomes:

$$ \begin{aligned} L_{0Z_{j}}&=\sup_{H_{0Z}} L\left(k_{Z},{q_{Z1}},{q_{Z2}}|Z = Z_{j}\right)\\ &= \propto {q_{Z1}}k_{Z}^{x_{1Z}} \left(1-{q_{Z1}}k_{Z}\right)^{n_{Z}-x_{1Z}} ~ {q_{Z1}}^{X_{1}-x_{1Z}}\\ &\quad\quad\left(1-{q_{Z1}}\right)^{(N-n_{Z})-(X_{1}-x_{1Z})}\\ &\quad\times {q_{Z2}}k_{Z}^{x_{2Z}} \left(1-{q_{Z2}}k_{Z}\right)^{n_{Z}-x_{2Z}} ~ {q_{Z2}}^{X_{2}-x_{2Z}}\\ &\quad\quad(1-{q_{Z2}})^{(N-n_{Z})-(X_{2}-x_{2Z})} \;. \end{aligned} $$
(4)

Since a closed analytical formula for \(\hat {{q_{Z1}}}\), \(\hat {{q_{Z2}}},\hat {k_{Z}}\) is computationally difficult to derive, we search for a numerical solution to calculate likelihood value \(L_{0Z_{j}}\) and parameters estimates. We remark that differently from the univariate case, the likelihood under the null depend on Z and is not constant over the whole study area G.

To evaluate hypothesis Eq. 2 we exploit Wilks’ theorem [21] regarding procedure to test nested hypothesis.

$$ \lambda_{Z_{j}} = 2 \left(\ell_{Z_{j}}-\ell_{0Z_{j}}\right) $$
(5)

which is distributed under the null hypothesis according to:

$$ \lambda_{Z_{j}} \overset{d}{\longrightarrow} {\chi^{2}_{1}} \;. $$
(6)

The relative scan statistics S is defined as:

$$ S= \lambda_{\hat{Z}} $$

where:

$$ \hat{Z} =\lbrace Z: \lambda_{\hat{Z}} \geq \lambda_{Z_{j}} \rbrace. $$

Once \(\hat {Z}\) has been identified, for potential downstream analysis it could be of interest to characterize zones by Process1 and Process2 events rate increment. This could be done by comparing the ratios \(\frac {\hat {{p_{Z1}}}}{\hat {{q_{Z1}}}}\) and \(\frac {\hat {{p_{Z2}}}}{\hat {{q_{Z2}}}}\) and by classifying \(\hat {Z}\) as Relative Cluster for Process1 when \(\frac {\hat {{p_{Z1}}}}{\hat {{q_{Z1}}}} > \frac {\hat {{p_{Z2}}}}{\hat {{q_{Z2}}}}\) and as Relative Cluster for Process2 otherwise.

We next describe a particular property of our procedure, graphically represented in Fig. 1, that might overcome the problem of dimensionality occurring in genomic applications where the total amount Z areas can quickly approach infinity. For fixed number of successes over Z, namely x 1Z and x 2Z , the number of failures - n 1Z and n 2Z - increases. This causes a progressive decrease of λ Z , until a new event occurs within the window. Since we are interested in finding \(\hat {Z}\), that corresponds to the maximum λ Z , it is sufficient to focus on zones delimited by events (or in general success outcome).

Fig. 1
figure 1

Schema of the relative scan statistics. Two data sets of Bernoulli trials are represented on an hypothetical small portion of a chromosome. Dark blue and red circle: genomic coordinate in which events (IS) was observed respectively for DataSet 1 and DataSet 2. Light blue and orange circle: genomic coordinates technically investigable but no-event (no integrations retrieved). Grey circle: blind region of the genome. Transparent area: example of moving windows of variable size regarding first three IS on the left

Thus, the upper bound for the total amount of element in \(\mathcal {Z}\) is [ (X 1+X 2)∗(X 1+X 2−1)/2]. Whenever is possible to define a minimum/maximum length threshold for the relative cluster, a further reduction of complexity and computational efforts holds.

The interpretation of p-value associated to relative scan statistic S must take into account the dimension of set \(\mathcal {Z}\), corresponding to the total amount of performed tests. Since dependence between tests varies in strength and can be both positive or negative (it depends on the respective location of the zones associated to tests considered), we adopted the Holm-Bonferroni [22] method for family wise error rate (FWER) control. If S results significant, it is possible to scan the study area to identify eventual secondary significant relative cluster \(\hat {Z^{*}}\) disjoint with \(\hat {Z}\). For this purpose, we implement a sequential approach, thus ensuring I type error rate control and higher power [23]. The method consists in removing from G zone(s) previously detected as significant, redefining a new the set \(\mathcal {Z^{*}}\) and values for \(N_{1}^{*}\), \(N_{2}^{*}\), \(X_{1}^{*}\), \(X_{2}^{*}\), \(n_{1Z}^{*}\), \(n_{2Z}^{*}\), \(x_{1Z}^{*}\) and \(x_{2Z}^{*}\) and sequentially performing maximization-FWER control steps.

Algorithm

We next describe the procedure for identifying relative clusters. We designed the script for genomic binary data (e.g. viral integration data). When referring in particular to gene therapy settings, the input information needed are data sets (one data sets in univariate analysis and two data sets for multivariate comparison) relative to IS coordinates (chromosome, position and strand), blind regions locations if available, maximum length for candidate interesting regions, L max , and a minimum event counts, EC min . These two input parameters play a crucial role in the definition of the final output and have a strong impact on the computational effort. Their setting must be chosen carefully, according to the data sets size and computational resources available. We suggest, to avoid to exceed half of the support G for L max (clusters greater than this threshold are not very informative) and to set EC min to a small value (EC min ≥3) in order to preserve the capability to detect possible smaller interesting regions.

A description of the algorithm in the multivariate case follows:

  1. 1.

    Using IS data sets and blind regions annotation file, calculate effective genome size X 1, X 2 and N

  2. 2.

    Chromosome based definition of the full set of zones, \(\mathcal {Z}\).

  3. 3.

    Filter zones with length(Z)≥L max and EventCount(Z)≤EC min .

  4. 4.

    Using IS data sets and blind regions annotation file, calculate effective zones size x 1Z , x 2Z and n Z .

  5. 5.

    For each zone Z, calculate L 0Z (Eq. 3) and L Z (Eq. 4) and corresponding λ Z (Eq. 5).

  6. 6.

    Using \({\chi ^{2}_{1}}\) distribution, assign to each λ Z a p-value (Eq. 6).

  7. 7.

    Apply multiple testing procedure.

  8. 8.

    If adjusted p-value associated to \(\lambda _{\hat {Z}}\) is significant, define \(G^{*}=G \setminus \hat {Z}\).

  9. 9.

    Calculate new \(X_{1}^{*}\), \(X_{2}^{*}\) and N ∗ and restart from step 2.

The algorithm is implemented with a R script available upon request to the corresponding author.

Results and discussion

Datasets

Our application considers data sets that are comparable, for size and type of data, to those used in the literature [10] where alternative methods have been implemented to analyze and compare the profile of MLV and HIV integrations in human hematopoietic stem cells CD34+ in order to study their behaviour within the same cell type. To reduce possible technical bias the same laboratory protocol and sequencing platform was adopted.

For a detailed description of the biotechnological protocols adopted in the laboratories and subsequent bioinformatics processing steps performed, we refer to [10] and its supplementary materials. The final ISs data sets size were respectively 32631 for MLV (X 1) and 28,382 for HIV (X 2).

Due to various reasons related to sequencing technique (e.g. restriction enzymes) and mappability issue of the human genome (e.g. repeated sequences), the whole genome is not technically investigable. Blind regions are defined in the literature [17] as unobserved genomic portions which are strictly dependent on different laboratory settings and their distribution, position and total amount may change a lot across studies. However, using sophisticated and computationally intensive algorithm, it is possible to calculate and predict them quite precisely.

Regarding the univariate setting, taking into account for mappability condition allow to reduce possible systematic/technical bias and to compare clustering behaviour among experiments performed under different setting. Incorporating blind regions information in the multivariate scan statistics makes our approach more straightforward as compared to density estimations procedure, and their asymmetry with respect to strand does not necessary require to split analysis into two strand specific tasks. In this paper we adopt results in the literature [17] for selecting predicted blind regions thus reducing the genome representation to a set of N=4398094578 (about 2.20 ×109 each strand) independent Bernoulli random variable.

A filtering procedure was applied to \(\mathcal {Z}\) generated, consisting in eliminating zones longer than 2.5×107 bps (considering simple difference between ISs position) and containing less then 3 ISs. This is performed in order to reduce maximization space and to focus on more biologically meaningful regions without loss of arbitrariness. The size of each zone n Z is determined subtracting to the theoretical size (2 x ISs distance) the total amount (considering both strand separately) of blind regions contained.

Univariate analysis results

We run single IS series analysis with scan statistics approach and we compare the results with hotspots reported in the literature [10], obtained using DBSCAN algorithm [13] (see Supplementary Material and Method in [10] for DBSCAN setting used). Some preliminary results for this analysis has been previously published in [18], without taking into account blind regions bias and focusing only on most significant findings. In HIV data set, DBSCAN identify 2446 clusters, containing 50.6 % (14,369 IS) of the total amount of IS. Clusters’ length is on average 19220 bps, but varies from a minimum of 100 to a maximum of 200500 bps. The majority (90 %) of HIV clusters are composed by 3–10 ISs.

By running univariate scan statistics methods, with a significance threshold fixed at α=0.01 and using Holm [22] procedure for adjusting p-values, 282 clusters are identified (see Table 1 and Additional file 1), corresponding to 45.5 % (12,935 IS) of the HIV data set. Hotposts length is between 4053 bps and 8,264,000 bps, on average 742,000, and ISs content vary from 4 to 651.

Table 1 List of first 10 clusters identified in HIV data by scan statistics

For MLV, DBSCAN identifies 3497 clusters, corresponding to 65.3 % (21,307 IS) of MLV data set. Clusters are on average 8385 bps long, the observed minimum and maximum length are respectively 19 bps and 78,530 bps. Using univariate scan statistics, 803 clusters has been identified (see Table 2 and Additional file 1), grouping 18,388 ISs equivalent to 56.3 % of MLV data set. Length mean value results equal to 270,400 bps, with a minimum of 1932 bps and a maximum of 5,449,000 bps.

Table 2 List of first 10 clusters identified in MLV data by scan statistics

In general, the two methods provide consistent results and highlight different clustering behaviour proper of the two viral vectors, in particular in terms of clusters length and events density. Both methods confirm HIV preference for active transcriptional units, such as coding regions, typically wider than regulatory regions preferentially targeted by MLV viral vectors. This characteristic is well captured in particular by the success probability ratio, \(\frac {\hat {p_{HIV_{Z}}}}{\hat {q_{HIV_{Z}}}}\) for HIV candidate hotspots, generally lower with respect to MLV counterpart, \(\frac {\hat {p_{MLV_{Z}}}}{\hat {q_{{Z}}}}\) (see Tables 1, 2 and Additional files 1 and 2). The count distributions of ISs belonging to the same cluster are similar across virus type but not across methods. Taking into account summary data and graph in Fig. 2, is clear that DBSCAN lead to a bigger selection of over targeted regions than scan statistics, characterized by both smaller length and size. We remark that both methods suggest a clear difference in terms of length between vectors type and a homogeneity for size distributions, reinforcing the findings known about virus preferences.

Fig. 2
figure 2

a Length distributions of clusters identified by DBSCAN and scan statistics algorithm in MLV and HIV data sets. b Size distributions of clusters identified by DBSCAN and scan statistics algorithm in MLV and HIV data sets

We next investigate how methods agree in identifying locations of most significant regions. DBSCAN clusters are sorted in terms of size, i.e. the amount of IS falling within cluster limits, to allow for possible the comparison with scan statistics results.

The list of the first 10 Most Significant Clusters (MSCs) coordinates discovered by Scan Statistics in HIV data set are showed in Table 1, together with some related measures. The complete list is available in Additional file 1. The most significant cluster is located at chromosome 11, interval 63,175,583;68,111,375 and within the same region DBSCAN identifies 40 out of 2446 distinct clusters, including the top 2 for ISs content (interval 65,586,752;65,736,062, 110 ISs and interval 66651503-66776194, 96 ISs). The second most significant cluster, named MSC 2 is located on chromosome 16, interval 71,294,851;77,821,445 and is composed by 610 IS. Within this genomic region, DBSCAN reported 38 clusters, including the third in terms of ISs.

Univariate analysis results for MLV data set are tabulated in Table 2 and Additional file 2. Region on chromosome 20, interval 51,646,845;51,991,770 contain 89 ISs and is suggested to be the most evident hotspot region for MLV vector. Within the same interval, DBSCAN identify 8 distinct clusters, but not among the top in ranking. The second, MSC 2,is on chromosome 20, interval 10,362,242;10,450,134 and is composed by 55 ISs. It overlaps with the 50-th hotspost retrieved using DBSCAN. A perfect correspondence is observed between MSC 3 and the 4-th cluster derived from DBSCAN, both located on chromosome 17, interval 26,659,383;26,672,265. Conversely, the first cluster calculated using DBSCAN is on chromosome 22 27,525,356;27,545,150, its size is 42 ISs and corresponds to 85-th MLV scan statistics derived cluster.

In simple terms we reveal that the most important part of the difference in identifying the total amount of clusters can be attributed to a fragmentation of scan statistics cluster in more DBSCAN clusters. Despite that, an overall clear correspondence in terms of localization was observed, while agreement in ranking is more dependent on clustering behaviour.

Multivariate analysis results

The Relative Scan Statistics identified 292 genomic intervals showing a difference in targeting propensity by the two viral vectors. Totally, 174 of them could be classify as relative clusters for MLV. Conversely 119 of them are labeled as HIV relative clusters. Chromosome 17 is the one with the highest amount of detected interesting regions (Fig. 3).

Fig. 3
figure 3

HIV and MLV IS distributions on chr 17. HIV and MLV IS distributions on chromosome 17 estimated by means of Gaussian kernel with unbiased cross validation bandwidth selection (blue curve and red curve respectively). Comparative hotspots reported in [17] correspondent to segments indicated on third line in red (MLV comparative hotspot) and fourth line in blue (HIV comparative hotspots) taking into account for strand annotation. Fifth and sixth lines are dedicated to relative scan statistics. First two significant cluster identified using relative scan statistics with no correspondent comparative hotspots are highlighted (black box)

We remark that the a big advantage of the proposed methods is the ability to detect both long and short regions. Long relative cluster can be usually easily visualized by using density estimate superposition. Short relative clusters or closed opposite relative cluster are much more difficult to detect, due to the smoothness of kernel estimator. This is in our opinion a crucial feature of our proposal, and it may be of particular utility for data analysis and for vector safety assessment. We now compare our list with the suggested 100 regions (51 for MLV and 49 for HIV) proposed in the literature [17].

Although the total amount of interesting regions might vary considerably, it is not clear which one performs better since true differently targeted regions are not known. In our opinion, since the underlying biological mechanism and target site selection process are deeply different (MLV belongs to the gammaretroviral genus and HIV to the lentiviral), a longer list of candidate regions can be considered more realistic.

This idea seems to be supported by visual comparison of chromosome based kernel density estimations. The length and the size of regions identified using the two different approach are similar (Fig. 4), nevertheless [17] method discriminates between MLV and HIV regions, since the latter are longer and include more events. By comparing intervals localization and their overlapping, we can highlight that all previously identified regions are associated to a Relative Scan Statistics derived clusters.

Fig. 4
figure 4

a Length distributions of clusters identified by Ambrosi et al. methods and relative scan statistics algorithm in MLV and HIV data sets. b Size distributions of clusters identified by Ambrosi et al. methods and relative scan statistics algorithm in MLV and HIV data sets

In Table 3 first 20 relative clusters are reported (complete list available as Additional file 3). For both methods, the most significant regions are labeled as cluster for HIV vector, suggesting that it is easier to detect wider regions characterized by moderate increase of targeting rate, typical of HIV vector, than shorter genomic portions with high increase of targeting probability as observed for MLV derived vector. To compare also the ranking of regions, we sorted the results obtained in [17] using p-value associated to Fisher exact test calculated for assess regions significance. Due to strand specificity, top 6 results in reported in [17] map to the top 3 regions in Table 3. However the known method missed the firsts 2 regions both located on chromosome 19 on p-arm, Fig. 5 which is a gene dense portions of the genome. Gene density is known to be a particular feature in the genome able to attract particularly HIV derived vectors and this support our result.

Fig. 5
figure 5

HIV and MLV IS distributions on chr 19. HIV and MLV IS distributions on chromosome 19 estimated by means of Gaussian kernel with unbiased cross validation bandwidth selection (blue curve and red curve respectively). Comparative hotspots reported in [17] correspondent to segments indicated on third line in red (MLV comparative hotspot) and fourth line in blue (HIV comparative hotspots) taking into account for strand annotation. Fifth and sixth lines are dedicated to relative scan statistics. First two significant cluster identified using relative scan statistics with no correspondent comparative hotspots are highlighted (black box)

Table 3 List of relative clusters identified by relative scan statistics

Graphs for remaining chromosomes are available in Additional file 4.

Conclusions

In this paper we present two methods for clustering identification of genomic events based on scan statistics approach. Results retrieved from both methods are consistent with the biological literature and findings thus revealing deep biological differences between integration process and target sites selection characterizing different viral vectors. Speculating on cluster dimensions and length, our analysis confirms the well known preferences of MLV in integrating more likely in regulatory elements or in general over small genomic interval, whereas HIV integrates over wider regions corresponding to active coding elements. Independently from the total amount of identified interesting regions, a substantial spatial overlap between results was observed in HIV data set, as regarding both localization and significance. For MLV data set, a good agreement is showed in terms of localization but for significance ranking. The intrinsic behaviour of HIV probably helps this results correspondence, since aggregation is less strong than MLV but affects wider regions, leading to cluster formed by many IS rewarded by DBSCAN ranking scheme based on dimension. For MLV instead, generally the aggregation tendency is characterized by higher event density but limited to narrow genomic intervals and less ISs.

Relative Scan Statistics seems to be able to identify regions characterized by unshared variation of events rate, potentially allowing for focusing downstream analysis only on differently targeted regions. This may help clinicians/researcher in improve viral vectors safety. The results obtained agree with previous published literature and avoid the necessity to split analysis according to strands.

In conclusion, starting from a probabilistic approach based on estimation and comparison of probability of success, we recommended scan statistics as a fundamental inferential tool able to exploit an hypothesis testing procedure to sort candidate regions in terms of significance instead of size or additional testing procedure.

References

  1. Naus J. The distribution of the size of maximum cluster of points on the line. J Am Stat Assoc. 1965; 60:532–8.

    Article  Google Scholar 

  2. Naus J. Clustering of random points in two dimensions. Biometrika. 1965; 52:263–7.

    Article  Google Scholar 

  3. Loader CR. Large-deviation approximation to the distribution of scan statistics. Ann Appl Probab. 1991; 23:751–71.

    Article  Google Scholar 

  4. Chen J, Glaz J. Two dimensional discrete scan statistics. Stat Probab Lett. 1996; 31:59–68.

    Article  Google Scholar 

  5. Kulldorff M. A spatial scan statistic. Commun Stat:Theory Methods. 1997; 26:1481–1496.

    Article  Google Scholar 

  6. Kulldorff M, Athas W, Feuer E, Miller B, Key C. Evaluating cluster alarms: A space-time scan statistics and brain cancer in Los Alamos. Am J Public Health. 1998; 88:1377–1380.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  7. Kelsall JE, Diggle PJ. Kernel estimation of relative risk. Bernoulli. 1995; 1:3–16.

    Article  Google Scholar 

  8. Kelsall JE, Diggle PJ. Non parametric estimation of spatial variation in relative risk. Stat Med. 1995; 14:2335–343.

    Article  CAS  PubMed  Google Scholar 

  9. Bushman F, Lewinski M, Ciuffi A, Barr S, Leipzig J, Hannenhalli S, Hoffmann C. Genome-wide analysis of retroviral DNA integration. Nat Microbiol. 2005; 3:848–58.

    Article  CAS  Google Scholar 

  10. Cattoglio C, Pellin D, Rizzi E, Maruggi G, Corti G, Miselli F, Sartori D, Guffanti A, Di Serio C, Ambrosi A, De Bellis G, Mavilio F. High-definition mapping of retroviral integration sites identifies active regulatory elements in human multipotent hematopoietic progenitors. Blood. 2010; 116:5507–517.

    Article  CAS  PubMed  Google Scholar 

  11. Grubbs FE. Sample criteria for testing outlying observations. Ann Math Stat. 1950; 21:27–58.

    Article  Google Scholar 

  12. Biffi A, Bartolomae CC, Cesana D, Cartier N, Aubourg P, Ranzani M, Cesani M, Benedicenti F, Plati T, Rubagotti E, et al. Lentiviral vector common integration sites in preclinical models and a clinical trial reflect a benign integration bias and not oncogenic selection. Blood. 2011; 117(20):5332–5339.

    Article  CAS  PubMed  Google Scholar 

  13. Ester M, Kriegel H-P, Sander J, Xu X, et al. A density-based algorithm for discovering clusters in large spatial databases with noise. Kdd. 1996; 96(34):226–231.

    Google Scholar 

  14. Hacein-Bey-Abina S, Garrigue A, Wang GP, Soulier A, Lim J, et al.Insertional oncogenesis in 4 patients after retrovirus-mediated gene therapy of SCID-X1. J Clin Investig. 2008; 118:3132–142.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  15. Cattoglio C, Facchini G, Sartori D, A A, Antonelli A, Miccio A, Cassani B, Schmidt M, von Kalle C, Howe S, Thrasher AJ, Aiuti A, Ferrari G, Recchia A, Mavilio F. Hot spots of retroviral integration in human CD34+ hematopoietic cells. Blood. 2007; 110:1770–1778.

    Article  CAS  PubMed  Google Scholar 

  16. Ambrosi A, Di Serio C. Vectors and integration in gene therapy: Statistical considerations. J Comput Sci Syst Biol. 2009; 2:117–23.

    Article  CAS  Google Scholar 

  17. Ambrosi A, Glad I, Pellin D, Cattoglio C, Mavilio F, Di Serio C, Frigessi A. Estimated comparative integration hotspots identify different behaviors of retroviral gene transfer vectors. PLoS Comput Biol. 2011; 7:12.

    Article  Google Scholar 

  18. Pellin D, Di Serio C. Clusters identification in binary genomic data: The alternative offered by scan statistics approach. Comput Intell Methods for Bioinforma Biostat. 2014; 1:149–58.

    Google Scholar 

  19. Kulldorff M, Mostashari F, Duczmal L, Yih K, Kleinman K, Platt R. Multivariate spatial scan statistics for disease surveillance. Stat Med. 2007; 26:1824–1833.

    Article  PubMed  Google Scholar 

  20. Aiuti A, Biasco L, Scaramuzza S, Ferrua F, Cicalese MP, Baricordi C, Dionisio F, Calabria A, Giannelli S, Castiello MC, et al. Lentiviral hematopoietic stem cell gene therapy in patients with wiskott-aldrich syndrome. Science. 2013; 341(6148):1233151.

    Article  PubMed  PubMed Central  Google Scholar 

  21. Wilks SS. The large-sample distribution of the likelihood ratio for testing composite hypotheses. The Annals of Mathematical Statistics. 1938; 9(1):60–62.

    Article  Google Scholar 

  22. Holm S. A simple sequentially rejective multiple test procedure. Scand J Stat. 1979; 6:65–70.

    Google Scholar 

  23. Zhang Z, Assunção R, Kulldorff M. Spatial scan statistics adjusted for multiple clusters. Journal of Probability and Statistics. 2010; 2010.

Download references

Acknowledgements

The authors thank all members of the CUSSB for helpful suggestions.

Declaration

Publication charges for this article were funded by the grant FFC 27/2014 of the Fondazione per la Ricerca sulla Fibrosi Cistica.

This article has been published as part of BMC Bioinformatics Volume 17 Supplement 11, 2016. Selected articles from the 11th International Meeting on Computational Intelligence Methods for Bioinformatics and Biostatistics (CIBB 2014). The full contents of the supplement are available online https://bmcbioinformatics.biomedcentral.com/articles/supplements/volume-17-supplement-11.

Availability of data and materials

The raw sequence reads for HIV and MLV IS are available the GenBank Short Read Archive under the accession number SRA024251.1.

Authors’ contributions

Contributed statistical methodology: DP CDS. Wrote the paper: DP CDS. Implemented the methods: DP. Both authors read and approved the final manuscript.

Competing interests

The authors declare that they have no competing interests.

Consent for publication

Not applicable.

Ethics approval and consent to participate

Not applicable.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Danilo Pellin.

Additional files

Additional file 1

Table S1. Full list of HIV clusters. (PDF 49 kb)

Additional file 2

Table S2. Full list of MLV clusters. (PDF 80 kb)

Additional file 3

Table S3. Full list of relative clusters. (PDF 51 kb)

Additional file 4

Figure S1. Relative scan statistics results for remaining chromosomes. (PDF 5089 kb)

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver(http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Pellin, D., Di Serio, C. A novel scan statistics approach for clustering identification and comparison in binary genomic data. BMC Bioinformatics 17 (Suppl 11), 320 (2016). https://doi.org/10.1186/s12859-016-1173-8

Download citation

  • Published:

  • DOI: https://doi.org/10.1186/s12859-016-1173-8

Keywords