<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yi Hsiao on Medium]]></title>
        <description><![CDATA[Stories by Yi Hsiao on Medium]]></description>
        <link>https://medium.com/@hsiaoyi?source=rss-4a1477f235d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0MNI_mJtFOIu30d1nkUNJQ.png</url>
            <title>Stories by Yi Hsiao on Medium</title>
            <link>https://medium.com/@hsiaoyi?source=rss-4a1477f235d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 09:00:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hsiaoyi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A New Proteomics Dataset Search Engine]]></title>
            <link>https://medium.com/@hsiaoyi/a-new-proteomics-dataset-search-engine-320d63aeb08e?source=rss-4a1477f235d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/320d63aeb08e</guid>
            <category><![CDATA[information-retrieval]]></category>
            <category><![CDATA[search-engines]]></category>
            <category><![CDATA[bm25]]></category>
            <category><![CDATA[proteomics]]></category>
            <dc:creator><![CDATA[Yi Hsiao]]></dc:creator>
            <pubDate>Wed, 15 Dec 2021 01:16:36 GMT</pubDate>
            <atom:updated>2021-12-17T06:46:47.196Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>TL;DR We built a new proteomics dataset search engine for better accessibility of proteomics datasets and tried to support proteogenomics research.</blockquote><p>Authors: <a href="https://hsiaoyi0504.js.org/">Yi Hsiao</a>, Pai-Kai Cheng</p><h3><strong>Introduction</strong></h3><p>As a proteomics or bioinformatics practitioner, you might have heard of <a href="http://proteomecentral.proteomexchange.org/cgi/GetDataset">ProteomeXchange</a> before. It’s a database that aims to standardize data submission and dissemination of public MS proteomics data worldwide. You can find open datasets and integrate them into your own research, especially right now we are in an era where we think proteomics is the next step in the study of biological systems such as <a href="https://www.cell.com/cell/fulltext/S0092-8674(21)00285-3">cancer</a> after genomics and transcriptomics. An <a href="https://www.forbes.com/sites/stephenmcbride1/2021/06/23/proteomics-the-next-truly-massive-investing-opportunity/?sh=b177f993f4b2">article</a> from Forbes even described proteomics as the next truly massive investing opportunity. However, if you use it pretty often, you might find its search engine is not perfect. Quite often, you can’t find the items you are confident that they should be there. The issue is because, in the ProteomeXchange search engine, it only looks up if the query is in the title or not. It basically doesn’t even consider the description of the dataset. To solve this problem, we created a new search engine in our SI650/EECS549 final project. Let us check it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/0*uMEV8stmxEJL8j6B" /><figcaption>Source: <a href="https://memegenerator.net/instance/58025909/the-most-interesting-man-in-the-world-i-dont-always-do-proteomics-but-when-i-do-i-always-make-sure-i">Meme Generator</a></figcaption></figure><h3><strong>Data</strong></h3><p>Since we tried to propose an improved version of ProteomeXchange, we crawled the records in ProteomeXchange through <a href="https://docs.python-requests.org/en/latest/">Requests</a> and parsed them through <a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/">BeautifulSoup</a>. In the end, we got 17722 records. The word cloud below basically describes what kind of words are used in these records. You can see that terms such as proteome, mass spectrometry, and protein are commonly used and that’s what we expect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*4LmigcmKL_DZ44NC" /><figcaption>Word cloud of the document corpus of the title plus description</figcaption></figure><p>After some preprocessing steps, we converted them into a CSV file and <a href="https://jsonlines.org/">JSON Lines</a> to build our inverted index system, which will be used in our search engine.</p><p>To systematically evaluate our results, we also manually annotated some data. We have 21 queries in total. Each query is annotated with at least 10 documents and corresponding relevance scores. That results in 315 entries of data in total. The following screenshot shows how the annotated data looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-4CjqncFk5NrPXqF" /><figcaption>How we annotate the data</figcaption></figure><h3><strong>Methods</strong></h3><p>We use <a href="https://github.com/castorini/pyserini">Pyserini</a>, a Python library that helps us access <a href="https://lucene.apache.org/">Apache Lucene</a>, a powerful search and indexing Java open-source project to build our search engine. We used the micro web framework <a href="https://flask.palletsprojects.com/">Flask</a> in Python for the website since we don’t have many different pages and complex routing logic.</p><p>In terms of the core searching mechanisms, we first implemented the <a href="https://en.wikipedia.org/wiki/Okapi_BM25">BM25</a> — a classical search algorithm. Then, we tried different strategies to further improve the performance, including tuning BM25 parameters, RM3 query expansion, giving different weights to title and description sections, named entity recognition, and transformer-based methods.</p><h3><strong>Results and Discussion</strong></h3><p>Even with the baseline BM25 strategy, we are able to improve the search performance. Let us use DIA-NN as an example query. The result from ProteoXchange shows only 2 entries. On the other hand, the result from our search engine has more than 4 entries. As you can see, our result also doesn’t need to include the keyword (DIA-NN) in the title. If you click the second entry (PXD026600) from our result, you can also see that DIA-NN is being mentioned several times in its description.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BVag2hJ_JXpUGg5fPlo3VA.jpeg" /><figcaption>Search result from PreoteomeXchange using DIA-NN as the query</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W7lMCqgYXD9HQk3dPsMZ1g.jpeg" /><figcaption>Our result using DIA-NN as the query</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GWkrGxoqrW4cmzqcfJuvsQ.jpeg" /><figcaption>The entry from our search result did have DIA-NN in their dataset description</figcaption></figure><p>Overall, our final model got an <a href="https://en.wikipedia.org/wiki/Discounted_cumulative_gain">NDCG</a> score of 0.737 using a weighted scheme, RM3 query expansion, and without stemming. In contrast, the original ProteomeXchange search engine scored less than 0.6 and our baseline model scored 0.674.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ATzUCIfZhYYDyRJvxdeU4Q.png" /><figcaption>Detailed table for our performance evaluation</figcaption></figure><p>Additionally, we also tried to include related datasets to the original record. It’s a minor feature, but it’s quite helpful when you want to find the datasets from the same publication. You don’t need to do several searches on ProteomeXchange to find them!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p_vSKDd6pQclKSz3CURmCg.jpeg" /><figcaption>We also added the related datasets into each page of records</figcaption></figure><p><strong>What’s next?</strong></p><p>Although we have made some progress so far, we did think our project could be even better. We are not able to achieve the following things, but we are confident that these enhancements could be made if we have additional time to work on them.</p><p>Generally speaking, Pyserini is a sound library, but when we want to customize our ranking functions like giving different weightings for the title and description, we need to use a pretty <em>ad-hoc </em>method by duplicating the text in the title before indexing. It might be worth using <a href="https://pyterrier.readthedocs.io/en/latest/">PyTerrier</a> we used earlier in other projects. It will open up many more different strategies to do the scoring.</p><p>Although we tried using transformer-based models to rerank our searching results through <a href="http://pygaggle/">PyGaggle</a>, it didn’t improve our performance probably because the corpus used in biomedical documents is different from other literature in nature. Generally, we still believe that we could gain some performance improvement through transformer-based models, but we might need some specialized models trained on biomedical corpus like <a href="https://arxiv.org/abs/1901.08746#:~:text=version%2C%20v4)%5D-,BioBERT%3A%20a%20pre%2Dtrained%20biomedical%20language%20representation,model%20for%20biomedical%20text%20mining&amp;text=With%20almost%20the%20same%20architecture,pre%2Dtrained%20on%20biomedical%20corpora.">BioBERT</a>.</p><p>Do you feel excited and want to give it a try? Or are you interested in contributing to our project? Check out our GitHub repo. We make it open source here: <a href="https://github.com/hsiaoyi0504/SI650_final">https://github.com/hsiaoyi0504/SI650_final</a>. Feel free to make pull requests or open issues there. Or you could also share your opinions and feedback by commenting here. Enjoy!</p><p>— — — — — — — — — — — — — — — — — — — — — — — —</p><p>If you are also interested in proteogenomics, check following links:</p><ul><li><a href="https://proteomics.cancer.gov/proteomics/proteogenomics">https://proteomics.cancer.gov/proteomics/proteogenomics</a></li><li><a href="https://www.youtube.com/watch?v=4P6xE_uSg-Q&amp;ab_channel=NationalCancerInstitute">https://www.youtube.com/watch?v=4P6xE_uSg-Q&amp;ab_channel=NationalCancerInstitute</a></li><li><a href="https://www.youtube.com/watch?v=7qpKPiOZrks&amp;ab_channel=NationalCancerInstitute">https://www.youtube.com/watch?v=7qpKPiOZrks&amp;ab_channel=NationalCancerInstitute</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=320d63aeb08e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>