Skip to main content
  • Methodology article
  • Open access
  • Published:

An improved alignment-free model for dna sequence similarity metric

Abstract

Background

DNA Clustering is an important technology to automatically find the inherent relationships on a large scale of DNA sequences. But the DNA clustering quality can still be improved greatly. The DNA sequences similarity metric is one of the key points of clustering. The alignment-free methodology is a very popular way to calculate DNA sequence similarity. It normally converts a sequence into a feature space based on words’ probability distribution rather than directly matches strings. Existing alignment-free models, e.g. k-tuple, merely employ word frequency information and ignore many types of useful information contained in the DNA sequence, such as classifications of nucleotide bases, position and the like. It is believed that the better data mining results can be achieved with compounded information. Therefore, we present a new alignment-free model that employs compounded information to improve the DNA clustering quality.

Results

This paper proposes a Category-Position-Frequency (CPF) model, which utilizes the word frequency, position and classification information of nucleotide bases from DNA sequences. The CPF model converts a DNA sequence into three sequences according to the categories of nucleotide bases, and then yields a 12-dimension feature vector. The feature values are computed by an entropy based model that takes both local word frequency and position information into account. We conduct DNA clustering experiments on several datasets and compare with some mainstream alignment-free models for evaluation, including k-tuple, DMk, TSM, AMI and CV. The experiments show that CPF model is superior to other models in terms of the clustering results and optimal settings.

Conclusions

The following conclusions can be drawn from the experiments. (1) The hybrid information model is better than the model based on word frequency only. (2) For DNA sequences no more than 5000 characters, the preferred size of sliding windows for CPF is two which provides a great advantage to promote system performance. (3) The CPF model is able to obtain an efficient stable performance and broad generalization.

Background

With the rapid development of bioinformatics, the collected biologic data has become a giant monster and is still explosively growing. It is necessary to use data mining methods to analyze this tremendous data and find useful or interesting information from the data sets. Due to the extremely huge amount and complex structure of the data, sequence analysis of DNA and protein is a challenging issue in the bioinformatics field. There are many approaches proposed for the sequence analysis on DNA and protein. Among them, the Clustering approach is one of the most popular approaches because it requires less transcendental knowledge and need not mark the targets’ category before learning. After clustering, DNA sequence segments can be automatically divided into clusters to show their similarity in structure, which implies their functional similarity [1, 2]. Such a treatment has many benefits. For example, it is a powerful intelligent way to predict a genome’s function and learn the new world of bioinformatics. When an unknown genome is assigned to a known cluster, it can be convinced that the new genome may have the very similar function with others in the same cluster. But the DNA clustering quality can still be improved greatly. Since the DNA sequence similarity metric has a vital impact on the clustering result. We present a new DNA sequence similarity model to improve the DNA clustering quality.

The similarity of DNA sequence is a fundamental metric in bioinformatics, which is a basis for many applications including predicting unknown sequences’ functions or effects, constructing creatures(or species) phylogenetic tree, and analyzing homologous. Generally, there are two categories of DNA sequence similarity measuring approaches. One is alignment-based and the other is alignment-free. The alignment-based method directly compares two DNA sequences using string matching algorithms, such as BLAST [3], FASTA [4], UCLUST [5] and CD-HIT [6]. Obviously, it is a time-consuming process to match strings in a large scale database [7], and the violent changes of sequence lengths decline the performance of clustering.

The alignment-free method converts each piece of DNA sequence into a feature vector in a new space, in which the similarity can be quickly computed. Some alignment-free algorithms exploit probabilistic models to generate feature vectors, of which the Markov model [810] is extremely important and widely used in bioinformatic applications. However, there are some arguments on the Markov model. Deshpande and Karypis [11] reported that the SVM-based approaches are more effective than many traditional sequence classification algorithms, especially Markov model based techniques, in the DNA sequence comparison. Lu et al. [12] argued that the assumption of Markov model on the DNA sequences impairs its capability.

Qi et al. [13] proposed a comparison method based on the probability of appearance of K-Strings. In order to suppress single-sequence noises, Reinert et al. [14] proposed D 2 S and D 2 for sequence comparison based on k-tuple content. They are two variants of the D2 word count statistic. The D2 based alignment-free models measure the difference between two word probability distributions for sequence comparison. It is a widely used statistics method for sequence comparison based on the joint k-tuple content in the two sequences. Bauer et al. [15] confirmed the existence of a species specific Average Mutual Information (AMI) profile and took these profiles to measure the evolutionary relationships between genomic sequences.

The k-tuple algorithm [16, 17] is a very popular alignment-free method. It segments a DNA sequence via a sliding window of length k. A segment of DNA sequence in the window is a tuple, usually called a word of length k. The k-tuple algorithm counts the frequency of each tuple, i.e. word, to build a feature vector based on the frequency value. Since a DNA sequence is converted into a fixed length vector, it can be quickly measured by some distance metric.

It has been proved in many researches that the simple k-tuple method cannot completely describe all information contained in a DNA sequence, since it only contains the word frequency information. Therefore, many modified k-tuple algorithms are proposed to contain more information in models. Liu et al. [18] appended the mean and variance value of each word’s position distribution into the feature vector. As a result, the size of the final feature vector becomes three times of 4k. This method increases the information contained in a feature vector at the expense of computing overhead, in terms of larger processing latency and memory. Wei et al. [19, 20] presented a Distance Measure based k-tuples (DMk) method for DNA sequence clustering. According to the position distribution of each word, the DMk method calculates its entropy value to construct a feature vector. Dai et al. [21] utilized both the word frequency and overlapping structure of words to improve the efficiency of sequence comparison. Li and Wang [22] counted the information of codon positions, and calculated the relative entropy over 12-dimension feature vectors to discriminate protein coding and non-coding sequences in the yeast genome. Wang and Zheng [23] presented the Weighted Sequence Entropy (WSE) based comparison on word frequencies to modify the classical relative entropy. Zhao et al. [24] transformed the DNA sequence into the 60-dimension distribution vectors. Lu et al. [12] summarized the word frequency information over a serial of sliding windows with their size varying from 1 to k. Consequently, they have to observe all k-mer strings’ probability, and the amount of sub-strings is up to 4k.

The key issue of the alignment-free method is that various DNA characteristics and features should be integrally considered and carefully composed so as to contain sufficient original DNA information in the converted feature space. Shi and Huang [25] proposed a Three Sequence Method (TSM) to build a twelve-component feature vector. Yu [26] converted a DNA sequence into three 2-dimension cumulative ratio curves instead of symbolic sequences. Li and Wang [27] presented a 16-dimension binary vector based on the group of nucleotide bases.

A segment of DNA data can be considered as a text written by using a four-letters alphabet. So some researchers apply text clustering methods to DNA data, such as [2, 2830]. It is confirmed that key words are flocking and not randomly distributed in DNA sequences [2, 28].

In this paper, we present an improved alignment-free model, named as CPF model, which combines advantages of other algorithms, such as k-tuple [16, 17], DMk [20] and TSM [25]. The CPF model converts a DNA sequence into three new sequences according to the classification of nucleotide bases, takes both frequency and position distribution information into account, and measures the similarity in a 12-dimension space. Thus, the CPF model contains more information than traditional alignment-free algorithms and achieves better clustering quality. The experimental results demonstrate the effectiveness of the CPF model.

Methods

Motivation

Our direct motivation is to improve the DNA clustering quality rather than detect homologous sequences. It is well known that the basic k-tuple method only containing word frequency information is not sufficient to fully describe a DNA sequence. Unsufficient information in a feature vector is the most important reason that causes poor clustering results. For instance, Dong and Pei [31] argued that the position inside sequence is important information for the sequence data clustering or classification. Thus, many modified algorithms adopt the position information of nucleotide bases. Among them, the DMk method [20] considers the occurrence, location and order relation of k-tuple in a DNA sequence. It produces a feature vector based on the Shannon entropy that reflects the degree of importance of positions in a sequence, instead of simply adding new statistical information. The vector size of DMk is equal to that of k-tuple under the same sliding window size. However, the DMk method ignores the classifications of nucleotide bases, which are very useful information to discriminate DNA pieces.

Many researches show that the classification over nucleotide bases improves the efficiency when comparing DNA sequences. TSM [25] converts a DNA sequence into three symbolic sequences utilizing the classifications of nucleotide bases and their chemical properties. TSM benefits from such a treatment. But the improvement of TSM is limited because it only involves the classification and word frequency information, while the position information is not included.

In this paper, we aim at using the word frequency, position and nucleotide bases classification in calculating the DNA sequence similarity. We integrate them together to enrich the feature vector but without big dimensions. This idea inspired us to design a new model, named Category-Position-Frequency model (CPF).

The feature vector space

According to the chemical properties of nucleotide bases, they can be divided into three categories,

  1. (1)

    purine group R={A,G} and pyrimidine group Y={C,T};

  2. (2)

    amino group M={A,C} and keto group K={G,T};

  3. (3)

    weak hydrogen bond group W={A,T} and strong hydrogen bond group S={C,G}.

In terms of a specific category, each nucleotide base is mapped to a group. Hence a DNA sequence is mapped to a new alphabet space that is shrunk from 4k to 2k. In this paper, we set the size of sliding window as 2, which is the preferred value verified by our experiments. Thus, the length of a word is 2 so that a mapped sequence contains 22=4 words. Consequently, three categories produce twelve different words, which form our feature vector space. Namely, each dimension represents a word as follows.

H = h RR , h RY , h YY , h YR , h MM , h MK , h KK , h KM , h WW , h WS , h SS , h SW
(1)

The Figure 1 illustrates the construction process of a DNA sequence feature vector.

Figure 1
figure 1

The construction process of a DNA sequence feature vector.

The feature value

Instead of the frequency of the word in the mapped sequence, we set the value of each dimension equal to the Shannon Entropy of words. The Shannon Entropy can expose the importance of the position distribution in the word [22]. A non-negative sequence X={x1,x2,…,x n } produces a sequence of its partial sum S, i.e.

S = s 1 , s 2 , , s n = x 1 , x 1 + x 2 , x 1 + x 2 + x 3 , , r = 1 n x r
(2)

Let Z denote the sum of the whole sequence S, i.e.

Z= u = 1 n s u = u = 1 n r = 1 u x r
(3)

Obviously, the smaller the position of x r , the more it contributes to Z. Because the element x r at the position r(r=1,2,…,n) is summed (nr+1) times, i.e., the preceding element has a larger weight than x r . It implies that the partial sum based model prefers the element at a small position. Then the discrete probability at the position r, denoted by p r , is defined as follows.

p r = s r Z ,(r=1,2,,n)
(4)

The entropy of the sequence X can be calculated as

h= r = 1 n p r log 2 p r
(5)

This entropy is able to reflect the importance of position in a sequence. Indeed, the front position tends to have a larger entropy. The biggest value of entropy is l o g2n, where n is the length of the sequence.

Li and Wang [22] make the original sequence from the word frequency at some positions. The frequency, termed Global Frequency, is counted over the whole sequence. Wei et al. [20] propose another frequency, called the Local Frequency, by counting the distance between two positions where a word occur twice.

L F r w = 1 l r w l r 1 w ,(r=1,2,,n)
(6)

where L F r w is the local frequency, r is the order of occurrence of a word w, l r w denotes the position of the rth occurrence of the w, and l 0 w is defined as 0. LF emphasizes the position of occurrence and the local density of a word. A single LF cannot contain the global information of the word. But a sequence of LFs can show the word’s global distribution more precisely and clearly than the GF. In this paper, we exploit the LF to make the original nonnegative sequence.

The Table 1 illustrates examples to show the differences between entropy value and LF based entropy value. The length of the example sequences is eight so that the range of entropy is [0,3], where the sequence “10000000” gets the biggest value, and “00000001” gets the smallest. When the sequences are regularly shifting from “10000001” to “11000000”, the LF based entropy values keep a consistent trend, but the entropy values are fluctuant. It is believed that the LF based entropy reflects more subtle structural information than basic entropy.

Table 1 The entropy values and LF based entropy values of example sequences

Finally, a DNA sequence’s feature vector is made from the LF based entropy according to the Eq. 1. The similarity between sequences is measured by the Euclidean Distance of feature vectors, i.e.

E ( d 1 , d 2 ) = | | H ( d 1 ) H ( d 2 ) | | = v = 1 12 | h v ( d 1 ) h v ( d 2 ) | 2
(7)

where d1 and d2 are two DNA sequences, H(d1) and H(d2) denote their feature vectors respectively.

The pseudo code

The following is the pseudo code of the CPF model.

The time and space complexity

The entire clustering process has two stages, first it makes the feature vectors from the raw DNA sequences, and then it runs the clustering algorithm. At the first stage, the CPF time complexity of making a feature vector is O(3×(n+ 2 k ×4 n ̂ )), where n is the length of a DNA sequence, k is the length of a sliding window, n ̂ is the average count of a word in a sequence. It is assumed that the occurrence probability of each word is equal to each other. Hence, the average count of a word is n ̂ =n/ 2 k . Therefore, the CPF time complexity of making a feature vector is O(15n), i.e.

O 3 × n + 2 k × 4 n ̂ = O 3 × n + 2 k × 4 × n 2 k = O 3 × ( n + 4 × n ) = O ( 15 n )
(8)

At the second stage, the CPF model runs a clustering algorithm in a 12-dimension feature space because the preferred size of sliding window is two. The time and space complexity depend on the specific clustering algorithm. It is well known that the time complexity of the standard k-means is O(I c d n), where I is the number of iterations, c is the number of clusters and d is the dimensions of the feature vector. As a result, when the CPF model runs the standard k-means clustering algorithm, the total time complexity of the two stages is O(15n+12I c n).

The CPF space complexity of making a feature vector is O(n+3×(n+ 2 k × n ̂ )). According to the above assumption, it equals O(7n). When the CPF is implemented by a serial program without any parallel processing, the first stage time complexity on the whole dataset is O(15n×|D|) where |D| denotes the number of DNA sequences in the dataset D. And the space complexity is still O(7n).

Results

Experiment settings

We use the k-means algorithm, which is implemented by the scipy module in Python, to test our CPF model and compare it with other five alignment-free models, i.e. k-tuple, DMk, TSM, AMI [15] and CV [13]. We also compare the CPF based k-means with UCLUST and CD-HIT, which are two alignment based DNA clustering models.

Seven datasets DS2, DS3, DS4, HOG20, HOG50, HOG80 and HOG100 are collected from PBIL [32]. The DS2 dataset is the HOVERGEN from PBIL, which is a database of homologous vertebrate genes. The DS4 is randomly selected from HOMOLENS, which is a database of homologous genes from Ensembl organisms and Ensembl families. The rest are randomly selected from HOGENOM, which contains homologous gene families from microbial organisms.

Each DS* dataset, which is also used by Wei et al. [20], contains six families. Each HOG* dataset contains much more families that are varying from 20 to 100. The Table 2 lists the details of these datasets.

Table 2 The details of the seven datasets

The goal of the test is to divide the DNA sequences that belong to the same family into the same cluster as well as possible. Though the data origin is clear, no clustering algorithm can precisely and correctly re-arrange all data into the correct clusters. As well known, the initial cluster centers, which are randomly selected in the k-means algorithm, have a great effect on the results. In fact, the k-means clustering results are varying every time because of the random initial cluster centers. In order to eliminate the occasional disturbance, we repeat each experiment 10 times to count its average performance. At last, all models are evaluated in terms of average purity and F-measure, which are defined as follows.

Let M denotes the number of families in the dataset, M ̂ denotes the number of clusters in the whole clustering result, |D| denotes the number of the total DNA sequences in the dataset, N i denotes the number of sequences in the family i, N ̂ j denotes the number of sequences in the cluster j, N ij denotes the number of sequences that belong to both family i and cluster j. l b l(j) denotes the familiy label of the cluster j, i.e. most members in the cluster j belong to the familiy l b l(j).

The purity of the cluster j is defined as:

purity j = max i = 1 M N ij N ̂ j
(9)

The purity of the whole clustering result is:

purity= j = 1 M ̂ N ̂ j | D | purity j
(10)

Usually, the members in a cluster may be from several families. But the cluster is labelled by the dominated members. The familiy label of the cluster j is:

lbl j =arg max i = 1 M N ij
(11)

Since a family is often divided into serval clusters. We count the precision and recall of a family over the clusters that have the same family label. The precision of the familiy i is:

precision i = lbl j = i N ij lbl j = i N ̂ j
(12)

The recall of the familiy i is:

recall i = 1 m i × lbl j = i N ij N i
(13)

where m i dontes the number of clusters whose familiy labels are equal to i.

The F-measure of the familiy i is:

F i = 2 × precision i × recall i precision i + recall i
(14)

The F-measure of the whole clustering result is:

F= i = 1 M N i | D | F i
(15)

Clustering results

Since the k-means clustering results depend on the number of initial cluster centers, which is denoted by c value in the following. We vary c value to observe the performance variation tendency of models.

It is noted that the sliding windows size of CPF and TSM is 2, the rest is 3. When a feature vector is created from a DNA sequence, the k value, i.e. the size of the sliding window, has a significant effect on it. It is well known that a DNA sequence is composed of four letters alphabet {A, C, G, T}. Hence the size of the feature vector is 4k. Nevertheless, it is not always true that the bigger k value the better it is. Wei et al. [20] suggested that k value should be set 3 because the length of a DNA codon is 3. They believe that this value is helpful to conserve the inherited information in a DNA sequence. For using the same token, it is also set 3 in DMk, k-tuple, AMI and CV. Aita et al. [33] attempted to optimize the k value according to a mathematical model of mutational events. Although the CPF model transforms a DNA sequence into three new sequences, the newly generated sequences are composed of only two letters. Consequently, we assign the sliding window size to 2 in CPF and TSM. The experimental results show that it is suitable for CPF model.

The Figure 2 illustrates the clustering results measured in purity against the number of initial clusters on the dataset DS4. The Figure 3 illustrates the same clustering results measured in F-measure on the same dataset. The Figure 4 illustrates the clustering results measured in purity against the number of initial clusters on the dataset HOG50. The Figure 5 illustrates the F-measure results on the dataset HOG50. The variation tendencies of cluster results on the dataset DS2 and DS3 are similar to the DS4. The tendencies on the HOG* datasets are similar to that of HOG50. On the HOG50 dataset, we vary c value from 10 to 280.

Figure 2
figure 2

The clustering results measured in purity against the number of initial clusters on the dataset DS4.

Figure 3
figure 3

The clustering results measured in F-measure against the number of initial clusters on the dataset DS4.

Figure 4
figure 4

The clustering results measured in purity against the number of initial clusters on the dataset HOG50.

Figure 5
figure 5

The clustering results measured in F-measure against the number of initial clusters on the dataset HOG50.

All models achieve the peak F-measure value in the range [50-150] whereas the purity value tends to be flat when the c value is greater than 50. Obviously, the bigger c value, the more cluster numbers, and the smaller a cluster is. A smaller cluster certainly has a higher purity(i.e. precision) but a lower recall. A cluster that contains only one sequence will get the highest purity and the lowest recall. But it is meaningless to our test because our goal is to put the similar DNA sequences together and ensure that they are from the same family. So the F-measure assesses clustering results more comprehensive than purity.

In General, the CPF is the best in most cases, and DMk is slightly worse than CPF, but it is much better than the rest models. TSM, k-tuple, AMI and CV are about the same level in most cases. For the F-measure, the CPF achieves the best result when c value is equal to or slightly greater than the number of families in the dataset,

The Table 3 lists the best clustering results in F-measure of CPF and two alignment based models, i.e. UCLUST and CD-HIT, on different datasets. The two alignment based models are far worse than CPF. However, UCLUST and CD-HIT are designed for finding the most similar DNA sequences, namely, every sequence in the cluster must have similarity above a given identity threshold (T). So these two alignment based models always get plenty of small clusters, which leads to a high precision (i.e. purity) score but a very poor recall score. As a result, their F-measure scores are worse. For example, on the HOG50 dataset, the UCLUST outputs 484 clusters, and the CD-HIT outputs 625 clusters, though all DNA sequences are from 50 families.

Table 3 The best clustering results in F-measure of CPF and alignment based models on different datasets

Based on above evaluation, CPF model performs stably and consistently with various datasets. It is very easy to set optimal configurations for CPF, which implies that the CPF model has a good capability of generalization and applicability.

The preferred sliding window size

The sliding window size, i.e. k value, determines the dimension of feature vector. The longer sliding windows size, the bigger feature vector dimension is. We vary the size of sliding window from 2 to 6 to observe its influence on the alignment-free models, while the number of k-means initial clusters is fixed on the number of families in the dataset.

The Figure 6 illustrates the clustering results measured in purity against the size of sliding window on the dataset DS4. The Figure 7 illustrates the same clustering results measured in F-measure on the same dataset. The Figure 8 illustrates the clustering results measured in purity against the size of sliding window on the dataset HOG50. The Figure 9 illustrates the F-measure results on the dataset HOG50. The variation tendencies of cluster results on the DS* datasets are similar to that of DS4. The tendencies on the HOG* datasets are similar to that of HOG50. The Tables 4 and 5 list the details on all datasets.

Figure 6
figure 6

The clustering results measured in purity against sliding window size on the dataset DS4.

Figure 7
figure 7

The clustering results measured in F-measure against sliding window size on the dataset DS4.

Figure 8
figure 8

The clustering results measured in purity against sliding window size on the dataset HOG50.

Figure 9
figure 9

The clustering results measured in F-measure against sliding window size on the dataset HOG50.

Table 4 The clustering results of six alignment-free models against sliding window size on the dataset DS2, DS3 and DS4
Table 5 The clustering results of six alignment-free models against sliding window size on the dataset HOG20, HOG50, HOG80 and HOG100

Generally, the CPF performance is very stable and better than other models in most cases, the sliding window size has a few effect on the CPF model. Namely, it achieves the best or near the best clustering result when the sliding window size is 2. That imples a great virtue of the CPF model. Because the longer sliding window size will consume much more computing resources including both time and space. In contrary, the DMk is unstable though it may be slightly better than the CPF occasionally.

As a result, a larger sliding window may not harvest a better clustering result. A shorter window size produces a shorter feature vector, which is greatly helpful in the large scale DNA processing because a shorter vector can reduce the computation overhead and speed up running time exponentially.

It is apparent that the word-frequency-only method (e.g. k-tuple, TSM, AMI and CV) performs worse than the other two hybrid methods (DMk and CPF) because they miss some useful information. In contrast, CPF considers more useful information and achieves better results.

The running time

The Table 6 lists the average running time of six models at two stages against different k value on the dataset HOG80. Each of them is repeated 200 times to sum the running time. The running environment is as follows.

Table 6 The runing time in seconds of the alignment-free models on the dataset HOG80

CPU: Intel Core i7 (3.40GHz), RAM: 4.00GB, OS: Windows 7 (64bit professional edition).

At the feature vector building stage, the CPF model is slower than others except AMI. But at the k-means clustering stage, the CPF model is faster than others except AMI. Especially when k value is greater than 3, k-tuple, DMk and CV are tens times slower than CPF, TSM and AMI though the former three models are faster at the feature vector building stage.

It is a disadvantage for the CPF model to spend a long time on the feature vector building stage. But the CPF model runns very fast at the k-means clustering stage, If the feature vectors are not stored, namely, they are rebuilt in each clustering process, the total running time of CPF is near to AMI, but bigger than k-tuple, DMk and TSM. However, the feature vector of a DNA sequence is its inherent property, which is invariant. It can be built once and stored for repeated use. The CPF model is helpful to save time in the repeated clustering application.

Discussion

There are a variety of features extracted from a raw DNA sequence, such as word frequency, classifications of nucleotide bases, position and so on. Different alignment-free models employ different features to build feature space. The dimension of a feature vector depends on the specific model. Generally, it varies from (k+1) to 4k. While k=6, it may be 46=4096.

But, how much is adequate for DNA sequence comparison?

As far as I know, the theoretical boundary is not presented by now. But it is a fact that the longer feature vector may not guarantee the better clustering result. On the small size datasets, our experiments verified that the 12-dimension CPF model outperforms the 4096-dimension k-tuple model. Moreover, the experiments illustrate that the CPF model gets the best result when the sliding window is two, i.e. the dimension of a feature vector is 12 (322=12). Namely, the longer CPF vector (i.e. the longer sliding window) is not always better than the 12-dimension CPF vector. We have tested the CPF model on several datasets, the results show that CPF’s performance is steady. As a result, for not too long DNA sequences, the best configuration of CPF model is fixed.

However, the length of a DNA sequence is not very huge in our experiments, which is no more than 5000 characters. It believed that the 12-dimension vector is not adequate for huge DNA sequences. Obviously, if 10,000 characters size of sequences are compressed into 12-dimension vectors, too much information are lost so that they can not be effectively distinguished.

When the dataset grows large, all six models becomes worse. The best F-measure value declines from near 1.0 to near 0.5 when the family number of dataset grows from six to 100. All models’ F-measure value will less than 0.5 on the more larger dataset. Since the larger the dataset is, the more families may be overlapped eath other. That is a hard obstacle for alignment-free clustering models. It is a big challenge to solve the issue on the wild large scale datasets.

Consequently, it is still an problem for future research to estimate the optimal size of feature vectors for different size of DNA sequences. Our work illustrates that the 12-dimension CPF model can get an excellent clustering result for DNA sequences no more than 5000 characters.

Conclusions

It is believed that an alignment-free model containing more useful information can achieve better data mining results. This paper presents the CPF model that employs the word frequency, position and nucleotide bases classification information from DNA sequences. The experimental results show that CPF is superior to other models, including k-tuple, DMk, TSM, AMI and CV. The following conclusions can be drawn from the experiments.

  1. (1)

    The hybrid information model is better than the model only based on word frequency.

  2. (2)

    For DNA sequences no more than 5000 characters, the preferred size of sliding windows for CPF is two, which provides a great advantage to promote system performance.

  3. (3)

    The CPF model is able to make an efficient stable performance and broad generalization.

In the future, we will perform the CPF model on a large scale DNA data to deeply observe DNA sequence similarity and mining relationships among them. And a more efficient clustering method will be presented to promote the clustering results on unknown DNA sequences.

References

  1. Demuth JP, Bie TD, Stajich JE, Cristianini N, Hahn MW: The evolution of mammalian gene families. PLoS ONE. 2006, 1: 85-10.1371/journal.pone.0000085.

    Article  Google Scholar 

  2. Hackenberg M, Rueda A, Carpena P, Bernaola-Galván P, Barturen G, Oliver JL: Clustering of dna words and biological function: a proof of principle. J Theor Biol. 2012, 297: 127-136.

    Article  PubMed  CAS  Google Scholar 

  3. Gish W, Miller W, Myers E, Lipman D, AltschulS: Basic local alignment search tool. J Mol Biol. 1990, 215 (3): 403-410. 10.1016/S0022-2836(05)80360-2. doi:10.1016/S0022-2836(05)80360-2

    Article  PubMed  Google Scholar 

  4. Lipman DJ, Pearson WR: Rapid and sensitive protein similarity searches. Science. 1985, 227: 1435-1441. 10.1126/science.2983426.

    Article  PubMed  CAS  Google Scholar 

  5. Edgar RC: Search and clustering orders of magnitude faster than blast. Bioinformatics. 2010, 26: 2460-2461. 10.1093/bioinformatics/btq461.

    Article  PubMed  CAS  Google Scholar 

  6. Li WZ, Godzik A: Cd-hit: a fast program for clustering and comparing large sets of protein or nucleotide sequences. Bioinformatics. 2006, 22: 1658-1659. 10.1093/bioinformatics/btl158.

    Article  PubMed  CAS  Google Scholar 

  7. Haubold B, Reed FA, Pfaffelhuber P: Alignment-free estimation of nucleotide diversity. Bioinformatics. 2011, 27: 449-455. 10.1093/bioinformatics/btq689.

    Article  PubMed  CAS  Google Scholar 

  8. Pham TD, Zuegg J: A probabilistic measure for alignment-free sequence comparison. Bioinformatics. 2004, 20: 3455-3461. 10.1093/bioinformatics/bth426.

    Article  PubMed  CAS  Google Scholar 

  9. Kantorovitz MR, Robinson GE, Sinha S: A statistical method for alignment-free comparison of regulatory sequences. Bioinformatics. 2007, 23: 249-255. 10.1093/bioinformatics/btl510.

    Article  Google Scholar 

  10. Freno A: Selecting features by learning markov blankets. Lect Notes Comput Sci. 2007, 4692: 69-76. 10.1007/978-3-540-74819-9_9.

    Article  Google Scholar 

  11. Deshpande M, Karypis G: Evaluation of techniques for classifying biological sequences. Lect Notes Comput Sci. 2002, 2336: 417-431. 10.1007/3-540-47887-6_41.

    Article  Google Scholar 

  12. Lu G, Zhang S, Fang X: An improved string composition method for sequence comparison. BMC Bioinformatics. 2008, 9 (Suppl 6): 15-10.1186/1471-2105-9-S6-S15.

    Article  Google Scholar 

  13. Qi J, Wang B, Hao BI: Whole proteome prokaryote phylogeny without sequence alignment: a k-string composition approach. J Mol Evol. 2004, 58: 1-11. 10.1007/s00239-003-2493-7.

    Article  PubMed  CAS  Google Scholar 

  14. Reinert G, Chew D, Sun F, Waterman MS: Alignment-free sequence comparison (i): statistics and power. J Comput Biol. 2009, 16: 1615-1634. 10.1089/cmb.2009.0198.

    Article  PubMed Central  PubMed  CAS  Google Scholar 

  15. Bauer M, Schuster SM, Sayood K: The average mutual information profile as a genomic signature. BMC Bioinformatics. 2008, 9: 48-10.1186/1471-2105-9-48.

    Article  PubMed Central  PubMed  Google Scholar 

  16. Blaisdell BE: A measure of the similarity of sets of sequences not requiring sequence alignment. Proc Natl Acad Sci U S A. 1986, 83 (14): 5155-5159. 10.1073/pnas.83.14.5155.

    Article  PubMed Central  PubMed  CAS  Google Scholar 

  17. Vinga S, Almeida J: Alignment-free sequence comparison–a review. Bioinformatics. 2003, 19: 513-523. 10.1093/bioinformatics/btg005.

    Article  PubMed  CAS  Google Scholar 

  18. Liu L, Ho YK, Yau S: Clustering dna sequences by feature vectors. Mol Phylogenet Evol. 2006, 41: 64-69. 10.1016/j.ympev.2006.05.019.

    Article  PubMed  CAS  Google Scholar 

  19. Wei D, Jiang QS: A DNA sequence distance measure approach for phylogenetic tree construction. Proceedings of the 5th IEEE International Conference on Bio-Inspired Computing: Theories and Applications. Changsha, China. 2010, IEEE, 204-212. doi:10.1109/BICTA.2010.5645329, [http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5645329&tag=1]

    Google Scholar 

  20. Wei D, Jiang QS, Wei YJ, Wang SR: A novel hierarchical clustering algorithm for gene sequences. BMC Bioinformatics. 2012, 13: 174-10.1186/1471-2105-13-174.

    Article  PubMed Central  PubMed  Google Scholar 

  21. Dai Q, Liu XQ, Yao YH, Zhao FK: Numerical characteristics of word frequencies and their application to dissimilarity measure for sequence comparison. J Theor Biol. 2011, 276: 174-180. 10.1016/j.jtbi.2011.02.005.

    Article  PubMed  Google Scholar 

  22. Li C, Wang J: Relative entropy of dna and its application. Physica A. 2005, 347: 465-471.

    Article  CAS  Google Scholar 

  23. Wang J, Zheng X: Wse a new sequence distance measure based on word frequencies. Math Biosci. 2008, 215: 78-83. 10.1016/j.mbs.2008.06.001.

    Article  PubMed  Google Scholar 

  24. Zhao B, He RL, Yau SS: A new distribution vector and its application in genome clustering. Mol Phylogenet Evol. 2011, 59: 438-443. 10.1016/j.ympev.2011.02.020.

    Article  PubMed  CAS  Google Scholar 

  25. Shi L, Huang HL: Dna sequences analysis based on classifications of nucleotide bases. Adv Int Soft Comput. 2012, 137: 379-384. 10.1007/978-3-642-27866-2_45.

    Article  Google Scholar 

  26. Yu HJ: Similarity analysis of dna sequences based on three 2-d cumulative ratio curves. Lect Notes Comput Sci. 2012, 6840: 462-469. 10.1007/978-3-642-24553-4_61.

    Article  Google Scholar 

  27. Li C, Wang J: Similarity analysis of dna sequences based on the generalized lz complexity of (0,1)-sequences. J Math Chem. 2008, 43: 26-31. 10.1007/s10910-006-9176-8.

    Article  CAS  Google Scholar 

  28. Carpena P, Bernaola P, Hackenberg M, Coronado AV, Oliver JL: Level statistics of words: Finding keywords in literary texts and symbolic sequences. Phys Rev E. 2009, 79: 035102-035104.

    Article  CAS  Google Scholar 

  29. Volkovich Z, Kirzhner V, Bolshoy A, Nevo E, Korol A: The method of n-grams in large-scale clustering of dna texts. Pattern Recogn. 2005, 38: 1902-1912. 10.1016/j.patcog.2005.05.002.

    Article  Google Scholar 

  30. Bielinska-Waz D: Graphical and numerical representations of dna sequences: statistical aspects of similarity. J Math Chem. 2011, 49: 2345-2407. 10.1007/s10910-011-9890-8.

    Article  CAS  Google Scholar 

  31. Dong GZ, Pei J: Classification, clustering, features and distances of sequence data. Adv Database Syst. 2007, 33: 47-65. 10.1007/978-0-387-69937-0_3.

    Article  Google Scholar 

  32. HOGENOM : Database of Complete Genome Homologous Genes Families. [http://pbil.univ-lyon1.fr/databases/hogenom/home.php]

  33. Aita T, Husimi Y, Nishigaki K: A mathematical consideration of the word composition vector method in comparison of biological sequences. BioSystems. 2011, 106: 67-75. 10.1016/j.biosystems.2011.06.009.

    Article  PubMed  Google Scholar 

Download references

Acknowledgements

This research is supported by National Natural Science Foundation of China (Grant 60903123, 60933003) and the Fundamental Research Funds for the Central Universities.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Junpeng Bao.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

JB conducts this research. ZB implements the CPF model. RY collects several middle size datasets and carries out all experiments on them. All authors read and approved the final manuscript.

Authors’ original submitted files for images

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited. 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

Bao, J., Yuan, R. & Bao, Z. An improved alignment-free model for dna sequence similarity metric. BMC Bioinformatics 15, 321 (2014). https://doi.org/10.1186/1471-2105-15-321

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1471-2105-15-321

Keywords