<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.7428.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Method Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                    <subj-group>
                        <subject>Protein Chemistry &amp; Proteomics</subject>
                    </subj-group>
                    <subj-group>
                        <subject>Structural Genomics</subject>
                    </subj-group>
                    <subj-group>
                        <subject>Theory &amp; Simulation</subject>
                    </subj-group>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>Detecting &#x201c;protein words&#x201d; through unsupervised word segmentation</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 1 approved with reservations, 1 not approved]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Liang</surname>
                        <given-names>Wang</given-names>
                    </name>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Kaiyong</surname>
                        <given-names>Zhao</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Sogou Tech, Beijing, China</aff>
                <aff id="a2">
                    <label>2</label>Department of Computer Science, Hong Kong Baptist University, Hong Kong, Hong Kong</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:wangliang.f@gmail.com">wangliang.f@gmail.com</email>
                </corresp>
                <fn fn-type="con">
                    <p>Wang Liang designed the experiments, wrote the codes. Zhao Kaiyong prepared the experimental data and provided the biology knowledge supports.</p>
                </fn>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>30</day>
                <month>12</month>
                <year>2015</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2015</year>
            </pub-date>
            <volume>4</volume>
            <elocation-id>1517</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>10</day>
                    <month>12</month>
                    <year>2015</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2015 Liang W and Kaiyong Z</copyright-statement>
                <copyright-year>2015</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/4-1517/pdf"/>
            <abstract>
                <p>Unsupervised word segmentation methods were applied to analyze protein sequences. Protein sequences, such as &#x201c;MTMDKSELVQKA&#x2026;,&#x201d; were used as input to these methods. Segmented protein word sequences, such as &#x201c;MTM DKSE LVQKA,&#x201d; were then obtained. We compared the protein words derived via unsupervised segmentation and protein secondary structure segmentation. An interesting finding is that unsupervised word segmentation is more efficient than secondary structure segmentation in expressing information. Our experiment also suggests the presence of several &#x201c;protein ruins&#x201d; in current non-coding regions.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>Word segmentation</kwd>
                <kwd>Protein sequence</kwd>
                <kwd>Protein secondary structure</kwd>
                <kwd>Unsupervised method</kwd>
                <kwd>Soft counting</kwd>
                <kwd>Protein word</kwd>
                <kwd>Gene finding</kwd>
                <kwd>Description length</kwd>
            </kwd-group>
            <funding-group>
                <funding-statement>The authors declared that no grants were involved in supporting this work.</funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec sec-type="intro">
            <title>Introduction</title>
            <p>Word segmentation mainly refers to the process of dividing a string of written language into its component words. For some East Asian languages such as Chinese, no space or punctuation is placed between letters. The &#x201c;letter&#x201d; sequences must be segmented into word sequences to process the text of these languages. For example, &#x201c;iloveapple&#x201d; is segmented into &#x201c;I love apple.&#x201d;</p>
            <p>The main concept of the segmentation method is simple. For example, the letter sequence &#x201c;iloveapple&#x201d; can be segmented into many forms of word sequences, including &#x201c;I love apple,&#x201d; &#x201c;ilove apple,&#x201d; &#x201c;il ove apple,&#x201d; &#x201c;iloveapple,&#x201d; &#x201c;ilo vea pple,&#x201d; etc. We select the &#x201c;word sequences&#x201d; with the highest probability as the segmentation of this letter sequence. For example:</p>
            <p>P(&#x201c;I love apple&#x201d;) = 0.8</p>
            <p>P(&#x201c;ilove apple&#x201d;) = 0.3</p>
            <p>P(&#x201c;iloveapple&#x201d;) = 0.03</p>
            <p>Hence, we will select &#x201c;I love apple&#x201d; as the segmentation of letter sequence &#x201c;iloveapple.&#x201d;</p>
            <p>The probability of a word sequence is calculated by the probability of the multiplication of each word.</p>
            <p>For example:</p>
            <p>P(&#x201c;I love apple&#x201d;) = P(i) &#x00d7; P(love) &#x00d7; P(apple)</p>
            <p>P(&#x201c;ilove apple&#x201d;) = P(ilove) &#x00d7; P(apple)</p>
            <p>Therefore, the key to segmentation is determining the probability of each word.</p>
            <p>If we have many possible segmented sequences such as that for &#x201c;i love apple,&#x201d; then we can simply calculate the probability of each word by dividing the number of its occurrences by the number of occurrences of all the words. For example, we have two sequences, namely, &#x201c;i love apple&#x201d; and &#x201c;i love mac;&#x201d; that is, we have six word occurrences. &#x201c;i&#x201d; appears two times; thus, its probability P(&#x201c;i&#x201d;) = 2/6. &#x201c;apple&#x201d; appears one time; thus, its probability P(&#x201c;apple&#x201d;) = 1/6. This method is called supervised segmentation. For words such as &#x201c;ilove&#x201d; that do not appear in corpus, an extremely small probability is provided.</p>
            <p>
                <bold>If we have no segmented sequence but many letter sequences such as &#x201c;iloveapple,&#x201d; then we can still calculate the probability of all the possible words and develop the word segmentation method.</bold> The main concept of this method is described as follows.</p>
            <p>First, the random or equal probability of each possible word is provided. In general, we need to set a maximal word length. For example, for &#x201c;iloveapple,&#x201d; if we set four as the maximal word length, then possible words include &#x201c;ilov,&#x201d; &#x201c;love,&#x201d; &#x201c;ovea,&#x201d; etc.</p>
            <p>Second, given that we have the word list with probability, we can segment all the letter sequences into word sequences.</p>
            <p>Third, we calculate the new word probability according to the word sequences in the second step.</p>
            <p>We repeat the second and third steps until the probabilities of all the words reach a stable value. Then, we can use this word list with probability to segment letter sequences. This method is called unsupervised segmentation
                <sup>
                    <xref ref-type="bibr" rid="ref-1">1</xref>
                </sup>.</p>
            <p>The basic theory of word segmentation is depicted in 
                <xref ref-type="fig" rid="f1">Figure 1</xref>.</p>
            <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                <label>Figure 1. </label>
                <caption>
                    <p>
                        <bold>A</bold>. Supervised word segmentation. 
                        <bold>B</bold>. Unsupervised word segmentation.</p>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure1.gif"/>
            </fig>
            <p>For English text, the accuracy of supervised segmentation is over 95%. Meanwhile, the unsupervised segmentation method can reach approximately 75%. Supervised methods are better than unsupervised methods; however, unsupervised approaches are highly adaptive to relatively unfamiliar &#x201c;languages&#x201d; for which we do not have sufficient linguistic knowledge
                <sup>
                    <xref ref-type="bibr" rid="ref-2">2</xref>
                </sup>.</p>
            <p>Unsupervised segmentation can be described as &#x201c;inputting letter sequences and outputting meaningful word sequences.&#x201d; If the input is a protein sequence such as &#x201c;MTMDKSELVQKA&#x2026;,&#x201d; then what is the output? The answer to this question is the topic of this study.</p>
            <p>In the following sections, we will perform an unsupervised segmentation of protein sequences. Identifying the functional equivalents of words in protein sequences is a fundamental problem in bioinformatics. The elements of protein secondary structure are generally regarded as the functional building blocks of protein sequences. Therefore, we compare our &#x201c;protein word&#x201d; sequences and related secondary structure segmentation in Section 3. We find our &#x201c;protein word segmentation&#x201d; to be a better encoding method than secondary structure segmentation in terms of expressing information. We discuss this confusing result in Section 4. The last section provides a short summary of the study.</p>
        </sec>
        <sec>
            <title>Word segmentation experiment</title>
            <p>The soft-counting method is a representative unsupervised segmentation method; it uses the standard expectation&#x2013;maximization algorithm to estimate the probability of any possible substring
                <sup>
                    <xref ref-type="bibr" rid="ref-1">1</xref>
                </sup>. This operation produces a vocabulary with probability. To segment a sequence, a Viterbi-style algorithm is then applied to search for the segmentations with the highest probabilities.</p>
            <p>Unsupervised segmentation methods require only raw letter sequences. In this study, we use amino acid letter sequences. Data are selected from the Protein Data Bank (PDB, 
                <ext-link ext-link-type="uri" xlink:href="http://www.rcsb.org/pdb/">http://www.rcsb.org/pdb/</ext-link>) structure database. The PDB database contains approximately 100,000 protein sequences. These sequences are used as input in the unsupervised segmentation method. Thus, we obtain:</p>
            <p>
                <bold>Definition 1</bold>: 
                <bold>&#x201c;protein word,&#x201d;</bold> the segments produced by a word segmentation method.</p>
            <p>Unsupervised segmentation only requires selecting a maximal word length. In this study, we set nine as the maximal protein word length. This value can be adjusted according to data size.</p>
            <p>Approximately 26 million possible protein words are included in our data. Frequency and border information features are used to filter these words
                <sup>
                    <xref ref-type="bibr" rid="ref-3">3</xref>&#x2013;
                    <xref ref-type="bibr" rid="ref-6">6</xref>
                </sup>. After performing the soft-counting method for these protein sequences, we obtain a final protein vocabulary with approximately 630,598 words. We can then use this vocabulary with word probability to segment protein sequences. An example of protein word segmentation is shown as follows.</p>
            <p>Original protein sequence:</p>
            <p>
                <bold>DADLAKKNNCIACHQVETKVVGPALKDIAAKYADKDDAATYLAGKIKGGSSGVWGQI PMPPNVNVSDADAK LADWILTLK</bold>
            </p>
            <p>Corresponding segmented protein word sequence:</p>
            <p>
                <bold>D ADLAKK NNCI ACH QVET KV VGPAL KDIAAK YADK D DAATYL AGKIK GGSSGV WGQI PMPPN VNVSD ADAKA LADWI LTLK</bold>
            </p>
        </sec>
        <sec>
            <title>Comparison with secondary structure segmentation</title>
            <p>In most human language texts, the output of segmentation is a meaningful word sequence. As expected, the same is true for a protein sequence. We compare a protein word sequence with the elements of protein secondary structure, which act as the functional building blocks of a protein.</p>
            <p>Protein secondary structure mainly refers to the local conformation of the polypeptide backbone of proteins that is frequently and discretely classified into a few states. Word segmentation is highly similar to the protein secondary structure assignment process. For protein sequences, such as &#x201c;MTMDKSELVQKA,&#x201d; the corresponding consecutive amino acids of the same secondary structure can also be regarded as a structure word. This process can be called secondary structure segmentation (
                <xref ref-type="fig" rid="f2">Figure 2</xref>). A total of 437,537 distinct structure words are included in our data set.</p>
            <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                <label>Figure 2. </label>
                <caption>
                    <title>Secondary structure segmentation.</title>
                    <p>A protein sequence is segmented by its secondary structure. The sequence in this figure has three secondary structure words: &#x201c;MTM,&#x201d; &#x201c;DKSEL,&#x201d; and &#x201c;VQKA.&#x201d;</p>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure2.gif"/>
            </fig>
            <p>
                <bold>Definition 2</bold>: 
                <bold>&#x201c;structure word,&#x201d;</bold> the protein segments produced by secondary structure segmentation.</p>
            <p>Segmentation performance is generally evaluated using the boundary F-score measure, F = 2RP/(R + P). Recall R is the proportion of the correctly recognized word boundaries to all boundaries in the gold standard; precision P is an output of the word segmentation of a segmenter. In this study, we use structure segmentation as the gold standard (
                <xref ref-type="fig" rid="f3">Figure 3</xref>).</p>
            <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                <label>Figure 3. </label>
                <caption>
                    <title>Evaluation of word segmentation.</title>
                    <p>For this example, the precision is 1/33 &#x2248; 3% and recall is 1/2 = 50%. The F-score is 2 &#x00d7; 0.33 &#x00d7; 0.5/(0.33 + 0.5) &#x2248; 39.8%.</p>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure3.gif"/>
            </fig>
            <p>For the soft-counting method, boundary precision is 39.9%, boundary recall is 28.0%, and the boundary F-score is 32.9%. A segmentation example is provided in 
                <xref ref-type="fig" rid="f4">Figure 4</xref>.</p>
            <fig fig-type="figure" id="f4" orientation="portrait" position="float">
                <label>Figure 4. </label>
                <caption>
                    <title>Structure segmentation and word segmentation of a protein sequence.</title>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure4.gif"/>
            </fig>
            <p>The boundary F-score is approximately 85% for unsegmented English text using the soft-counting method. For Chinese text, the boundary F-score is approximately 80%. For protein word segmentation, however, such value is only 32.9%. Therefore, protein word segmentation is different from secondary structure segmentation. This result does not satisfy our expectation. We will analyze the differences in the next section.</p>
        </sec>
        <sec>
            <title>Encoding efficiency of segmentation</title>
            <p>As a basic statistical feature, word occurrence distribution may explain the differences between the two kinds of segmentation.</p>
            <p>In a typical English data set, if we regard the top 10% frequency words in vocabulary as high-frequency words, then the occurrences of these words generally account for approximately 90% of all the letters in the data set. For low-frequency words, for example, 1-frequency (only appear once) words account for approximately 50% of all the words in vocabulary; however, their occurrences only account for approximately 1% of the letters of the entire corpus. This law holds true for most human languages. It is also a fundamental assumption in most unsupervised segmentation methods. The related values of soft-counting segmentation and secondary structure segmentation are provided in 
                <xref ref-type="table" rid="T1">Table 1</xref>.</p>
            <table-wrap id="T1" orientation="portrait" position="anchor">
                <label>Table 1. </label>
                <caption>
                    <title>Word occurrence distribution.</title>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th colspan="1" rowspan="1"/>
                            <th align="left" colspan="1" rowspan="1">Letter percentage of
                                <break/>high-frequency words
                                <break/>in the data set</th>
                            <th align="left" colspan="1" rowspan="1">Letter percentage of
                                <break/>low-frequency words
                                <break/>in the data set</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td colspan="1" rowspan="1">English text</td>
                            <td colspan="1" rowspan="1">80%</td>
                            <td colspan="1" rowspan="1">3%</td>
                        </tr>
                        <tr>
                            <td colspan="1" rowspan="1">Soft-counting
                                <break/>segmentation</td>
                            <td colspan="1" rowspan="1">34%</td>
                            <td colspan="1" rowspan="1">4%</td>
                        </tr>
                        <tr>
                            <td colspan="1" rowspan="1">Structure
                                <break/>segmentation</td>
                            <td colspan="1" rowspan="1">40%</td>
                            <td colspan="1" rowspan="1">58%</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>Based on 
                <xref ref-type="table" rid="T1">Table 1</xref>, secondary structure segmentation appears to be &#x201c;inefficient&#x201d; primarily because its vocabulary contains too many low-frequency words. We can use &#x201c;description length (DL)&#x201d; to describe the efficiency of segmentation
                <sup>
                    <xref ref-type="bibr" rid="ref-7">7</xref>
                </sup>. The segmentation process can be regarded as an encoding process that replaces the letters of a word with related word symbols. A codebook, in which each word is represented by a unique string, can be used to encode a corpus of words as efficiently as possible. The total number of letters required to encode the corpus (i.e., the sum of the lengths of the codebook and the encoded corpus) that uses a well-designed codebook/vocabulary will be less than that for the original corpus. Smaller units, such as morphemes or phonemes, which require fewer code words, and thus, a shorter codebook, can be encoded further. However, efficiently encoding the corpus becomes increasingly difficult as the number of code words used decreases. Meanwhile, some words may never be used when the codebook has too many words. Thus, the length of the codebook and the length of the encoded corpus must be balanced. The DL principle states that a codebook that results in the shortest total combined length must be selected. Therefore DL can be used to describe segmentation efficiency.</p>
            <p>The DL values of structure segmentation and soft-counting segmentation are provided in 
                <xref ref-type="fig" rid="f5">Figure 5</xref>.</p>
            <fig fig-type="figure" id="f5" orientation="portrait" position="float">
                <label>Figure 5. </label>
                <caption>
                    <title>DL values of structure segmentation and soft-counting segmentation.</title>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure5.gif"/>
            </fig>
            <p>From 
                <xref ref-type="fig" rid="f5">Figure 5</xref>, we can determine that the entire DL of structure segmentation is more than that of soft-counting segmentation. In structure segmentation, approximately 45% of the DL value is used for vocabulary. In soft-counting segmentation, such value is only 16%. Structure segmentation designs a large codebook, but only a few of its capabilities are used. Thus, secondary structure segmentation may not be a good encoding method. Two opposing explanations may explain this result.</p>
            <p>First, current structure segmentation is really inefficient. Therefore, we can find a different structure assignment method whose structure segments can express the functions of genes better. Our data set uses the DSSP secondary structure definition. We also try other kinds of secondary structure definitions such as STRIDE
                <sup>
                    <xref ref-type="bibr" rid="ref-8">8</xref>
                </sup>, but we obtain similar low efficiency segmentation.</p>
            <p>Second, the structure segmentation scheme is truly efficient. Given that the segmentation method is appropriate, some problems may exist in the data set. A highly common problem in the data set construction process is the unbalanced data problem. For example, if we only select several paragraphs of a long book to build a data set, then this problem will occur.</p>
            <p>We develop the experimental data by filtering similar protein sequences in PDB. The PDB protein data can also be regarded as randomly selected from all available protein data. No obvious problem is observed in our data construction process. Hence, if our data set is unbalanced, then all current protein data are unbalanced. If yes, then more protein words are present in current non-coding regions. For example, several short DNA regions can be translated into protein words; however, such protein words that cover a region may not comply with the strict definition of a protein sequence. Therefore, we have:</p>
            <p>
                <bold>Definition 3</bold>: 
                <bold>&#x201c;protein word coverage region,&#x201d;</bold> the DNA region that can be translated into protein words.</p>
            <p>We can also detect a protein word coverage region using segmentation methods. We back-translate the protein words into DNA forms and obtain a DNA vocabulary. Then, we can use this vocabulary to segment DNA sequences using supervised segmentation methods. For example, a DNA sequence &#x201c;ATGGTTTTGTGTCTTGAGGGT&#x201d; is segmented as 
                <xref ref-type="fig" rid="f6">Figure 6</xref>.</p>
            <fig fig-type="figure" id="f6" orientation="portrait" position="float">
                <label>Figure 6. </label>
                <caption>
                    <title>Segment DNA sequence based on a protein word vocabulary.</title>
                    <p>The green parts can be translated into protein words. The red parts cannot be translated. (Note: This sequence is not a protein sequence. Only some regions can be covered by &#x201c;protein words&#x201d;).</p>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure6.gif"/>
            </fig>
            <p>The following is a typical example of DNA sequence segmentation:</p>
            <p>
                <styled-content style="#00B050" style-type="color">TTGTGG</styled-content> 
                <styled-content style="#FF0000" style-type="color">G</styled-content> 
                <styled-content style="#00B050" style-type="color">TTGTCTATTGATGTT TTTGGT</styled-content> 
                <styled-content style="#FF0000" style-type="color">C</styled-content> 
                <styled-content style="#00B050" style-type="color">TATTCTAAG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A A</styled-content> 
                <styled-content style="#00B050" style-type="color">TTGGAG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">GAG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">GAGGTT</styled-content> 
                <styled-content style="#FF0000" style-type="color">A A</styled-content> 
                <styled-content style="#00B050" style-type="color">AAT</styled-content> 
                <styled-content style="#FF0000" style-type="color">C</styled-content> 
                <styled-content style="#00B050" style-type="color">TCT</styled-content> 
                <styled-content style="#FF0000" style-type="color">G</styled-content> 
                <styled-content style="#00B050" style-type="color">ACT</styled-content> 
                <styled-content style="#00B050" style-type="color">ATG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">TTGTGG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">TTGTCT GCTGAT GTT TTTGGT</styled-content> 
                <styled-content style="#FF0000" style-type="color">C</styled-content> 
                <styled-content style="#00B050" style-type="color">TATTGTTCT AAGAAT TGG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">GAG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">GAG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">GAGGTT</styled-content> 
                <styled-content style="#FF0000" style-type="color">A A A A</styled-content> 
                <styled-content style="#00B050" style-type="color">TCT</styled-content> 
                <styled-content style="#FF0000" style-type="color">C C G</styled-content> 
                <styled-content style="#00B050" style-type="color">ACT ATG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">TTGTGG</styled-content> 
                <styled-content style="#FF0000" style-type="color">A</styled-content> 
                <styled-content style="#00B050" style-type="color">TTGTCT ATTGCTGTTTTT GGT</styled-content> 
                <styled-content style="#FF0000" style-type="color">C</styled-content> 
                <styled-content style="#00B050" style-type="color">TATTGTTCT AAGAAT</styled-content>.</p>
            <p>This sequence is part of &#x201c;gi|157704448|ref|AC_000133.1| 
                <italic toggle="yes">Homo sapiens</italic> chromosome 1, alternate assembly HuRef, whole genome shotgun sequence:307501-308000.&#x201d; The green segments can be translated into &#x201c;protein words.&#x201d; Although 87% of the region of this sequence is a protein word coverage region, no distinct intron, exon, and stop codon is found. Hence, such sequence cannot be regarded as a coding sequence.</p>
            <p>We use the human genome to judge whether the data imbalance can be improved by adding all the protein word coverage regions. The genome is divided into 500 bps equal-length sequences. We use two vocabularies, namely, soft-counting word vocabulary and secondary structure word vocabulary, to segment the aforementioned DNA sequences. Then, we calculate their DL individually. The results are presented in 
                <xref ref-type="fig" rid="f7">Figure 7</xref>.</p>
            <fig fig-type="figure" id="f7" orientation="portrait" position="float">
                <label>Figure 7. </label>
                <caption>
                    <title>DL values of structure segmentation and soft-counting segmentation.</title>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure7.gif"/>
            </fig>
            <p>We determine that the two kinds of segmentation methods have similar DL values. Then, we convert all the DNA protein word coverage regions into protein word sequences. These sequences are regarded as gold standard segmentation. Then, we delete the space between words and perform unsupervised segmentation test again. Boundary precision reaches 67%, boundary recall reaches 60%, and the boundary F-score reaches 63%. These results concur with our conjecture. Adding protein word coverage regions can address the data imbalance and improve structure segmentation efficiency.</p>
            <p>The distribution of protein word coverage regions is shown in 
                <xref ref-type="fig" rid="f8">Figure 8</xref>.</p>
            <fig fig-type="figure" id="f8" orientation="portrait" position="float">
                <label>Figure 8. </label>
                <caption>
                    <title>Distribution of the protein word coverage sequence in 
                        <italic toggle="yes">Homo sapiens</italic> chromosome 1.</title>
                    <p>For example, DNA sequences whose percentage of protein word encoding region is within [0.6, 0.7] are approximately 75%.</p>
                </caption>
                <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/8005/8380d8d6-7778-4364-ae7e-d49341ab6fc5_figure8.gif"/>
            </fig>
            <p>We determine that approximately 16% of the DNA sequences have a &#x201c;protein word coverage region&#x201d; percentage of over 70%. Among these sequences, only approximately 10% are actual gene areas, the remaining sequences may be regarded as protein ruins, which may be abandoned in evolution.</p>
        </sec>
        <sec sec-type="conclusions">
            <title>Conclusion</title>
            <p>We use protein sequences as input to perform a word segmentation test. As expected, the output is several meaningful protein word sequences. Thus, we compare them with secondary structure segments, which are generally regarded as the basic functional blocks of a protein. However, we determine that the two kinds of segmentation methods are different. Subsequently, we use DL to analyze their difference and determine that word segmentation is more efficient than structure segmentation. This result is irrational. We suppose that this problem is mainly caused by the data imbalance. That is, the gene is similar to a large book and current protein sequences are only several paragraphs in this book. Our DNA segmentation experiments also support this conjecture.</p>
            <p>Overall, &#x201c;protein word&#x201d; and &#x201c;protein word coverage region&#x201d; may have no biological meaning. Word segmentation is a fundamental technology in processing Chinese and other languages without space or punctuation between words, similar to that of protein sequences. Word segmentation is the preliminary step in search engine systems, translation systems, and proofreading systems, etc. The main objective of this study is to inspire new ideas that apply these technologies in analyzing protein sequences. Word segmentation simply acts as a bridge.</p>
        </sec>
        <sec>
            <title>Data and software availability</title>
            <sec>
                <title>Protein data</title>
                <p>Unsupervised segmenting methods only need raw letter sequence. We mainly use the data of PDB (
                    <ext-link ext-link-type="uri" xlink:href="http://www.rcsb.org/pdb/">http://www.rcsb.org/pdb/</ext-link>) as our experiment data. This dataset contains about 100,000 pieces of protein sequences. We use CD-HIT algorithms to delete the similar protein sequence. The code is available from: 
                    <ext-link ext-link-type="uri" xlink:href="http://weizhong-lab.ucsd.edu/cd-hit/download.php">http://weizhong-lab.ucsd.edu/cd-hit/download.php</ext-link>.</p>
            </sec>
            <sec>
                <title>Instructions and source code</title>
                <p>Latest source code and experimental instructions: 
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/maris205/secondary_structure_detection">https://github.com/maris205/secondary_structure_detection</ext-link>
                </p>
                <p>Archived source code as at the time of publication: 
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5281/zenodo.34663">http://dx.doi.org/10.5281/zenodo.34663</ext-link>
                    <sup>
                        <xref ref-type="bibr" rid="ref-9">9</xref>
                    </sup>
                </p>
                <p>License: MIT (
                    <ext-link ext-link-type="uri" xlink:href="http://opensource.org/licenses/MIT">http://opensource.org/licenses/MIT</ext-link>)</p>
            </sec>
        </sec>
    </body>
    <back>
        <ref-list>
            <ref id="ref-1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Ge</surname>
                            <given-names>X</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Prat</surname>
                            <given-names>W</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Smyth</surname>
                            <given-names>P</given-names>
                        </name>
					</person-group>:
                    <article-title>Discovering Chinese words from unsegmented text.</article-title>
                    <source>
						
                        <italic toggle="yes">Proceedings on the 22 Annual International ACM SIGIR Conference On Research and Development in Information Retrieval.</italic>
					</source>USA,<year>1999</year>;<fpage>271</fpage>&#x2013;<lpage>272</lpage>.
                    <pub-id pub-id-type="doi">10.1145/312624.313472</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Wang</surname>
                            <given-names>H</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Zhu</surname>
                            <given-names>J</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Tang</surname>
                            <given-names>S</given-names>
                        </name>
						
                        <etal/>
					</person-group>:
                    <article-title>A new unsupervised approach to word segmentation.</article-title>
                    <source>
						
                        <italic toggle="yes">Comput Linguist.</italic>
					</source>
                    <year>2011</year>;<volume>37</volume>(<issue>3</issue>):<fpage>421</fpage>&#x2013;<lpage>454</lpage>.
                    <pub-id pub-id-type="doi">10.1162/COLI_a_00058</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Cohen</surname>
                            <given-names>P</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Adams</surname>
                            <given-names>N</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Heeringa</surname>
                            <given-names>B</given-names>
                        </name>
					</person-group>:
                    <article-title>Voting Experts: An unsupervised algorithm for segmenting sequences.</article-title>
                    <source>
						
                        <italic toggle="yes">Intell Data Anal.</italic>
					</source>
                    <year>2007</year>;<volume>11</volume>(<issue>6</issue>):<fpage>607</fpage>&#x2013;<lpage>625</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://dl.acm.org/citation.cfm?id=1368021">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Hewlett</surname>
                            <given-names>D</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Cohen</surname>
                            <given-names>P</given-names>
                        </name>
					</person-group>:
                    <article-title>Word segmentation as general Chunking.</article-title>
                    <source>
						
                        <italic toggle="yes">Proceedings of the Fifteenth Conference on Computational Natural Language Learning,</italic>
					</source>USA.<year>2011</year>;<fpage>39</fpage>&#x2013;<lpage>47</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://dl.acm.org/citation.cfm?id=2018941">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Zhao</surname>
                            <given-names>H</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Kit</surname>
                            <given-names>C</given-names>
                        </name>
					</person-group>:
                    <article-title>Exploiting unlabeled text with different unsupervised segmentation criteria for Chinese word segmentation.</article-title>
                    <source>
						
                        <italic toggle="yes">Proceedings of the Conference on Empirical Methods in Natural Language Processing</italic>,
					</source>Israel.<year>2008</year>;<fpage>17</fpage>&#x2013;<lpage>23</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://www.cicling.org/2008/RCS-vol-33/08-Zhao.pdf">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Zhao</surname>
                            <given-names>H</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Kit</surname>
                            <given-names>C</given-names>
                        </name>
					</person-group>:
                    <article-title>An empirical comparison of goodness measures for unsupervised Chinese word segmentation with a unified framework.</article-title>
                    <source>
						
                        <italic toggle="yes">The Third International Joint Conference on Natural Language Processing</italic>,
					</source>India.<volume>1</volume>:<year>2008</year>;<fpage>9</fpage>&#x2013;<lpage>16</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://www.aclweb.org/anthology/I08-1002">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Kit</surname>
                            <given-names>C</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Wilks</surname>
                            <given-names>Y</given-names>
                        </name>
					</person-group>:
                    <article-title>Unsupervised learning of word boundary with description length gain.</article-title>
                    <source>
						
                        <italic toggle="yes">CoNLL,</italic>
					</source>Norway.<year>1999</year>;<fpage>1</fpage>&#x2013;<lpage>6</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.43.8407">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Zhang</surname>
                            <given-names>W</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Dunker</surname>
                            <given-names>AK</given-names>
                        </name>
						
                        <name name-style="western">
                            <surname>Zhou</surname>
                            <given-names>Y</given-names>
                        </name>
					</person-group>:
                    <article-title>Assessing secondary structure assignment of protein structures by using pairwise sequence-alignment benchmarks.</article-title>
                    <source>
						
                        <italic toggle="yes">Proteins.</italic>
					</source>
                    <year>2008</year>;<volume>71</volume>(<issue>1</issue>):<fpage>61</fpage>&#x2013;<lpage>7</lpage>.
                    <pub-id pub-id-type="pmid">17932927</pub-id>
                    <pub-id pub-id-type="doi">10.1002/prot.21654</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">
						
                        <name name-style="western">
                            <surname>Liang</surname>
                            <given-names>W</given-names>
                        </name>
					</person-group>:
                    <article-title>Detecting &#x201c;protein words&#x201d; through unsupervised word segmentation: First release.</article-title>
                    <source>
						
                        <italic toggle="yes">Zenodo.</italic>
					</source>
                    <year>2015</year>.
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5281/zenodo.34663">Data Source</ext-link>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report12977">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.8005.r12977</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Klein-Seetharaman</surname>
                        <given-names>Judith</given-names>
                    </name>
                    <xref ref-type="aff" rid="r12977a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r12977a1">
                    <label>1</label>Division of Metabolic and Vascular Health, Warwick Medical School, University of Warwick, Coventry, UK</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>21</day>
                <month>3</month>
                <year>2016</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2016 Klein-Seetharaman J</copyright-statement>
                <copyright-year>2016</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport12977" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.7428.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>reject</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>This is an interesting article and approach, but the results presented are too preliminary to assess how useful this approach may be for biologists. The title is fine but the abstract is not sufficient and reflects the deficiencies of the paper. While the idea is interesting and could potentially lead to discovery of new &#x201c;words&#x201d; in protein sequences, in its current state, the paper is restricted entirely on the language aspects. There is no expert knowledge on protein sequence/structure/bioinformatics that has gone into the design of the study or the analysis of the results. There are no references at all on prior work on this topic and the methods are described in too brief format. For example, when were the 100,000 sequences downloaded from pdb and does this represent all sequences. What secondary structure elements were included from DSSP/Stride? What cut-off was used to arrive at the reduced dataset, and how many protein sequences were included in the final data analysed?</p>
            <p>While it is reasonable to compare unsupervised protein words with secondary structure elements, it does not make sense to assume that the boundaries have to be fixed. In protein structures, the exact boundaries are not precise and that contributes to difficulties in further improvement on accuracy of secondary structure prediction. Furthermore, there are differences between the types of boundaries predicted, so discovery of a coil-helix versus a coil-sheet would have different error rates. Secondary structures are only one type of segmentation, there is others such as protein interaction recognition elements, enzyme active sites, posttranslational modification indicators etc that also carry &#x201c;meaning&#x201d; as a &#x201c;word&#x201d;.&#x00a0; Last but not least, the paper neglects the contributions of tertiary structure in the definition of meaning in biology. All of these issues are much more likely to contribute to the low performance than the speculation on data imbalance. Of course, the pdb structure dataset is extremely imbalanced, and this is noted wrongly in the text that &#x201c;all current protein data are unbalanced&#x201d;. The proteins in the pdb are a very biased subset of proteins that crystallize, thus highly over representing small soluble proteins.</p>
            <p>Reviewer Expertise:</p>
            <p>NA</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to state that I do not consider it to be of an acceptable scientific standard, for reasons outlined above.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report12078">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.8005.r12078</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Banerjee</surname>
                        <given-names>Rahul</given-names>
                    </name>
                    <xref ref-type="aff" rid="r12078a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r12078a1">
                    <label>1</label>Crystallography and Molecular Biology Division, Saha Institute of Nuclear Physics, Kolkata, India</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>1</day>
                <month>2</month>
                <year>2016</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2016 Banerjee R</copyright-statement>
                <copyright-year>2016</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport12078" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.7428.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors have applied unsupervised word segmentation methods to protein sequences which in itself is a very novel undertaking and&#x00a0; overall the manuscript is well written. However there are some outstanding points which the authors could consider to improve the quality of the manuscript.
                <list list-type="order">
                    <list-item>
                        <p>Some justification should be provided as to why 9 was selected as the maximal protein word length. How are the results affected as a function of maximal word length.</p>
                    </list-item>
                    <list-item>
                        <p>On page 3, the authors write 'In human language texts, the output of segmentation is a meaningful word sequence. As expected, the same is true for a protein sequence.'</p>
                        <p>It is not clear what the authors mean by 'meaningful' in the case of protein sequences. What kind of 'meaning' do the authors expect on applying an ostensibly linguistic method to protein sequences.</p>
                    </list-item>
                    <list-item>
                        <p>Again on the same page the authors note that 'word segmentation is highly similar to the protein secondary structure assignment process.'&#x00a0; Secondary structural assignment in proteins is based on the successive values of the main chain phi,psi angles and the hydrogen bonding patterns. The authors however could mean the propensity based assignment of secondary structure in case of protein structure prediction which is known to be inaccurate, the propensities being estimated from appropriate databases. Although the authors cite back references (3-6)&#x00a0; how the structural segmentation was performed should be discussed in much greater detail in the present manuscript.</p>
                    </list-item>
                    <list-item>
                        <p>If the structural segmentation was performed on the basis of actual secondary structure present in a protein (phi,psi and hydrogen bonding pattern) then there does not appear to be any connection between the two processes of segmentation, in terms of word and structure. So they should naturally be expected to be different. On fails to understand the contrary&#x00a0; expectations of the authors when they note on page 4 ,'Therefore, protein word segmentation is different from secondary structure segmentation. This result does not satisfy our expectation'.</p>
                    </list-item>
                    <list-item>
                        <p>On should also note&#x00a0; that identical sequences have been known to adopt variable secondary structures in proteins due to other factors such as tertiary contacts and its position with respect to the rest of the polypeptide chain. How does this fact reflect on the overall results of the manuscripts? Therefore although the work concerns a novel implementation of the word segmentation method in the context of protein sequences, some of the 'expectations' and interpretations of the authors possibly require greater clarity or stronger justification. &#x00a0;</p>
                    </list-item>
                </list>
            </p>
            <p>Reviewer Expertise:</p>
            <p>NA</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
    </sub-article>
</article>
