<?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 Jacob Wert on Medium]]></title>
        <description><![CDATA[Stories by Jacob Wert on Medium]]></description>
        <link>https://medium.com/@jawert?source=rss-84b8cce80ca5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JSogLvoH6tp-UhkYnrNFZQ.png</url>
            <title>Stories by Jacob Wert on Medium</title>
            <link>https://medium.com/@jawert?source=rss-84b8cce80ca5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:51:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jawert/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[The Life Scientist’s Guide to the Cloud: A Journey Through Digital Evolution ]]></title>
            <link>https://jawert.medium.com/the-life-scientists-guide-to-the-cloud-don-t-panic-8d53ee7eeaca?source=rss-84b8cce80ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d53ee7eeaca</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[life-sciences]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Jacob Wert]]></dc:creator>
            <pubDate>Wed, 20 Nov 2024 23:01:25 GMT</pubDate>
            <atom:updated>2024-11-30T22:47:49.509Z</atom:updated>
            <content:encoded><![CDATA[<p>In the vast ecosystem of modern computing, life scientists find themselves at a fascinating crossroads. Like DNA molecules seeking their complementary base pairs, researchers are searching for the perfect match between their computational needs and the cloud’s boundless potential.</p><h3>The Digital Evolution of Life Science Computing</h3><p>Imagine your laboratory’s data as a living organism, constantly growing and evolving. Traditional on-premise servers, like well-worn laboratory notebooks, have served us faithfully. But just as life found ways to become more complex and efficient through evolution, our computational methods must adapt to survive in this new digital age.</p><h3>The Hidden Complexity of Traditional Systems</h3><p>Think of your current server setup as a bacterial colony — seemingly simple and self-contained, but harboring intricate dependencies and hidden complexities. Small to medium life science companies often maintain these colonies because they’re familiar ecosystems, appearing cost-effective at first glance. However, like any biological system, these environments require careful maintenance and constant attention to thrive.</p><h3>The Three Adaptation Strategies (And Why They’re Not Sustainable)</h3><p><strong>1. The Overloaded Guardian</strong><br>Picture your IT department as a cellular membrane, trying to regulate everything that flows in and out of your digital space. While robust, this membrane becomes increasingly stretched and permeable as demands grow, potentially compromising the entire system.</p><p><strong>2. The Reluctant Evolution</strong><br>Like a protein forced to take on multiple functions through evolutionary pressure, we see scientists morphing into system administrators. This unexpected adaptation, while impressive, diverts precious energy from their primary research functions.</p><p><strong>3. The Symbiotic Relationship</strong><br>Outsourcing to consultants is like forming a symbiotic relationship with another organism. While beneficial in theory, this dependency can leave you waiting for critical responses when your digital ecosystem faces challenges.</p><h3>The LIFE Framework: A Technical Deep Dive 🚀</h3><blockquote>Note: The framework will be discussed with AWS in mind, but this works for any cloud compute company.</blockquote><h3>Load (Storage): Your Digital Genome 💾</h3><p>Just as DNA stores the blueprint for life, cloud storage forms the foundation of your digital infrastructure. AWS offers a sophisticated hierarchy of storage solutions, each evolved for specific research needs:</p><h4>Primary Storage (Hot Data)</h4><ul><li><strong>Amazon S3</strong>: Think of this as your active genes — frequently accessed data that needs quick retrieval</li><li>Ideal for raw sequencing data, imaging files, and analysis results</li><li>Automatic versioning prevents accidental data loss (like DNA repair mechanisms)</li><li>Lifecycle policies automatically move aging data to cheaper storage tiers</li></ul><h4>Archive Storage (Cold Data)</h4><ul><li><strong>S3 Glacier</strong>: Your inactive genes, rarely accessed but crucial to preserve</li><li>Perfect for long-term storage of completed studies and regulatory compliance data</li><li>Up to 90% cost reduction compared to standard S3</li><li>Multiple retrieval options like Flexible, Deep Archive for different access needs</li></ul><h4>Cost Evolution</h4><p>Traditional on-premise storage requires significant upfront investment in hardware that often sits partially empty, like overexpressed proteins waiting for substrate. Cloud storage scales precisely with your needs:</p><ul><li>Pay only for what you use</li><li>Automatic tiering optimizes costs based on access patterns</li><li>No hardware maintenance or replacement costs</li></ul><h3>Integrate (Processing): Your Cellular Machinery 🔄</h3><p>Like cellular processes that transform genetic information into proteins, cloud processing transforms raw data into actionable insights:</p><h4>Compute Resources</h4><ul><li><strong>AWS Batch</strong>: Your ribosomes for heavy computational work</li><li>Automatically provisions optimal instance types</li><li>Perfect for genomic pipelines and molecular dynamics simulations</li><li>Scales from zero to thousands of cores in minutes</li><li><strong>AWS Lambda</strong>: Think of these as enzymes — small, efficient functions that trigger on specific events</li><li>Ideal for data preprocessing and quality control</li><li>Pay only for actual computation time</li><li>Automatic scaling without infrastructure management</li></ul><h4>Workflow Management</h4><ul><li><strong>AWS Step Functions</strong>: Your cellular signaling pathways</li><li>Orchestrate complex analysis pipelines</li><li>Visual workflow builder for creating and monitoring processes</li><li>Built-in error handling and retry mechanisms</li></ul><h3>Find (Analysis): Your Natural Selection Engine 🔍</h3><p>Just as evolution selects beneficial traits, your analysis infrastructure helps identify valuable insights:</p><h4>Interactive Analysis</h4><ul><li><strong>Amazon SageMaker</strong>: Your digital laboratory for machine learning</li><li>Jupyter notebooks with automatic GPU acceleration</li><li>Built-in algorithms optimized for biological data</li><li>Version control for both code and models</li></ul><h4>Visualization and Sharing</h4><ul><li><strong>Amazon QuickSight</strong>: Your microscope for data visualization</li><li>Interactive dashboards for sharing results</li><li>ML-powered anomaly detection</li><li>Pay-per-session pricing model</li></ul><h3>Evolve: Continuous Adaptation 🌱</h3><p>Like biological evolution, cloud infrastructure must adapt to changing needs:</p><h4>Infrastructure as Code</h4><ul><li><strong>AWS CloudFormation</strong>: Your digital genome editor</li><li>Define entire infrastructure in version-controlled code</li><li>Replicate environments perfectly across regions</li><li>Automatic documentation and change tracking</li></ul><h4>Security and Compliance</h4><ul><li><strong>AWS Control Tower</strong>: Your immune system</li><li>Automated security best practices</li><li>HIPAA and GxP compliance guardrails</li><li>Continuous security monitoring</li></ul><h3>The Economic Evolution: Breaking Free from Legacy Constraints 💰</h3><p>Traditional infrastructure, like early life forms, is inefficient and inflexible. Cloud adoption drives evolution in several key areas:</p><h4>Cost Optimization</h4><ul><li><strong>Dynamic Resource Allocation</strong>: Like metabolic regulation</li><li>Scale computing resources up/down based on demand</li><li>Automatic instance selection for optimal price/performance</li><li>Spot instances for non-time-critical workloads (up to 90% savings)</li></ul><h4>Time Efficiency</h4><ul><li><strong>Automated Management</strong>: Reduce manual intervention</li><li>Self-healing infrastructure</li><li>Automatic backups and disaster recovery</li><li>Managed services eliminate routine maintenance</li></ul><h4>Team Evolution</h4><ul><li><strong>Focus on Innovation</strong>: Free your scientists from IT duties</li><li>Managed services handle infrastructure complexity</li><li>More time for research and analysis</li><li>Improved collaboration through shared resources</li></ul><h3>Getting Started: Your First Steps into the Cloud 🌟</h3><p>Like the first organisms venturing onto land, moving to the cloud requires careful preparation:</p><ol><li><strong>Start Small</strong>: Begin with a single project or workflow</li><li><strong>Build Skills</strong>: Train your team on cloud concepts and tools</li><li><strong>Monitor and Optimize</strong>: Continuously refine your infrastructure</li><li><strong>Scale Gradually</strong>: Expand as your comfort and expertise grow</li></ol><blockquote>Remember: Evolution favors those who adapt. The cloud isn’t just another tool — it’s the next stage in the evolution of life science computing.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d53ee7eeaca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Python Strings for Bioinformatics (and everyone else!)]]></title>
            <link>https://jawert.medium.com/getting-started-with-python-strings-for-bioinformatics-and-everyone-else-f179d2fb18e?source=rss-84b8cce80ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/f179d2fb18e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jacob Wert]]></dc:creator>
            <pubDate>Tue, 23 Feb 2021 03:50:28 GMT</pubDate>
            <atom:updated>2021-02-23T03:50:28.548Z</atom:updated>
            <content:encoded><![CDATA[<p>Nowadays, most Bioinformatics work is done using the programming languages Python and R. These languages are used to analyze data ranging from single DNA sequences to massive spreadsheets of complex information. As an introduction, we are going to be examining some important functions and methods for strings as they are commonly used data types to store genomic sequences.</p><h3>String Assignment</h3><p>To assign a string to a variable, start by typing the variable name on the left followed by an equals sign and then your string. If your string is a single line, you can use either single or double quotes. If your string is multi-line, you can use triple single or triple double quotes. <em>Note: Whatever type of quotation you start with MUST be what you end with as well, or else you will find yourself receiving errors.</em></p><pre>some_string_name = &#39;This is a string.&#39;<br>some_other_string = &quot;This is another string.&quot;<br></pre><pre>a_third_string = &#39;&#39;&#39;This is one way of <br>                    typing a multi-line string!&#39;&#39;&#39;</pre><pre>another_string = &quot;&quot;&quot;This is another<br>                    multi-line string.&quot;&quot;&quot;</pre><p>You can also assign multiple variables at the same time by separating each variable and assigned strings with commas. <em>Note: seq is short for sequence. We will be using this as we go through the functions/methods.</em></p><pre>seq1, seq2, seq3 = &#39;ATCG&#39;, &#39;TATA&#39;, &#39;GATTACA&#39;</pre><h3>String Concatenation</h3><p>Another common task using genomic sequence strings is to “concatenate” or combine them together. Concatenating in Python is as easy as using a plus sign.</p><pre>seq1 = &#39;ATCG&#39;<br>seq2 = &#39;TATA&#39;</pre><pre>seq3 = seq1 + seq2</pre><p>If we did “print(seq3)”, we would be shown the new string “ATCGTATA”. One thing to remember is that unless you’re using what is concatenated immediately, be sure to assign it to a new variable or overwrite an existing one!</p><h3>Some String Functions and Methods</h3><h4><strong><em>count()</em></strong> function</h4><p>The first method we are going to take a look at is the “count()” function. Count does exactly what it sounds like; it counts whatever character or string you specify. One common task in genomic analysis is to count the number of each kind of nucleotide is present in the genetic sequence. Using count we would have something like the following.</p><pre>cytosine_count = seq.count(&#39;C&#39;)</pre><p>If we had a sequence such as “ATCGATCGATCG”, cytosine_count would evaluate to 3.</p><blockquote>The syntax for the count method is <em>list</em>.count(‘<em>value’).</em></blockquote><h4>split() function</h4><p>The split function turns a given string into an array where each element in the array is a portion of a string up until the delimiter that you provide. <em>Note: a delimiter is something that separates part of a sentence such as commas, spaces, colons, etc. </em>If we have some string separated by “|” such as “thing 1, thing 2, thing 3”, we can use the split method to break the string into an array.</p><pre>some_string = &quot;thing 1 | thing 2 | thing 3&quot;</pre><pre>split_string = some_string.split(&quot;|&quot;)</pre><p>Printing “split_string” will give us an array of [‘thing 1’, ‘ thing 2’, ‘ thing 3’]. Notice that there are still spaces before thing 2 and thing 3 because we split it along the | character.</p><h4>slice() function</h4><p>The slice() function, as the name suggests, returns a <em>slice</em> object. slice() has three parameters, <em>start</em>, <em>end</em>, and <em>step</em>. Start and step are optional, and end is required. Start allows you to specify an integer number for the index where you want to start slicing, with the default being 0. End is an integer number that specifies at which position you want to end the slicing. Step is an integer specifying the “step” of the slicing. For example, a step of 1 grabs every element between start and end. If step was set to 2, it would grab every other element between start and end.</p><pre># Given the string below<br>some_string = &quot;Hi this is a string&quot;</pre><pre># Set x to a slice object with a start of index 3, and end of index 5<br>x = slice(3, 5)</pre><pre># Prints &quot;this is&quot; by grabbing the portion of the string that the slice object corresponds to.<br>print(a[x])</pre><h4>join() method</h4><p>The join method works on an iterable, joining them together into one string separated by a specified character.</p><pre>some_tuple = (&quot;thing1&quot;, &quot;thing2&quot;, &quot;thing3&quot;)</pre><pre>x = &quot;#&quot;.join(some_tuple)</pre><pre>print(x) <br># Prints &quot;thing1#thing2#thing3&quot;</pre><p>A quick tip: combining <em>join()</em> with <em>split()</em> can be quite powerful. For example, let’s say that you have a large DNA sequence. One issue that comes up quite often are newline characters. The large sequence that you have is split by the ‘\n’ character that you cannot see, but your computer can. If you try to analyze the sequence, the newline characters may make the sequence seem smaller than it actually is. We can use the join and split methods in the following way:</p><pre>seq_joined = &#39;&#39;.join(sequence.split(&#39;\n&#39;))</pre><p>Let’s break this down. We are creating a new variable called <strong><em>seq_joined</em></strong>. The portion <strong><em>‘’.join()</em></strong> is specifying that we want to join whatever we have in the parentheses with nothing. <strong><em>sequence.split(‘\n’)</em></strong> takes the DNA sequence that we called “sequence” and split the string by the newline characters. Combined this means that we first split the string by the newline characters, then joining the newly split string (temporarily held in an array) with nothing. Thus joining the string together into one long sequence of DNA nucleotides.</p><p>— — — —</p><p>These are just some of the many things that you can do with strings. Check out <a href="https://www.w3schools.com/python/python_ref_string.asp">https://www.w3schools.com/python/python_ref_string.asp</a> for a list of Python string methods!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f179d2fb18e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Anaconda the best tool for data science?]]></title>
            <link>https://jawert.medium.com/is-anaconda-the-best-tool-for-data-science-dc004c23bf0e?source=rss-84b8cce80ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc004c23bf0e</guid>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[anaconda]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Jacob Wert]]></dc:creator>
            <pubDate>Tue, 09 Feb 2021 01:44:07 GMT</pubDate>
            <atom:updated>2021-02-09T01:44:07.328Z</atom:updated>
            <content:encoded><![CDATA[<h3>Is Anaconda the best tool for data science? How Anaconda and the Anaconda Navigator can change the way you work.</h3><p><a href="http://anaconda.org/">Anaconda</a> is “<a href="https://en.wikipedia.org/wiki/Anaconda_(Python_distribution)">a distribution of the Python and R programming languages</a>”, which is tailored specifically for scientific computing. Scientific computing includes general data science, machine learning, large-scale data processing, etc. How is Anaconda tailored specifically for scientific computing? By being an “easy-to-install package manager and environment manager.” Anaconda comes in several editions: individual, commercial, team and enterprise, but we’re going to focus on the individual edition as it is free. <a href="https://docs.anaconda.com/anaconda/">You can check out the documentation for the individual edition here</a>. While you can operate Anaconda completely from the command line, they do offer Anaconda Navigator which has a GUI that some people might find more useful.</p><h3>Why is Anaconda so useful?</h3><h4>Anaconda can help de-spaghettify your installed packages.</h4><p>Anaconda allows you to create siloed environments where you can install the specific packages you need, without having to worry about packages negatively interacting with each other in other environments. Let’s try to break this down.</p><blockquote>Anaconda is like a house, and each room is a different environment.</blockquote><p>Each room can be unique with its own set of decorations, furniture and purpose. In a similar fashion, each environment in your installation of Anaconda can have their own packages installed. Besides the packages, you are even able to specify the specific version of Python that you have installed by environment. This is something that can be very helpful working in the world of science where you can run into programs that haven’t been updated in a long time. Let’s take a look at the home screen of the Anaconda Navigator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fiZCbcxH_QlJLI26nof2wA.png" /><figcaption>Anaconda Navigator Home Screen</figcaption></figure><p>When starting the Anaconda Navigator, this is the first thing that you will see (as of the date of this publishing). On the left hand side, you have buttons to take you to the main four sections, “Home”, “Environments”, “Learning”, and “Community”. When you are at “Home”, you have the option to change the environment that you are running in, and can see any applications that you have installed specifically for that environment. Everyone starts off with an environment called “base (root)”. The specific applications installed can be selected when you download and install Anaconda, and you can always install something later if you wish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*AOMlusOlF-2fM6-83fkPQw.png" /></figure><p>Next to the drop-down menu, you will see a button called “Channels”. <a href="https://docs.anaconda.com/anaconda/navigator/tutorials/manage-channels/">A channel is a location where Navigator and conda look for packages.</a> We’ll come back to what “conda” is in a little bit. For most people, you won’t need to modify this, but if you are someone that has very specific packages, you might find this useful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*iCP6FByZCrn7SkRfMyyFxA.png" /></figure><p>Each application is shown as a tile. The application icon is front and center, with the version number directly below, and a description above the big launch button. Clicking on the gear icon in the upper right hand corner gives you the options to install the application (if not installed already), update or remove it, or select a specific version. This goes back to the benefits of having environments. Environment A could have the latest version of Jupyter notebooks installed, while Environment B needs an older version for compatibility with another package.</p><h3>Environment Manager</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vA0cSJlb2A5LyDit51WfEw.png" /></figure><p>Moving down the menu bar on the left, we have the environment manager section. On the left (almost middle), you can see and search what environments you currently have created, create new environments, or delete unneeded ones. On the right hand side you can see a list of packages. You are able to filter them with the drop down menu to just the packages you have installed in that particular environment, which are not installed, which are updatable, which you have selected, or every package in the channels that you are searching on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*9GNvaWzgU0BNvWVTtaCl9A.png" /></figure><p>Creating a new environment is as straightforward as clicking on the “Create” button that has a plus sign. From there you can name your new environment, and select if you want Python and/or R installed, along with what version you would like. Once you click on “create”, your new environment will be created with a handful of default packages. However, if you want anything more than the bare minimum that you need for your environment to run, your first step should be to install any packages that you will need. To install a package via GUI, first set the drop down menu to be either “Not Installed” or “All” to see the available packages. You can either scroll through the entire list, or you can use the search bar in the upper right corner. Once you see the package that you want to install, click on the box to the left of the name, then click apply in the bottom right corner. Your desired package will now be installed!</p><h3>Learning &amp; Community</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kRQSSHONX2J2saG1wW7qYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LWXvtG0N1cEm2C4XKLx4ZQ.png" /></figure><p>Learning and community are both pretty straightforward. Learning provides you will quick access links to documentation and some tutorials, and community contains links for events, forums, and social links. If you have any questions, be sure to check out these two sections!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc004c23bf0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Data Structures for Bioinformatics and Computational Biology]]></title>
            <link>https://jawert.medium.com/introduction-to-data-structures-for-bioinformatics-and-computational-biology-c4ecbf7a2128?source=rss-84b8cce80ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4ecbf7a2128</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <dc:creator><![CDATA[Jacob Wert]]></dc:creator>
            <pubDate>Sat, 06 Feb 2021 23:58:33 GMT</pubDate>
            <atom:updated>2021-02-07T04:35:28.420Z</atom:updated>
            <content:encoded><![CDATA[<p>It is no secret that the amount of biological data being generated each day is increasing exponentially. In fact, there is evidence that in terms of genetic sequencing data is following its’ own version of <a href="https://en.wikipedia.org/wiki/Moore%27s_law">Moore’s Law</a>. There is no bottleneck in our ability to produce more data, but there is in processing it. This is where data structures and algorithms come in.</p><p>First off, what is a data structure? <a href="https://en.wikipedia.org/wiki/Data_structure">Wikipedia</a> says that “in <a href="https://en.wikipedia.org/wiki/Computer_science">computer science</a>, a <strong>data structure</strong> is a data organization, management, and storage format that enables efficient access and modification”. To put it a little more simply, a data structure is a representation of some thing that we want to manipulate.</p><figure><img alt="Data has a better idea" src="https://cdn-images-1.medium.com/max/1024/1*gwh4ElgPDfTIF0AfGxrdxQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@franki?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Franki Chamaki</a> on <a href="https://unsplash.com/s/photos/data-structure?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Nearly all information stored in a computer is stored in some kind of data structure. Some common data structures that you may have heard of are <strong><em>linked lists, stacks and queues. </em></strong>There are a LOT of other data structures, but we will only focus on a few for now. For the purposes of these articles, we will assume that a good data structure will do the following for us:</p><blockquote>1. Enable effective computational manipulation.</blockquote><blockquote>2. Produce correct results in finite amount of time.</blockquote><p>Why do we want data structures to do these two things? Because we want to be able to take the data that we have and transform it in some way. Whether this be accessing it and visualizing it, or turning it into another form that will be easier for us to manipulate. We also don’t want to be waiting forever for our computers to run, so data structures that allow us to produce results in a finite amount of time is paramount.</p><h3>Intervals</h3><p>The first data structure that we will take a look at is called an <strong><em>interval</em></strong>. An interval is exactly what it sounds like. It is a sequence of integers. Intervals are typically written in the format: <strong><em>[ j..k ]</em></strong>. There are some key things to note here.</p><ol><li>Square brackets “[ ]” are used to denote that this is an interval.</li><li>The letters <strong><em>j</em></strong> and <strong><em>k</em></strong> represent the numbers that the interval spans. i.e., this interval begins at j, ends at k, and includes both of those values.</li><li>The two dots “..” indicate that there are some numbers in between the j and the k.</li></ol><p>Different mathematical equations can be applied to determine what numbers are in the interval. For example, if we say that j is equal to 1 and k is 10, we could simply start with j and add 1 to produce the next number, add one again to produce the third number, etc. all the way up to 10. Or we could have some massive quadratic equation and end up with a k value of 1,894,182. It’s really up to you.</p><p>To go one step further, we can say that there is some number <strong><em>i</em></strong> in our interval of <strong><em>[ j..k ]</em></strong>. This is the same as saying that <strong><em>i is an integer such that, j ≤ i ≤ k</em></strong>. Why is this true? Because we said that our interval starts at j, and ends at k. In order for i to be a part of the interval, it MUST be in between j and k. Therefore i must be greater than or equal to j, and less than or equal to k.</p><h3>Tuples</h3><p>The next data type we are going to take a look at is a very important one called a <strong><em>tuple</em></strong>.</p><blockquote>A tuple is an ordered sequence of n elements, some of which may be repeated.</blockquote><p>Why is a tuple so important? Because it is one of the best data structures to represent a DNA, RNA, or protein sequence. We’ll come back to why this is, but for now, here’s a picture of a random DNA sequence with its’ base pairs shown. Can you think of why a tuple is great for representing this?</p><figure><img alt="DNA strand with base pairs" src="https://cdn-images-1.medium.com/max/354/1*Ew6UUMVnwOqoKCiAiy1EPw.gif" /><figcaption>DNA Strand with base pars</figcaption></figure><p>A tuple is typically denoted like the following: <strong><em>&lt;x1, x2, …, xn&gt;</em></strong>. Again, there are a couple of things to note here.</p><ol><li>The <strong><em>&lt; </em></strong>and<strong><em> &gt; </em></strong>symbols are what shows that this is a tuple. If we simply wrote “&lt;&gt;”, that would mean that we have an empty tuple.</li><li><strong><em>x1, x2, … xn</em></strong> means that this tuple starts at x1 and continues until some element xn. <strong><em>(Note: xn is read as “x sub n”, and represents some element x at position n)</em></strong>.</li></ol><p>Two other helpful tips are what <strong><em>|T|</em></strong> and <strong><em>T[i]</em></strong> mean. |T| is the same as saying “the size of tuple T”, or the number of elements inside of tuple T. T[i] means “the element at position i of tuple T”.</p><p>We can combine what we know from the interval data structure and write something like <strong><em>T[i, j]</em></strong> which is the same as <strong><em>&lt;T[i], T[i + 1], …, T[j]&gt;</em></strong>. Or, the Tuple T that ranges from values i to j. Note that in this case we are saying that this tuple strictly holds integers, but in reality a tuple can hold any kind of element. One note on tuples: unlike something like a list, a tuple is <strong><em>immutable </em></strong>meaning that once it has been created, it cannot be changed. The elements are fixed in order. But above we said that tuples were great to use when working with genomic data! How great are they if they are fixed? Well, there are a handful of commonly used functions in programming with tuples that we will go over now.</p><ol><li><strong><em>Head</em></strong>. Writing “Head(T)” means “Return T[0]”, or return the first element of tuple T.</li><li><strong><em>Tail</em></strong>. Writing “Tail(T)” means “Return T[|T|]”, or return the last element of tuple T.</li><li><strong><em>Push. </em></strong>Writing “Push(x, T)” means take element x and “push” it into T. Or in other words, take element x and return a new tuple with x as the first element of tuple T. Because we cannot <strong><em>change</em></strong> T, we are instead creating a new tuple with x, and then copying all values of T to it afterward.</li><li><strong><em>Pop</em></strong>. Writing “Pop(T)” means remove the first element of tuple T. Or in other words, return a new tuple that ranges from the second element of T to the last (T[1…|T|). <em>Note: remember that indexing in programming starts at 0.</em></li><li><strong><em>Inject</em></strong>. Writing “Inject(x, T)” means to add x to the end of tuple T. Again this involves creating a new tuple, and adding element x as the new last element.</li><li><strong><em>Eject</em></strong>. Writing “Eject(T)” means to return all elements in tuple T EXCEPT for the last element.</li></ol><p>Using all of these functions together in different ways allows us to develop new data structures. These include stacks, queues, and deque.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UQC_sPaOukLk2VV5" /><figcaption>Photo by <a href="https://unsplash.com/@rocinante_11?utm_source=medium&amp;utm_medium=referral">Mick Haupt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Stack</h3><p>The traditional way to think of a stack, is of a stack of plates. Stacks are tuples that have the functions <em>head, push, </em>and <em>pop</em>. When a plate is added to the top of the stack, the only way to get further down the stack is by removing plates until you get to the one that you want. The same is true for elements in a stack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0vX2b7XNb-LfVMBb" /><figcaption>Photo by <a href="https://unsplash.com/@melanie_sophie?utm_source=medium&amp;utm_medium=referral">Melanie Pongratz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Queue</h3><p>A queue is a line. At some point each and every one of us has stood in a line. Queues are tuples that use the functions <em>head, inject, </em>and <em>pop</em>. We can find out who is first in line (using head), we can add someone to the end of a line (using inject), and we can let someone into the store by removing them from the front of the line (pop).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*Vfo5P04ocV3QBoXDxJJjCg.png" /><figcaption>Photo Credit: <a href="https://www.programiz.com/dsa/deque">https://www.programiz.com/dsa/deque</a></figcaption></figure><h3>Deque</h3><p>No, that’s not a typo. A deque is a double ended queue. While stacks and queues restricted us to only inserting and removing from one location, a deque allows for insertion and removal from both ends. Deques are tuples that use the functions <em>head, tail, push, inject, pop </em>and <em>eject</em>.</p><h3>How does this relate to genomic sequences?…</h3><p>Think about the picture of the DNA strand above. DNA is a continuous string of base pairs that is read from the 5&#39; end to the 3&#39; end. This is the ONLY way that DNA works. While things like DNA repair complicate matters a bit, we are going to continue to move forward with the assumption that DNA is only read in one direction, meaning that the data structures mentioned above are the best for storing and manipulating genetic information. They are not the only ones, but they are what we will focus on in upcoming articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4ecbf7a2128" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bioinformatics: What is it, and why do we care?]]></title>
            <link>https://jawert.medium.com/bioinformatics-what-is-it-and-why-do-we-care-7a05e726b14e?source=rss-84b8cce80ca5------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a05e726b14e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[biology]]></category>
            <dc:creator><![CDATA[Jacob Wert]]></dc:creator>
            <pubDate>Sat, 23 Jan 2021 01:07:41 GMT</pubDate>
            <atom:updated>2021-01-23T01:07:41.433Z</atom:updated>
            <content:encoded><![CDATA[<h3>So, what is Bioinformatics?</h3><p>Depending on where you look online, you will find a few different variants to the definition of Bioinformatics. A quick Google search brings you to <a href="https://www.google.com/url?q=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FBioinformatics&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNHgKqF3e_q3vMWJxz-f7IfrrWLSeg">Wikipedia</a> where you will find that Bioinformatics is “<em>The intersection of biology, statistics, and computer science”. </em><a href="https://www.google.com/url?q=https%3A%2F%2Fwww.dictionary.com%2Fbrowse%2Fbioinformatics&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNECaN-XnuSG2MCS82I022_gdqkvXA">Dictionary.com</a> on the other hand says that Bioinformatics is “<em>The retrieval and analysis of biochemical and biological data using mathematics and computer science, as in the study of genomes</em>”. <a href="https://www.google.com/url?q=https%3A%2F%2Fblog.udacity.com%2F2020%2F06%2Fwhat-is-bioinformatics.html&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNFcXb4XsMmhY9w-v6LE919yPW3Saw">Jennifer Shalamanov from Udacity</a> goes a step further and distinguishes Bioinformatics from Computational Biology by saying “<em>Both require extensive knowledge of computer science, data analysis, and biology, but bioinformatics is about building the tools for studying biology while computational biology is about studying biology using those tools.</em>” No matter what definition you subscribe to word for word, it is clear to see that there are three main pillars to Bioinformatics:</p><ol><li>Data Science</li><li>Biology</li><li>Computer Science</li></ol><p>The definition that will be used for now to describe the field is:</p><blockquote><strong>“Bioinformatics refers to the study and interpretation of large sets of biological data through the use of computational pipelines and models.</strong>”</blockquote><p>—</p><h3>Okay… So what is Bioinformatics used for?</h3><p>By now you have heard about “big-data” and the massive influx and generation of information that is happening. From smartphones, smart watches, and IoT devices, Forbes wrote back in 2018 <a href="https://www.google.com/url?q=https%3A%2F%2Fwww.forbes.com%2Fsites%2Fbernardmarr%2F2018%2F05%2F21%2Fhow-much-data-do-we-create-every-day-the-mind-blowing-stats-everyone-should-read%2F%3Fsh%3D6fa66bcf60ba&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNHA94izgVZKRaDekv-87L_ekvisOQ">that we are generating 2.5 quintillion bytes of data a day</a>, and it has only increased since then. The portion of data that is of interest to us, is the biological data. Bioinformatics is used to help to clean, validate, and interpret the biological data sets that are being generated. Because Bioinformatics is such a broad field, we can say that it is used in applications from <a href="https://www.google.com/url?q=https%3A%2F%2Fwww.medicaltechnologyschools.com%2Fbiotechnology%2Fbioinformatics-vs-computational-biology&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNEZaFbleZgNsVCDt4dPRU26O5-Uog">pharmacology to antibiotics, from green tech to climate change studies</a>. Anywhere that there are huge biological data sets, you will find the use of Bioinformatics. There are so many applications for the field, that it is better to focus in one a particular area such as medicine or crop science. Even then you can continue to get more specific. <a href="https://www.google.com/url?q=https%3A%2F%2Fwww.aimst.edu.my%2Fevent-news%2Fwhat-bioinformatics-how-used-medicine%2F&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNGxf4Pb2k3mmIEVKLLtiParMgKtBA">Personalized medicine also encompasses drug discovery, personalized medicine, preventative medicine, or gene therapies</a>. No matter what field you go into, if you are utilizing processes to interpret and analyze biological problems, you are in the field of Bioinformatics.</p><p>—</p><h3>How do I learn Bioinformatics?</h3><p>By practicing! All jokes aside, there are a lot of resources available online for open learning of the skills necessary to practice Bioinformatics. <a href="http://www.google.com/url?q=http%3A%2F%2Frosalind.info%2Fproblems%2Flocations%2F&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNG8IYFxJdsu9NMilpV7YQVWhsgzeQ">Rosalind.info</a> is a fantastic website with practice problems as well as explanations of new topics and ideas to help you actually understand what it is you’re doing. There are of course more “traditional” paths you can take, such as attending a university with a dedicated “Bioinformatics” degree, but there are plenty of other avenues for free learning online. Just keep in mind the skills that you should be focusing on when learning Bioinformatics. You will need statistical knowledge, biological domain knowledge, and the ability to program computers to do what you want them to do. But don’t be discouraged; while there is a baseline of knowledge that you might need to get started, part of the beauty is that you will be able to learn as you go. Bioinformatics has the potential to open doors to help unlock the mysteries of Biology, and will only continue to grow and get bigger.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a05e726b14e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>