<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>PPaarraammeettrrisiseeddHHaauussddoorrffDDisisttaanncceeaassa NoanN-Mone-tMricetSriimcSiliamriitlyarMityodMelofdoerl TfoarndTeamndMemass MaSsspeScpteroctmroemtreyt?ry?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jiˇr´ı Nov´ak</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Hoksza Jir Novak</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Hoksza</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Software Engineering, Faculty of Mathematics and Physics, Department of SoftwarCe hEanrlgeisneUenriinvge</institution>
          ,
          <addr-line>rsFitaycui nltyProafgMuea,thematics and Physics, Malostransk ́e Cna ́hmar.le2s5,U1n1i8ve0r0si,tyPriangPuera1g,uCe,zech Republic Malostranskneovnaakm,. h2o5k,s1z1a8</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2010</year>
      </pub-date>
      <abstract>
        <p>Tandem mass spectrometry is a widely used method for protein and peptide sequences identification. Since the mass spectra contain up to 80% of noise and many other inaccuracies, there still exists a need for more accurate algorithms for mass spectra interpretation. The sizes of protein databases grow rapidly and the methods for indexing these databases in order to interpret mass spectra become very popular. The parametrised Hausdorff distance, suitable for non-metric search, is presented in this paper. It models the similarity among tandem mass spectra very well and it is able to match the spectrum to correct peptide sequence in many cases without any post-processing scoring system.</p>
      </abstract>
      <kwd-group>
        <kwd>tandem mass spectrometry</kwd>
        <kwd>metric access methods</kwd>
        <kwd>peptide identification</kwd>
        <kwd>bioinformatics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Introduction
Tandem mass spectrometry [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is a fast and popular method for determining
protein sequences from an experimentally prepared protein sample. Protein
sequences identified by mass spectrometry are used in many fields of biological
research especially in methods for protein structure and function prediction [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
      </p>
      <p>
        Mass spectrometry does not determine sequences directly but the collection
of data to be interpreted is obtained from tandem mass spectrometer. Each
protein molecule in the sample is digested into peptides (short pieces of proteins)
? This research has been supported in part by Czech Science Foundation (GA CˇR)
project Nr. 201/09/0683 and by institutional research plan number MSM0021620838.
1 The omitted letters may sometimes represent more than one amino acid if there is
no chance to differentiate them.
by an enzyme before mass analysis. The most common and cheap enzyme is
trypsin and it digests protein after each2 amino acid K (lysine) and R (arginine)
if they are not followed by P (proline) [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>Each peptide gets a charge z in a mass spectrometer and it becomes peptide
ion3. Peptide ions are separated by their ratio mass m (also called precursor
mass) and charge z, and then they are splitted to many peptide fragment ions.
The dataset obtained from the tandem mass spectrometer is a list of mass spectra
(one spectrum for each detected peptide ion). Precursor mass and charge can
be provided as an additional information for each spectrum corresponding to
a peptide ion. The process of assigning a corresponding peptide sequence to
an experimental spectrum is denoted as mass spectrum interpretation.
Definition 2. Mass spectrum is represented by a list of peaks. Each peak
corresponds to a peptide fragment ion and it is a pair of numbers m/z and intensity
of occurrence, where m denotes mass in Daltons4 and z charge.</p>
      <p>An experimentally obtained mass spectrum (acquired by division of peptide
ions in mass spectrometer) usually contains many noise peaks (up to 80%), which
correspond to ions with very complicated and upredictable chemical structure.
The intensity may help to differentiate between more and less significant peaks
in such spectrum. Spectra generated from database of protein sequences (see
section 2) can be denoted as a hypothetical or theoretical. The intensity cannot
be determined from sequences for peaks in a hypothetical spectrum. The
hypothetical spectra do not contain intensity which usually does not cause a problem,
since the m/z ratio provides the main information for mass spectra
interpretation.
2 The digestion process is not perfect in practice so there can be some missed cleavage
sites.
3 Neutral molecules are not captured by mass spectrometer.
4 Dalton (Da) is a unit of atom relative mass.</p>
      <p>There are several types of fragment ions in a mass spectrum, which are
fundamental for correct peptide sequence identification. The most frequently
occurring are y-ions and b-ions5 (Fig. 1). A ion serie is created by each type
of ions. The completeness of y-ions or b-ions series determines the quality of
the interpretation because the difference between two neighboring peaks in one
serie corresponds to the mass of an amino acid. For example, missing of y3 and
b4 in Fig. 1 causes loosing the information on the order of the letters T and I.
The letters can be determined from the difference of m/z between y2 and y4 (or
b3 and b5), but more candidate pairs of amino acids having similar aggregate
m/z value can be selected from 202 possible amino acids pairs.</p>
      <p>
        Modifications of amino acids are also a common problem when mass spectra
are interpreted because other chemical groups can be attached to the amino acids
in proteins. This usually happens during sample preparation for the mass
analysis or in the mass spectrometer. The most common modifications are e.g.
carbamidation of cysteine C (+57.01 Da) or oxidation of methionine M (+16 Da)6.
The database UNIMOD [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] gathers discovered protein modifications for mass
spectrometry. At the time of writing this paper, there were more than 620 known
modifications.
2
      </p>
      <p>
        State of the Art
Tandem mass spectra interpretation employs two basic approaches. Ab initio,
the first approach, is based on direct mass spectra interpretation using graph
algorithms and it is usually called as De Novo peptide sequencing [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. This
approach is highly influenced by occurrence of complete ion series because missed
y-ions or b-ions can cause that there are many paths in graph and it is difficult
to assign correct peptide sequence to the spectrum. The quality of identification
using this approach is about 30% [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>
        The other approach is based on search in the database [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] of already known
or predicted7 protein sequences. The hypothetical spectra of peptides are
generated from database of protein sequences and compared with an experimental
spectrum. A combined approach, Sequence Tag, was presented in [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. First, a
short amino acid sequence (tag) is determined by hand or by graph algorithm
and then a database is searched. The most common tools for peptide
identification based on searching in databases are SEQUEST [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ], MASCOT [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ],
ProteinProspector [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ], OMSSA [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], etc.
      </p>
      <p>
        The number of data in protein databases grows exponentially every year [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]
and sequential scan of the whole database becomes too slow. Modeling an index
is not a trivial problem due to the noise, modifications and inaccuracies in mass
spectra.
5 Ion types are defined by the positions where splitting occurs.
6 Special types of modifications are posttranslation modifications (PTM), which arise
additionally after translation of DNA to proteins.
7 It is possible to use raw translation of DNA sequences to protein sequences, so
unknown protein sequences can be determined.
      </p>
      <p>
        The naive method is based on indexing and querying mass spectra by their
precursor mass using B-tree [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. But there can be complications if the
experimental spectrum contains modifications because m/z values of peaks and also
precursor mass are shifted. The lengths of peptide sequences are usually about
a few tens of amino acids. Looking for peptides with modifications can cause
selection of many peptides from the database because a wide interval for precursor
mass tolerance must be set up.
      </p>
      <p>
        Several more sophisticated approaches were presented. One of them uses a
suffix tree [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] for preprocessing the protein sequence database and a graph
algorithm is used to preprocess tandem mass spectrum [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Then the suffix tree
is searched against spectrum graph for candidate peptides. The correct
peptide sequence is determined by a scoring function (such as HMM [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ], dynamic
programming [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], SEQUEST-like scoring [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ], etc.).
      </p>
      <p>
        Another method is based on using a self-organizing map (SOM) which is
a type of neural network [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The hypothetical spectra are converted to
highdimensional vectors (Ex. 1) and then SOM is trained. The experimental
spectrum is then used for a range query on SOM and the peptide candidate set is
obtained and a scoring function is applied.
      </p>
      <p>Example 1. Let the range of m/z values in the mass spectrum be 0-2,000 Da
and let it be divided in subintervals of 0.1 Da. Each mass spectrum is then
represented by a 20,000 dimensional boolean feature vector having ones at places
corresponding to intervals for which m/z value in the spectrum exists.</p>
      <p>
        There are also database approaches based on the properties of metric space [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ].
One of them uses locality sensitive hashing in Euclidean space to preprocess
peptides in the database followed by range query [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Another method is based on
using cosine similarity and MVP-tree [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Using variants of cosine similarity
(1) and representation of mass spectra as a high-dimensional vector (Ex. 1) is
common idea in mass spectrometry literature [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        Cosine of an angle is not a metric (see section 4) but it can be turned into
metric by using arccos function. The approach based on MVP-tree [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] uses two
alternatives of cosine distance. The first is called fuzzy cosine distance and it is
generalization of (1). The other is called tandem cosine distance and it is
combination of the fuzzy cosine distance and the precursor mass filter. Comparison
of our method with this approach is presented in section 5.3.
      </p>
      <p>cos(x, y) =</p>
      <p>xy
kxk kyk
(1)
3
3.1</p>
      <p>Original Idea and Improvements</p>
      <p>
        Original Idea
The Hausdorff distance dH (2) and logarithmic distance dL (3) were proposed
in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] for tandem mass spectra interpretation. These distances describe the
similarity among tandem mass spectra better than e.g. Euclidean dE or maximum
distance.
      </p>
      <p>The advantage of using Hausdorff distance is that components on different
positions in two vectors can be compared. The main idea of using logarithmic
distance is that two vectors x and y are closer considering peptide identification
if there are great differences in a small number of their components than if there
are small differences in a large number of their components (Ex. 2).
dH (x, y) = max(h(x, y), h(y, x)), h(x, y) = max
xi∈x
ymj ∈iny {dE (xi, yj )}
dL (x, y) =
k  log |xi − yi|,
X 
Example 2. Lets assume vectors of m/z values x = {148, 263, 376, 477, 574,
703}, y1 = {148, 263, 476, 477, 574, 703} and y2 = {140, 270, 370, 477, 570,
710}. The Euclidean distance between vectors x and y1 is dE (x, y1) = 100 and
the distance between vectors x and y2 is dE (x, y2) =. 14.6 but the vectors x
and y1 are closer considering peptide identification. The missing number 376
in y1 means that corresponding peak in the mass spectrum is missing. On the
other hand the superfluous number 476 in y1 refers to the occurrence of similar
477. The replacement of values 376 and 476 can be observed as a consequence
of these inaccuracies.</p>
      <p>The vectors of m/z values were splitted by a sliding window to many shorter
vectors of constant size in order to increase quality of identification. For example
a sorted vector of 12 m/z values can be generated for sequence PEPTIDE, these
numbers correspond to y and b-ions (Fig. 1). The (l − 1) ∗ 2 − dim + 1 = 10
vectors must be indexed for one peptide sequence of length l = 7 and for vectors
of dimension dim = 3. The short vectors were indexed by M-tree. The number
of correctly assigned peptide sequences to the mass spectra was about 50-60%
by using Hausdorff or logarithmic distance.
3.2</p>
      <p>
        Improvements
Functions such as nth root or logarithm [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] are suitable for the purpose of
modeling similarity between mass spectra because these can significantly decrease
an error caused by outliers.
      </p>
      <p>The proposed parametrised Hausdorff distance dHP (5) combine the
characteristics of the nth root function and Hausdorff distance, x and y are vectors of
m/z values, dE is Euclidean distance, n is index of the root and m is power
modifier. The Hausdorff distance allows comparison of vectors with different sizes,
which is valuable for peptide sequence identification because the mass spectra
(hypothetical or experimentally obtained) have different number of peaks.
h(x, y) =</p>
      <p>P
xi∈x
q
n
minyj∈y {dE (xi, yj )}</p>
      <p>|x|
dHP (x, y) = (max(h(x, y), h(y, x)))m
(4)
(5)</p>
      <p>Using dHP noticeably increases accuracy even if no pre-processing nor
postprocessing algorithms are employed. Typical pre-processing algorithm is a
heuristic which selects the most suitable peaks for peptide sequence identification from
an experimental spectrum. The post-processing algorithm is usually represented
by a scoring function which selects the best peptide sequence corresponding to
an experimental spectrum from the peptide sequence candidate set obtained by
an index structure.</p>
      <p>Another improvement is significant reduction of the number of vectors that
are generated from protein sequences. Only one vector of m/z values is necessary
for peptide sequence representation which makes this method more usable. This
was not possible in the previous version of the algorithm, since dH and dL
required splitting in order to achieve sufficient quality of identification.</p>
      <p>The time complexity for dHP computation is O(n2) but since the lists of peaks
are implicitly sorted by m/z ratio so an improvement is used and complexity
O(n) is achieved. The asymmetric part (see Alg. 1) of the Hausdorff distance
can be computed using two nested loops. The inner loop can be broken if the
minimum difference between components in two vectors is found. The position of
minimum is stored and it is used as starting value for inner cycle in the next outer
cycle (Alg. 1, line 3), errTol is mass error tolerance, root(x,n) is √nx, power(x,m)
is xm and abs computes the difference between two m/z values (in the Euclidean
distance dE ).
}
/* minimum difference is achieved and better result cannot be found */
else break;
}
sum += (min&gt;errTol)?root(min-errTol,n):0;
}
return sum/X.size();
float Compute(sortedVector X,sortedVector Y,float errTol,float n,float m) {
float left = computeAsymmetric(X,Y,errTol,n);
float right = computeAsymmetric(Y,X,errTol,n);
if (left &gt; right) return power(left,m);
return power(right,m);</p>
    </sec>
    <sec id="sec-2">
      <title>Metric Access Methods (MAMs)</title>
      <p>
        The metric is a function that satisfies reflexivity, symmetry, non-negativity and
triangle inequality [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ]. Function which partially corrupts the triangle inequality
is called a semimetric and the search process is denoted as non-metric [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ].
The MAMs [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ] were designed for fast search in databases modeled in metric
spaces. The triangle inequality is crucial for organizing objects into metric regions
and for pruning those regions while searching. MAM used in our experiments is
a metric tree (M-tree) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] but it can be replaced with any other MAM. MAMs
support using range and k-NN (k-nearest neighbor) queries.
5
      </p>
    </sec>
    <sec id="sec-3">
      <title>Experiments</title>
      <p>
        The dataset from Keller et al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] was used in our experiments. The
spectra were obtained by mixing 18 proteins together.8 These spectra were
identified by SEQUEST [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] and the results were manually checked. The spectra
with charge 1+ and 2+, digested by trypsin and with corresponding peptide
sequences contained in attached protein sequences file were selected. This file
was used as a database Keller1 containing 103 protein sequences (7,391
peptide sequences). The database Keller2 is an extension of Keller1 where protein
sequences from MSDB (Mass Spectrometry Protein Sequence Database) [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]
were added. The Keller2 contains 10,000 protein sequences (649,481 peptide
sequences). The databases and the query set from [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] were also used for
comparison with cosine similarity (see section 5.3).
      </p>
      <p>
        Following qualities were measured. The quality of identification is a ratio
of correctly assigned peptide sequences to the mass spectra to all spectra from
the query set (without differentiating the position of the correct peptide sequence
in the obtained set). The distance computations ratio is the average number of
runs of Alg. 1 per one mass spectrum to the sequential access. Since the real
time is directly proportional to the distance computations ratio, we mostly use
the ratio in the following text. The triangle inequality ratio is an empirically
determined number of triplets of vectors satisfying the triangle inequality. The
distance distribution histogram (DDH) [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] shows distribution of distances
between any two vectors in the database. The distances on the x axis are normalised
in order to be able to compare histograms with different values of n or m (e.g.
Fig. 2b). The normalisation is possible because maximum mass of generated
peptides is limited. The distance frequency is the number of pairs of vectors in the
distance d ± δ in the database, where δ is an error caused by rounding.
      </p>
      <p>All experiments were carried out on a 1.6 GHz processor AMD TURION
TL52 with 2 GB RAM and OS Windows XP SP2. Following settings were used
unless otherwise specified - digestion enzyme: trypsin, maximum missed cleavage
sites: 1, mass error tolerance: 0.4 Da, y and b-ions were generated in
hypothetical spectra, 100 peaks with highest intensity were selected from experimental
spectra, mass range of generated peptides: 500-5,000 Da.
8 The 119 spectra from the first run on mixture A were used.
5.1</p>
      <sec id="sec-3-1">
        <title>Index of the Root</title>
        <p>First experiments concerned the influence of the index of nth root function
(n = {1, 2, 5, 10, 20, 50, 100}) on the quality of peptide sequence
identification and the suitability of the parametrised Hausdorff distance for use with
MAMs. Settings: m = 1 (modifier is off), DDHs measured on Keller1, quality of
identification measured on Keller2 (sequential access was employed for Keller2 ).</p>
        <p>100</p>
        <p>50
Distance [%]
75
100</p>
        <p>The quality of identification increases with increasing n and the distance
models the similarity among tandem mass spectra very well. The correct
peptide sequences were assigned to more than 80% of experimentally obtained mass
spectra as a result of 1-NN query for n = 50 (Fig. 2a). The number of
correctly assigned sequences was about 90% for 5-NN query and more than 96%
for 100-NN query. We need a 669-NN query for achieving 100% quality of
identification. The selectivity is about 0.1% in such a case. The average time for
the identification of one mass spectrum was about 14.4 seconds.</p>
        <p>
          The triangle inequality ratio is about 17% for n = 1 and about 99% for
n = 2 and higher. A disadvantage is that intrinsic dimensionality [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] gets higher
with increasing n hence the distance computations ratio increases. For high
n, the difference between MAMs and sequential access blends. The intrinsic
dimensionality is indicated by DDH (Fig. 2b).
5.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>The Power Modifier</title>
        <p>We tried to solve the problem of high intrinsic dimensionality by using power
modifier m (5) due to poor MAMs usability. The power is monotonous function
and it does not change the order of the results. The index performance (Fig. 4)
was tested on M-tree with database Keller2.</p>
        <p>The DDH improves with increasing modifier (Fig. 3a). Modifiers were tested
for n = 50 (see Table 1). The DDH with m = 1 (modifier is off) is shown
for comparison. The triangle inequality ratio gets worse with increasing power
modifier (Fig. 3b). The experiments were executed for different n (see section
5.1). The quality of identification gets better with increasing triangle inequality
ratio (Fig. 4a) but the distance computations ratio gets worse (Fig. 4b).
m =8.96</p>
        <p>50
Distance [%]
75
100
1
2
3
4</p>
        <p>
          5 6
Power modifier [-]
7
8
Parametrised Hausdorff distance was compared with fuzzy cosine distance and
tandem cosine distance described in [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]. Datasets described in Table 1 in the
cited paper were used for the comparison. The database I contains 92,768
hypothetical spectra from the genome of Escherichia Coli K12 and 7 proteins mixture
from Sashimi proteomics repository [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ]. The database II has 654,276 spectra
and it is an extension of database I containing hypothetical spectra from human
genome. The query set contains 49 experimentally obtained spectra and comes
from the 7 proteins mixture from Sashimi proteomics repository. The following
settings were used: n = 1000, m = 4, 0 missed cleavage sites, error 1.0 Da, y and
b ions were generated in hypothetical spectra, 100 peaks with highest intensity
were selected from experimental spectra, peptide mass range 0-5,000 Da. We
used 13-NN query on M-tree and the triangle inequality ratio was 99.9%.
100
]% 90
[
iton 80
a
itcfi 70
n
ifed 60
o
ilty 50
a
uQ 40
Parametrised Hausdorff dist.
        </p>
        <p>Tandem cosine dist.</p>
        <p>Parametrised Hausdorff dist.</p>
        <p>Tandem cosine dist.
30 1 2 4 6 8 10 12 14 16 18 20
k-NN</p>
        <p>The parametrised Hausdorff distance returns peptide sequence corresponding
to the experimental spectrum as a result of 1-NN query in 98% on database I
and in 95.9% on database II. The quality of identification eliminates the need of
a scoring system (see section 2). But in fact the quality decreases with increasing
database size and the scoring system cannot be completely removed from a
realworld application.</p>
        <p>
          The parametrised Hausdorff distance has better quality of identification than
tandem cosine distance (Fig. 5)9. But in fact the tandem cosine distance has
the distance computations ratio less than 0.3% for both databases and
parametrised Hausdorff distance has the computations ratio 62.3% for the database I
and 50.7% for the database II. Although the computations ratio of our method
decreases with increasing database size, it is still slower than the tandem cosine
distance. Fuzzy cosine distance has the distance computations ratio about 95%.
Tandem cosine distance’s computation ratio is a consequence of combination
fuzzy cosine distance and precursor mass filter [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ]. The precursor mass filter
can be restrictive criterion if the peptide modifications are searched. Typical
precursor mass tolerance is about ±2 Da. This tolerance must be extended for
searching peptides with modifications. Precursor mass of modified peptides can
differ by more than a few tens to hundreds Daltons.
5.4
        </p>
        <p>
          Non-Metric Search and k-NN Queries
An interesting characteristic can be observed when non-metric search is used.
We examined the performance of the M-tree (Keller2 ) using n = 50 and m = 9
which corresponds to 90% triangle inequality ratio. The k in k-NN query was
increased and the quality of identification grew. The results were not distributed
uniformly over the interval of k items but the correct peptide sequences were
found as the top hits in many cases (Fig. 6a). This is a consequence of
nonmetricity and it cannot happen if the distance is metric or if the sequential access
is used. The distance computations ratio and average time of identification per
one spectrum grew with increasing k in k-NN query (Fig. 6b). Average time was
about 15.2 seconds for sequential access.
9 The results for tandem cosine distance were taken from the supplement of [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ].
k-NN query
        </p>
        <p>40 Dist. comp.
[]% 35 Avg. time
ito 30
a
rsn 25
itao 20
t
pum 15
.tco 10
isD 5
010
100</p>
        <p>1000
k-NN query
The parametrised Hausdorff distance for interpretation tandem mass spectra of
peptides was proposed. It was compared with cosine distance which is widely
discussed in mass spectrometry literature. The fuzzy and tandem cosine distance
were used in this paper. Tandem cosine distance shows worse results in terms
of quality identification than our algorithm. The fuzzy approach is moreover
slower in terms of distance computations ratio. Higher speed of tandem cosine
distance is a consequence of including the precursor mass filter. On the other
hand, embedding of precursor mass filter can be problematic when modeling of
the similarity of spectra corresponding to modified peptides is desired.
Development of more precise semimetrics can also reduce the need of complicated scoring
algorithms. The design of better modifier functions for parametrised Hausdorff
distance opens possibilities for further research. Finally, the abilities of k-NN
query for non-metric search were presented.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Z.B.</given-names>
            <surname>Alfassi</surname>
          </string-name>
          .
          <article-title>On the normalization of a mass spectrum for comparison of two spectra</article-title>
          .
          <source>Journal of the American Society for Mass Spectrometry</source>
          , vol.
          <volume>15</volume>
          , issue 3, pp.
          <fpage>385</fpage>
          -
          <lpage>387</lpage>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>R.</given-names>
            <surname>Bayer</surname>
          </string-name>
          and
          <string-name>
            <given-names>E.M.</given-names>
            <surname>McCreight</surname>
          </string-name>
          .
          <article-title>Organization and Maintenance of Large Ordered Indices</article-title>
          .
          <source>Acta Inf.</source>
          , vol.
          <volume>1</volume>
          , pp.
          <fpage>173</fpage>
          -
          <lpage>189</lpage>
          .
          <year>1972</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>P.</given-names>
            <surname>Ciaccia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Patella</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.</given-names>
            <surname>Zezula</surname>
          </string-name>
          .
          <article-title>M-tree: An Efficient Access Method for Similarity Search in Metric Spaces</article-title>
          .
          <source>Proc. of 23rd Int. Conf. on VLDB</source>
          , pp.
          <fpage>426</fpage>
          -
          <lpage>435</lpage>
          .
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. V. Danˇc´ık, T.A.
          <string-name>
            <surname>Addona</surname>
            ,
            <given-names>K.R.</given-names>
          </string-name>
          <string-name>
            <surname>Clauser</surname>
            ,
            <given-names>J.E.</given-names>
          </string-name>
          <string-name>
            <surname>Vath</surname>
            and
            <given-names>P.A.</given-names>
          </string-name>
          <string-name>
            <surname>Pevzner. De Novo Peptide</surname>
          </string-name>
          <article-title>Sequencing via Tandem Mass Spectrometry</article-title>
          .
          <source>Journal of Computational Biology</source>
          , vol.
          <volume>6</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>327</fpage>
          -
          <lpage>342</lpage>
          .
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>D.</given-names>
            <surname>Dutta</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <article-title>Speeding up tandem mass spectrometry database search: metric embeddings and fast near neighbor search</article-title>
          .
          <source>Bioinformatics Oxford Journal</source>
          , vol.
          <volume>23</volume>
          , no.
          <issue>5</issue>
          , pp.
          <fpage>612</fpage>
          -
          <lpage>618</lpage>
          .
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>L.Y.</given-names>
            <surname>Geer</surname>
          </string-name>
          et al.
          <article-title>Open Mass Spectrometry Search Algorithm</article-title>
          .
          <source>Journal of Proteome Research</source>
          , vol.
          <volume>3</volume>
          , pp.
          <fpage>958</fpage>
          -
          <lpage>964</lpage>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>D.</given-names>
            <surname>Hoksza</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Skopal</surname>
          </string-name>
          .
          <article-title>Index-based approach to similarity search in protein and nucleotide databases</article-title>
          .
          <source>CEUR Proc. Dateso</source>
          <year>2007</year>
          , vol.
          <volume>235</volume>
          , pp.
          <fpage>67</fpage>
          -
          <lpage>80</lpage>
          .
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>D.F.</given-names>
            <surname>Hunt</surname>
          </string-name>
          et al.
          <article-title>Protein sequencing by tandem mass spectrometry</article-title>
          .
          <source>Proc. Nati. Acad. Sci. USA</source>
          , vol.
          <volume>83</volume>
          , pp.
          <fpage>6233</fpage>
          -
          <lpage>6237</lpage>
          .
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>N.C.</given-names>
            <surname>Jones</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.A.</given-names>
            <surname>Pevzner</surname>
          </string-name>
          .
          <article-title>An Introduction to Bioinformatics Algorithms</article-title>
          . MIT Press, Cambridge, Massachusetts.
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. A. Keller et al.
          <article-title>Experimental Protein Mixture for Validating Tandem Mass Spectral Analysis</article-title>
          .
          <source>Journal of Integrative Biology</source>
          , vol.
          <volume>6</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>207</fpage>
          -
          <lpage>212</lpage>
          .
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>B.</given-names>
            <surname>Lu</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Chen</surname>
          </string-name>
          .
          <article-title>A suffix tree approach to the interpretation of tandem mass spectra: applications to peptides of non-specific digestion and post-translational modifications</article-title>
          .
          <source>Bioinformatics Oxford Journal</source>
          , vol.
          <volume>19</volume>
          (
          <issue>Suppl</issue>
          . 2), pp.
          <fpage>113</fpage>
          -
          <lpage>121</lpage>
          .
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>12. MASCOT. http://www.matrixscience.com/.</mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <article-title>Mass Spectrometry Protein Sequence Database (MSDB)</article-title>
          . http://www.proteomics.leeds.ac.uk/bioinf/msdb.html.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14. E. Mortz et al.
          <article-title>Sequence tag identification of intact proteins by matching tandem mass spectral data against sequence data bases</article-title>
          .
          <source>Proc. Natl. Acad. Sci. USA</source>
          , vol.
          <volume>93</volume>
          , pp.
          <fpage>8264</fpage>
          -
          <lpage>8267</lpage>
          .
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>K.</given-names>
            <surname>Ning</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.K.</given-names>
            <surname>Ng</surname>
          </string-name>
          and
          <string-name>
            <given-names>H.W.</given-names>
            <surname>Leong</surname>
          </string-name>
          .
          <article-title>PepSOM: An Algorithm for Peptide Identification by Tandem Mass Spectrometry based on SOM</article-title>
          .
          <source>Genome Informatics</source>
          , vol.
          <volume>17</volume>
          , pp.
          <fpage>194</fpage>
          -
          <lpage>205</lpage>
          .
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16. J. Nov´ak and
          <string-name>
            <given-names>D.</given-names>
            <surname>Hoksza</surname>
          </string-name>
          .
          <article-title>An Application of the Metric Access Methods to the Mass Spectrometry Data</article-title>
          .
          <source>IEEE CIBCB</source>
          <year>2009</year>
          .
          <article-title>Nashville, TN, USA</article-title>
          .
          <source>ISBN 978-1- 4244-2756-7</source>
          , pp.
          <fpage>220</fpage>
          -
          <lpage>227</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>J.V.</given-names>
            <surname>Olsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Ong</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Mann</surname>
          </string-name>
          .
          <article-title>Trypsin Cleaves Exclusively C-terminal to Arginine and Lysine Residues</article-title>
          .
          <source>Molecular and Cellular Proteomics</source>
          , vol.
          <volume>3</volume>
          , pp.
          <fpage>608</fpage>
          -
          <lpage>614</lpage>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <given-names>G.A.</given-names>
            <surname>Petsko</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Ringe</surname>
          </string-name>
          .
          <article-title>Protein Structure and Function (Primers in Biology)</article-title>
          . New Science Press Ltd, London, UK.
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>19. ProteinProspector. http://prospector.ucsf.edu/.</mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>S.R.</given-names>
            <surname>Ramakrishnan</surname>
          </string-name>
          et al.
          <article-title>A fast coarse filtering method for peptide identification by mass spectrometry</article-title>
          .
          <source>Bioinformatics Oxford Journal</source>
          , vol.
          <volume>22</volume>
          , no.
          <issue>12</issue>
          , pp.
          <fpage>1524</fpage>
          -
          <lpage>1531</lpage>
          .
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21. R.G. Sadygov,
          <string-name>
            <given-names>D.</given-names>
            <surname>Cociorva</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.R. Yates</given-names>
            <surname>III</surname>
          </string-name>
          .
          <article-title>Large-scale database searching using tandem mass spectra: Looking up the answer in the back of the book</article-title>
          .
          <source>Nature Methods</source>
          , vol.
          <volume>1</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>195</fpage>
          -
          <lpage>202</lpage>
          .
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <article-title>Sashimi proteomics repository</article-title>
          . http://sashimi.sourceforge.net/repository.html.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>23. SEQUEST. http://fields.scripps.edu/sequest/.</mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <given-names>T.</given-names>
            <surname>Skopal</surname>
          </string-name>
          .
          <article-title>Unified Framework for Fast Exact and Approximate Search in Dissimilarity Spaces</article-title>
          .
          <source>ACM Transactions on Database Systems (TODS)</source>
          , vol.
          <volume>32</volume>
          , issue 4.
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25. E. Ukkonen.
          <article-title>On-line construction of suffix trees</article-title>
          .
          <source>Algorithmica</source>
          , vol.
          <volume>14</volume>
          , pp.
          <fpage>249</fpage>
          -
          <lpage>260</lpage>
          .
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>26. UNIMOD. http://www.unimod.org/.</mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Yang</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Chen. PepHMM: A Hidden Markov</surname>
          </string-name>
          <article-title>Model Based Scoring Function for Mass Spectrometry Database Search</article-title>
          .
          <source>Anal. Chem</source>
          ., vol.
          <volume>78</volume>
          , pp.
          <fpage>432</fpage>
          -
          <lpage>437</lpage>
          .
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28. P. Zezula,
          <string-name>
            <given-names>G.</given-names>
            <surname>Amato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Dohnal</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Batko</surname>
          </string-name>
          .
          <article-title>Similarity Search: The Metric Space Approach (Advances in Database Systems</article-title>
          ). Springer, New York, USA.
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>