<?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 The Bioinformatics Manual on Medium]]></title>
        <description><![CDATA[Stories by The Bioinformatics Manual on Medium]]></description>
        <link>https://medium.com/@snippetsbio?source=rss-263853d573ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wAbYfvnFohq6WV3xpw0bWg.jpeg</url>
            <title>Stories by The Bioinformatics Manual on Medium</title>
            <link>https://medium.com/@snippetsbio?source=rss-263853d573ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 18:22:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@snippetsbio/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[How to use Cytoscape for making interaction networks: 6 simple steps]]></title>
            <link>https://medium.com/@snippetsbio/how-to-use-cytoscape-for-making-interaction-networks-6-simple-steps-176a1e147020?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/176a1e147020</guid>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[biotechnology]]></category>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[genomics]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Sat, 05 Nov 2022 17:45:17 GMT</pubDate>
            <atom:updated>2022-11-05T17:45:17.747Z</atom:updated>
            <content:encoded><![CDATA[<p>We&#39;re back with another Bioinformatics tool, called the Cytoscape, widely used for making gene interaction networks. If you&#39;re looking to make something that looks like this, you are at the right place! Woohoo!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*oSEuqEHEm5l8Kb0jOgeDJg.png" /></figure><blockquote><strong><em>Cytoscape</em></strong> is an open-source software platform for <strong><em>visualizing</em></strong> molecular interaction networks and biological pathways and <strong><em>integrating</em></strong> these networks with annotations, gene expression profiles and other state data.</blockquote><h4>Pre-requisites: What gene network do we want to explore?</h4><p>In this blog, we will be depicting the interaction of miRNAs, target genes, and the JAK-STAT signaling pathway for in-vivo feline and canine parvovirus (FPV) infection. Therefore, we will be looking to replicate figure 4A in <a href="https://www.researchgate.net/publication/320514408_MicroRNA_expression_analysis_of_feline_and_canine_parvovirus_infection_in_vivo_felis">this paper</a>. Awesome right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*28JCbugxM4XwO7JqxL8rvQ.png" /><figcaption>Figure 4 in the paper</figcaption></figure><p>Now, not only will we learn how to make the network, but we will also change the colors and shapes of the elements in our networks to make it more interesting, coz that’s always fun right? So, who’s ready? Let’s goooooo!</p><p>Just follow me along these six simple steps to get started with your Cytoscape journey!</p><h3>Step 1- Make the files required to make the networks</h3><p>Now, before using Cytoscape to replicate the network in figure 4A, we will need to have two types of files -</p><h4>A matching file:</h4><p>The matching file will contain all the mapping pairs that we want to show in the network, and essentially, every mapping in figure 4A is depicted by an arrow, and the two species marked by that arrow are put in this file.</p><p>For example, the matching_file for figure 4A looks like this -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*cKHWNWJgTpD8CWFiWIpxjw.png" /><figcaption>matching_file for figure 4A</figcaption></figure><p>Notice how the gene and pathway pairs are also mapped since we also want to show that the gene maps to the pathway in the center of the figure.</p><p>It’s good to make this mapping in an excel sheet and then save it as a csv file. For this case, I have already made this file, and you can download it from <a href="https://drive.google.com/file/d/1j3UmGmZUz7CNFcUvglVvDyvX5E34s64p/view?usp=share_link">here</a>. Yay!</p><h4>A name type file:</h4><p>This file will consist of the names and types of all the different elements that we have in our network, and this is what the file looks like for figure 4A -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/363/1*2jSsU0uSI4NOESefVBhH4Q.png" /><figcaption>name_type file for figure 4A</figcaption></figure><p>Again it is good practice to make this the name_type file a .csv file, and I have already made this file, so you can download it from <a href="https://drive.google.com/file/d/1QQxTgvt9bKyaljclOV4700ImwvRtB2SZ/view?usp=share_link">here</a>. Yay!</p><p>Now that we are ready with our prerequisites, i.e, the matching_file.csv and name_type.csv files, let’s go ahead and get started!</p><p><strong>Remember:</strong> When you’re working on your own personal project using Cytoscape, do have a good look at how these files are made since they are one of the most important and basic aspects of using Cytoscape. Always make your files correctly.</p><p>We’re done with Step 1, let’s move to Step 2! Yay!</p><h3>Step 2- Download the software and install it on your computer</h3><p><em>In case you have Cytoscape already downloaded on your system, you can skip this step.</em></p><p>Cytoscape is not a web tool, and you will have to download it to use it. Go to <a href="https://cytoscape.org/download.html">Cytoscape</a>, and download the software for your computer. The software requires Java, and try updating Java for your system, in case the software does not work after the download. Check out <a href="https://cytoscape.org/troubleshooting.html">this page</a> in case you are facing any more issues.</p><p>Once you&#39;ve downloaded and opened Cytoscape, the window should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvK2aY7tgyTdKwd9rtZW0w.png" /></figure><p>Yay! Done with Step 2! It was so simple no? Woohoo! Let’s go to Step 3!</p><h3>Step 3- Load name_type file onto the Cytoscape screen</h3><p>We will now be using our matching_file.csv and name_type file.csv to plot the networks. Awesome!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_kx9lR72uaywLhYztn3Oog.png" /></figure><p>Go to the<strong> File </strong>tab on top of the Cytoscape screen, and hover your arrow on <strong>Import </strong>in the available options dropdown, you will then find an option to import your <strong>‘Network From File</strong>’. Click on that.</p><p>Once you have clicked on this option, a pop-up will come up asking you to upload your file, where you need to upload your <strong>name_type</strong> file.</p><p>After you upload your<strong> name_type</strong> file, you’ll be able to see this screen -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjNK63f9U44qgdXe33m4rg.png" /></figure><p>Click on the <strong>key </strong>symbol near the column heading <strong>‘name’ </strong>and change it to the <strong>green dot </strong>symbol, meaning that this is the <strong>source node</strong>. Don’t click on OK just yet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MItSltzALc4DcQ10_JsNlw.png" /></figure><p>Now, go to the arrow symbol near the column heading <strong>‘type’</strong>, and change it to the <strong>green note</strong> symbol meaning source node attribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NkW1EhZlzOPYTfphLhKgUw.png" /></figure><p>Once you are done with changing both of these, click on OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n6FvRYUi6mnCEK-KMZiHfw.png" /></figure><p>Click on Yes for this pop-up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xO9tgppTFUprh722Ds689A.png" /></figure><p>This is what your screen will look like now. Don’t worry about the network, it looks like this since we have added all of the elements in the network, but we haven’t added the mappings yet.</p><p>But we are halfway through already! Yay! Let’s go to the next step!</p><h3>Step 4- Making Cytoscape networks using the matching_file and name_type files</h3><p>Now that we have all the elements that we will make our network with, on board this awesome ship, hehe, not ship, I meant the Cytoscape screen, hehe, we will go ahead with adding in our matching_file.</p><p>We will click on the <strong>File </strong>tab once again, to go to <strong>Import</strong>, and choose the <strong>‘Network From File’ </strong>option, but we have to ensure that our <strong>name_type</strong> file is already selected in the Cytoscape screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*trKdVlpFB-g4tbc7i0RpAQ.png" /></figure><p>The <strong>name_type</strong> file will have a <strong>blue box </strong>around it when it is selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CYw2_iEnVOmKnT0VW8QUQ.png" /></figure><p>This time when we select the ‘<strong>Network From File’ </strong>option, we need to choose the <strong>matching_file</strong>. A pop-up box like this will once again appear when we are done choosing our file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1UYJZAUM_gsJcdJ8VYFn2A.png" /></figure><p>Notice how the Network Collection above mentions name_type.csv since we selected that before importing our matching_file into Cytoscape.</p><p>This time we will keep the <strong>green dot </strong>symbol as it is, but we will change the <strong>note</strong> symbol near the column heading miRNA/pathway to a <strong>target</strong> symbol (meaning our target node).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsuGnidzDVJ8qxPorFsYbQ.png" /></figure><p>Now click on OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z4S4QhsL-7V44iUBeDFdhQ.png" /></figure><p>Wow! Doesn’t this look great? Our network is here, and though it looks a bit shabby and lacks colors, it still looks cool! Aaand we’re done with this step!</p><p>Let’s move on to Step 5!</p><h3>Step 5- Add colors and styles.</h3><p>This is the fun step where we’ll add some colors and styles to the network we’ve just made.</p><h4>1. Place the network elements properly</h4><p>We will first place our network elements in proper order so that our network does not look this shabby. To move an element, you can just click on the element and then drag it around. The element gets highlighted in yellow when you select it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MBqnKHX40_5LY5M3pjY7ng.png" /></figure><p>Drag the selected elements around to arrange the elements as in figure 4A. You can zoom in or zoom out of the network by using your trackpad.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5fwGA62Wc9SY1dEgitJS-w.png" /></figure><p>Wowww! Doesn’t our network look clean and beautiful already? Let’s add some colors now.</p><h4>2. Adding in the colors</h4><p>To add colors, go to the complete leftmost side of the Cytoscape screen and you should find a<strong> ‘Style’</strong> tab. Click on that to access the color options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7YsBqUURSGIvkPoCpd_kPw.png" /></figure><p>Options like these should appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3MjwFhjSt2k9JAI4zPGsXg.png" /></figure><p>Choose the colors from the ‘<strong>Fill Color’</strong> option by clicking on the small arrow at the end of the Fill Color tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VJWy9W_Qfd2O_exvJZnvFA.png" /></figure><p>You should be able to see such options.</p><p>In the ‘<strong>Column’</strong> option under ‘<strong>Fill Color’</strong>, click on the faded <strong>— — select value — —</strong> option (you might have to double click sometimes) and choose <strong>‘type’</strong>. This is because we want to color our network elements with different colors, based on if they are a gene, miRNA, or pathway which essentially means their type.</p><p>Similarly, for the <strong>— — select value — — </strong>option for the ‘<strong>Mapping Type’</strong>, choose ‘<strong>Discrete Mapping’</strong>. This is what your screen should look like now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9nLm_jF924u5ctJ7QEeokA.png" /></figure><p>Choose different colors for marking the genes, miRNA, and pathway by clicking the plain white box right side below the Discrete mapping text. You will find a small box with three dots coming up on the right side of the row (Edit Color), you can click that to choose the colors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sUk6UK7xUcZWUupeKG3Hcw.png" /></figure><p>You will get an option of colors, and you can choose what you like. I will choose light blue for my genes, light red for my miRNAs, and green for the pathway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5b4DI8GL3Qau1UeS1N-gLQ.png" /></figure><p>Yay! My network looks sooo beautiful now! Oh, you beauty! ❤</p><p>Now, I would like to change the shape of boxes for my genes, miRNAs, and the pathway to make them more distinct. I’ll show you what it looks like, but it’s an assignment for you to change the shape, the hint being that it’s very similar to changing the colors and you can use the <strong>Shape </strong>option in the <strong>Style</strong> tab for it. Can you do it? Do let me know in the comments below!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*QrbMIZkJqvOO9DfYpqEdhQ.png" /></figure><p>My network looks amazing now! Just one small thing, there are no arrows as in figure 4A! Let’s add the arrows now.</p><h4>3. Adding the arrows</h4><p>To add arrows, go to the bottommost part of the screen to find tabs like <strong>Node</strong>, <strong>Edge</strong>, <strong>Network</strong>, and <strong>Table</strong>. From there, click on ‘<strong>Edge’</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82TC3xopO6LuwHgRzunrgA.png" /></figure><p>Once you click on ‘<strong>Edge’</strong>, your screen should look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k9ihNZr43oirCWsOIJ915g.png" /></figure><p>From the ‘<strong>Edge’</strong> options, choose ‘<strong>Source Arrow Shape’</strong> similar to how we filled in colors, and fill up<strong> ‘shared interaction’</strong> and <strong>‘Discrete Mapping’</strong> in <strong>Column</strong> and <strong>Mapping Type</strong> respectively.</p><p>For the <strong>‘interacts with’</strong> option, choose a ‘<strong>Delta Short1’</strong> arrow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KwRWaded9OcMB56hh_wi7g.png" /></figure><p>The network will look like this now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ibALOKy1_cSivoixq5wUvQ.png" /></figure><p>WOW! The network looks absolutely perfect! Absolutely gorgeous! Omg, I wanna export it right now and put it in a publication! Yay Yay Yay!</p><p>Awesome work people! A long Step 4 we had, but we are just left with exporting now, and we’ll be done! Woohoo! Let’s go to the last and final step — Step 6!</p><h3>Step 6- Export your work.</h3><p>Now that we have a pretty network, we should definitely try exporting it. Go to the <strong>File </strong>tab on the top and hover on the <strong>Export </strong>option to find the <strong>‘Network to Image option’</strong>, and click on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zsgmXLAIYlEgOZiMu11H7Q.png" /></figure><p>Choose your export file format (png or jpeg or any other), zoom options, file path, name, etc, and then click on OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wcbZIxHhaJZmNY6R607WSQ.png" /></figure><p>Yay! And we’ve saved our file! Woohoo! Awesome Awesome! This is what it looks like finally!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*oSEuqEHEm5l8Kb0jOgeDJg.png" /></figure><p>Isn’t it pretty? Uff, beautiful! Perfect! ❤ I guess hard work really pays off!</p><p>Now, do try to play around with Cytoscape to understand it better, and let me know if you’re having any doubts anywhere!</p><p>I guess that should be it for today! It is the end of a longgg blogg and congratulations on making it to the end! You’re a hard worker! Keep it up! And thanks for reading!</p><p><strong><em>Citation for the paper:</em></strong><em> Zhou, Pei &amp; Zhang, Xin &amp; Zeng, Weijie &amp; Zheng, Qingxu &amp; Hao, Xiangqi &amp; Lin, Xi &amp; Zheng, Yun &amp; Wang, Lifang &amp; Zhang, Guihong &amp; Li, Shoujun. (2017). MicroRNA expression analysis of feline and canine parvovirus infection in vivo (felis). PLOS ONE. 12. e0185698. 10.1371/journal.pone.0185698.</em></p><blockquote><em>Simple.Concise.Precise. That’s the motto.</em></blockquote><blockquote><strong>Note from the Author:</strong> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=176a1e147020" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PyMOL: 10 very basic commands that you really need to know- Part 2]]></title>
            <link>https://medium.com/@snippetsbio/pymol-10-very-basic-commands-that-you-really-need-to-know-part-2-6d1cf2621ca7?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d1cf2621ca7</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[biotechnology]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[biotech]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Sat, 13 Aug 2022 19:06:27 GMT</pubDate>
            <atom:updated>2022-08-14T06:30:07.343Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey people! Welcome to another blog episode with the Bioinformatics Manual, where we happily talk about all heard and unheard Bioinformatics software, in the easiest language possible!</p><p>Part 1 of the blog on PyMOL, we discussed 5 basic commands that could make your PyMOL life easier, and totally help you out navigating through the software. In this blog post, we will be adding another 5 commands, to our list of commands, helping you become a master of PyMOL! ( This blog is only a continuation of the Part1 blog of the same series, and I would suggest you go through Part 1, if you haven&#39;t gone through it yet, and only then move ahead with this blog post.)</p><blockquote><strong>Note:</strong> We will be using protein 6fey from the PDB database for proteins in this entire session. In case you haven’t downloaded the structure for the protein you can go ahead and read Part 1 of this blog to help you do the same. Not to mention we will be needing PyMOL installed on a Linux/Windows/Mac system.</blockquote><p>Awesome right? What are we waiting for then? Let’s begin!</p><h3>Command 6- Changing the background color of the PyMOL session</h3><p>Woohoo! This is gonna be a fun command! Easy and simple, you gotta type in the following in the PyMOL command box.</p><pre>bg_color white</pre><p>The color you specify after the keyword bg_color is the one you choose as your background, so choose carefully! Hehe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W1s5k4ZNPLiOmax7of2khg.png" /></figure><p>This is the result for choosing bg_color white. It’s great for publications and official stuff. Trust me.</p><p>Let’s try something cool now. How about cyan? Let’s try it.</p><pre>bg_color cyan</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fUMkeDDgeAJDAPecfFKtKA.png" /></figure><p>Looks cool! Yeahh! Awesome!</p><p>Finally, let’s revert it back to black since nothing’s better than black now, is it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJwzH631b_z890er4Be9Cw.png" /></figure><p>Awesome! Now that we know how to change the background color, let’s move on to the next awesome PyMOL command!</p><h3>Command 7- Removing the solvent in PyMOL</h3><p>Now sometimes, you might just find solvent molecules attached to a particular protein, and this happens because solvent molecules give stability to the protein structure.</p><p>There are interactions between the solvent and the amino acids of the protein (hydrophobic and hydrophilic) that you must have studied in your classes, but if you haven’t, not to worry, the solvent molecules are just there to help the protein stay in a particular configuration.</p><p>As a protein scientist (Uff, calling myself a protein scientist, how posh! I am actually not, but I wish I could be :)), or rather a protein structure specialist ( I don’t know if this job title actually exists hehe), I don’t really care about where the solvent molecules lie, and how they are oriented. It&#39;s the last thing I care about really. So, I want my protein structure but I wanna remove the solvent molecules.</p><p>How do I do that? Easy. Simple command to be put in the PyMOL command line.</p><pre>remove solvent</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vOZt9AlMS3-NIsk__MNMHQ.png" /><figcaption>This is my protein before removing the solvent. You can see small red solvent molecules surrounding my protein if you observe closely.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOhr8ALhR6dbJvU5sqXeOA.png" /><figcaption>Using the command, we have removed the solvent molecules. Woohoo!</figcaption></figure><p>And Ta-da! We’re done! Awesome! And my protein structure looks so pretty without those small interfering interrupting solvent molecules! Yay!</p><h3>Command 8- The help command in PyMOL</h3><p>I am a forgetful person. I am sure some people (some, I know most people reading this blog are super duper smart) like me, are forgetful, and folks this is the ultimate command for people like us!</p><p>The help command followed by any keyword (any word that makes sense to PyMOL) helps us to understand what that keyword can be used for. For example- let’s type in <strong>help color</strong> in the PyMOL command line and see what happens.</p><pre>help color</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edxhvmdRx-4_TgjdAOgxZg.png" /></figure><p>Typing help color in the command box gives us the following lines in the PyMOL console.</p><pre>EXAMPLE</pre><pre>    color cyan<br>    color yellow, chain A</pre><p>Therefore, some examples of using the color keyword would be to write “color cyan” in the command line and see your protein getting colored cyan.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ulfc7gtKcEwmM0LYgQdTnA.png" /></figure><p>Wow! So, this is what our protein colored in cyan looks like! Nice!</p><p>Or perhaps you just wanted to color the chain A of your protein yellow, and hence you would be specifying that by typing “color yellow, chain A” in the command box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nOfrU4apStGiIFC01073xg.png" /></figure><p>Woah! This protein looks so pretty now! And look how its chain A has been marked in yellow! Awesome!</p><p>And voila! You’ve learned how to use the color keyword, just by using the help keyword! As we saw, using this command, we can just get out of any sticky situation or even use this command to learn how to use even more commands! How awesome is that!</p><h3>Command 9- Saving your files and Snapshotting in PyMOL</h3><p>These are some of the important things now. Once you’re done playing around with your files, you would obviously want to save your files for future reference, and this is how you can do it.</p><h4>Saving your files -</h4><p>This is a basic thing only, but sometimes it might just get difficult to know how to save your files (if it&#39;s your first time). Therefore, this command is simple, but useful my friend. Here’s how you save a PyMOL file.</p><p>Go to the File tab at the top of the PyMOL page. Here you will see options like save session, export molecule, export movie as, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sq_-ts29HXFdzJma6B7C1A.png" /></figure><p>You have a couple of options for saving your work. Here are some of the important ones.</p><p><strong>Get PDB:</strong> This generates a PDB file of all the molecules that you have in your final PyMOL window. This means if you’ve removed some solvent molecules from the protein, their data will not be included in the PDB that will be generated.</p><p><strong>Save Session/Save Session As:</strong> This saves your whole session as a session file, and you can access it as a PyMOL file anytime, where you can continue to make changes and work on your protein. Your work gets saved as it is and you can continue from where you left off.</p><p><strong>Export Image As: </strong>Using this option, you can save images of your protein. This is an alternative to the Ray/Draw option that we are going to learn about.</p><p><strong>Export Movie As:</strong> Alternatively, we can also export the molecule and the protein structure as a movie/video, where our protein can be seen rotating around and moving on the screen. Sounds cool right? You gotta try it out!</p><p>Now that we know how to save our work, let’s move on to snapshotting a protein.</p><h4>Snapshotting a protein in PyMOL -</h4><p>Friends, we all absolutely love how beautiful protein structures are, how complex they are, how we admire them, and how complicated a biotechnologist’s life can often get, but if I wanna show my friend, my eventful journey with a protein, I need to show him pictures from the protein’s life.</p><p>So, here’s how you photoshoot a protein and make it model for you.</p><p>It’s easy. If you’ve seen the PyMOL page, you have an option on the right side of the page called Draw/Ray, and this is used to take snapshots of our protein.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SPBeTAl0eeBXm6x2ZJAzzQ.png" /></figure><p>When the dialog box for the Draw/Ray appears, put in the specifications, and use either Ray or Draw options. The Draw function is used for rendering images quickly, and the Ray option renders images slowly. The Ray option is supposed to give us high-def good quality images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*iH3Jd-SQSTc41G-u4kyKWg.png" /></figure><p>This is the image we got from the Draw option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*42bRuZySrWRhDwZ1A3bKfg.png" /></figure><p>Whereas this is the image we obtained using the Ray function. The Ray option is clearly better and gives us publication-level images. Awesome!</p><p>Next time you have a publication to make, and you gotta snapshot a protein structure, you know what to do! Woohoo! Awesome!</p><h3>Command 10- Aligning two proteins together to find the RMSD score</h3><p>Now, sometimes, you might just have another protein that you want to align your protein to, or maybe, you’ve performed homology modeling on a particular protein, and you wanna check how well your model has been built, in either case, you can definitely use this command to check the RMSD score.</p><p>This is some really cool functionality that PyMOL provides us with! Just follow the steps below to use this functionality.</p><p>We will first find a protein similar in structure to our protein <strong>6fey </strong>by performing a BLAST. We’ll go to the <a href="https://www.rcsb.org/">RCSB PDB page</a> and type 6FEY, as we did earlier, go to the download files option, and this time we will download the FASTA sequence. Save the FASTA sequence in a text file on your system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhgqdW98DI4HzH4rbkFaMw.png" /></figure><p>Now that we have the FASTA sequence, let’s go to the <a href="https://blast.ncbi.nlm.nih.gov/Blast.cgi">NCBI BLAST page</a> and do a protein BLAST since the FASTA sequence we have is of a protein.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PoiCXBv0cudNx-FaewXf0Q.png" /></figure><p>In the parameters for running the BLAST, choose the FASTA file we downloaded, in the Enter Query Sequence section, and give a Job title of 6FEY_similar_proteins. Choose Standard databases as the search set.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*syJWp83tIHEzpNylwU2RoA.png" /></figure><p>In the Standard option, choose Protein Data Bank proteins (PDB) from the dropdown, and choose blastp(protein-protein BLAST) in the Program selection. We could also change some parameters in the Algorithm parameters, however, for simplicity, we will keep all the Algorithm parameters default.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pNnDt2RnaCDNDpNsCAH94w.png" /></figure><p>Once we have put in all of the required parameters, we will click on BLAST, and run it. Woohoo! It might just take a few minutes for the BLAST to run, and that’s all right, you just need to have some patience, haha.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*twVOzLzUpG1u_Dpi-7BuFA.png" /></figure><p>Once you’re done running BLAST, you’ll get a table of this sort, that gives you the proteins similar to our protein 6FEY. Awesomeeee!</p><p>Have a look at the table, and you’ll find that the first protein in the list is 6FEY_A, which is our protein, and we want to choose a protein other than our protein, so we’ll choose the second protein, 4CBP_A as our similar protein.</p><p>Notice that, in the naming for the protein, 6FEY is named as 6FEY_A, where 6FEY is the name of the protein, and A refers to the chain A of the protein. Therefore, our protein is 4CBP, which we will fetch in the Python command. Awesome!</p><p>Type <strong>fetch 4CBP</strong> (see that fetch is not case sensitive) in the PyMOL command box to get the protein on your PyMOL visualizer.</p><pre>fetch 4CBP</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*PwbCAdEggt-jBSliZtgodw.png" /></figure><p>Looking at the protein, we can see that the protein has a lot of solvent molecules attached to it.</p><h4>Removing solvent molecules-</h4><p>These solvent molecules in a protein help it to maintain its structure, and hence they are also represented when you fetch a protein’s structure. However, we don’t need these solvent molecules for the alignment, and we will remove them using the <strong>remove solvent</strong> command.</p><pre>remove solvent</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*mLSSg0op_lYqiGvjz4ksfQ.png" /></figure><p>Removing the solvent molecules makes our protein look much cleaner, and now we are ready for the alignment! Yay! Let’s go!</p><h4>The alignment-</h4><p>We’ve fetched both the proteins onto the PyMOL visualizer screen, and now we type the command <strong>align 6fey, 4CBP</strong> (type the exact name of the proteins, as given in the layer) in the PyMOL command box, to align both the proteins.</p><pre>align 6fey, 4CBP</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*0IdW2UPIu6mLgHePHTdvKw.png" /></figure><p>This is what the alignment looks like, and to get the RMSD score, you can look at the RMSD value given in the PyMOL console, just above the command box.</p><p>The final RMSD score for this particular alignment is 21.762, which means this isn’t a very good alignment. Good alignment RMSD values are closer to 0. The closer RMSD is to 0, the better the alignment is.</p><p>Now that we weren’t able to find a similar protein with lesser RMSD, we will go back to our BLAST Results Page and choose another protein to align and check the RMSD.</p><p>However, this part, I leave to you as an assignment, which you can complete and put in the comment box below, and we will meet in the next blog, where we discuss more awesome software like PyMOL. Till then, bye-bye!</p><p>And Lemme know whence you become a PyMOL master, sire! Till then, keep practicing!</p><h3>To do more on PyMOL, refer to the following resources available online.</h3><ol><li><a href="https://pymol.org/pymol-command-ref.html">https://pymol.org/pymol-command-ref.html</a></li><li><a href="https://pymolwiki.org/index.php/Main_Page">https://pymolwiki.org/index.php/Main_Page</a></li><li><a href="https://pymol.org/2/">https://pymol.org/2/</a></li></ol><p>Congratulations on making it to the end! You’re a hard worker! Keep learning to work on new software every day! And thanks for reading!</p><blockquote>Simple.Concise.Precise. That’s the motto.</blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d1cf2621ca7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PyMOL: 10 very basic commands that you really need to know- Part 1]]></title>
            <link>https://medium.com/@snippetsbio/pymol-10-very-basic-commands-that-you-really-need-to-know-part-1-89eb77b61f7c?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/89eb77b61f7c</guid>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[biotechnology]]></category>
            <category><![CDATA[bioinformatics-tools]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Wed, 04 May 2022 11:37:41 GMT</pubDate>
            <atom:updated>2022-05-04T11:37:41.064Z</atom:updated>
            <content:encoded><![CDATA[<p>Gracias! Gracias for choosing to read this blog on the 10 commands that you need to know, yes really really need to know, to get your hands dirty on using PyMOL. Now, if you are just a beginner starting out with PyMOL, trust me, these commands are gonna be some of the most useful ones in your bioinformatics journey. So what are we waiting for? Let&#39;s begin!</p><p>Also, do read the whole blog to find a secret command that could make your life easier! Have fun reading!</p><p>We&#39;ll cover the very basics of using PyMOL as we go along the blog. And in case you are wondering what PyMOL is used for, PyMOL is a great software, absolutely great, that can be used for the visualization of any kind of protein. PyMOL uses Python programming language in the backend, to show you all the beautiful visualizations, and hence the Py at the beginning of PyMOL.</p><blockquote><strong>Pre-requisites: To learn to use PyMOL, we will have to download a protein structure from the RCSB PDB page, and then load it in PyMOL. Follow the steps below to do so.</strong></blockquote><blockquote><strong>Step 1 — </strong>Go to the <a href="https://www.rcsb.org/">RCSB PDB page</a> and type 6FEY in the search box as shown below. 6FEY is the pdb name of the protein that we are interested in. (Crystal structure of Drosophila neural ectodermal development factor Imp-L2 with Drosophila DILP5 insulin). Click on the search icon to make the search.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9CyUC4JwaEVqxcU2ekaMg.png" /></figure><blockquote><strong>Step 2 — </strong>On the page with the protein structure, you will find a <strong>Download files</strong> option on the top right corner. Click on the option and download the PDB Format of the file on your system. This will be the file we will be working with.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1qmU4BJrZt5HNlbRoiaWew.png" /></figure><blockquote><strong>Another pre-requisite, is a very obvious pre-requisite, which is installation of PyMOL. For downloading PyMOL, go to </strong><a href="https://pymol.org/2/"><strong>pymol.org</strong></a><strong> and download the latest version of the software. And for the installation of PyMOL on your system, you can refer to the PyMOL documentation </strong><a href="https://www.pymol.org/install.html?"><strong>here</strong></a><strong>.</strong></blockquote><p>Now that we are done with the pre-requisites, let&#39;s begin working with PyMOL. On starting up PyMOL, You might get a window for Activation, and in that case, you can always click on Skip Activation and use the software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*IqOu7aw6hSw_-6a6GgNLiw.png" /></figure><p>Once PyMOL is set up on your system, this is what it should look like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*gu4-2R14IS1K8aCP9iajlQ.png" /></figure><p>This is great! This means we are ready to start working! Woohoo! Let&#39;s begin!</p><h3>Command 1- Loading the protein structure in PyMOL</h3><p>Now, there are two ways of loading the protein structure in PyMOL-</p><h4>The usual way-</h4><p>Go to File on the navigation bar above the PyMOL window, and click on Open, to choose a PDB file from your system. Once you choose the file, it will be loaded into PyMOL, and you will be able to work with the file pretty easily.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*_HRUOo-WBbR89qM4R2b85w.png" /></figure><h4>The shortcut way-</h4><p>Just type in <strong><em>fetch 6fey</em></strong> ( which is our protein of interest) in the PyMOL command box and click enter, to get the structure of your protein directly.</p><pre>fetch 6fey</pre><p>Yay! That&#39;s awesome! Isn&#39;t it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*r6sAy9VUpWD6A6E4F0goyQ.png" /></figure><p><strong>Note-</strong> This shortcut works only for structures from the RCSB PDB website, and for structures downloaded from anywhere else, you will have to fetch the structure in the usual way.</p><h4><strong>Advantage of the shortcut-</strong></h4><p>When loading files from PDB, this can be a useful command, since, you don&#39;t have to download and store the file on your system, and you can directly work with the protein molecule in PyMOL. Cool right! Let&#39;s go to Command 2 now!</p><h3>Command 2- Making and renaming a selection</h3><p>Let&#39;s say we loaded our protein molecule into PyMOL, and we want to make a selection of certain atoms from the molecule, what do we do?</p><p>PyMOL is simple. Just click the molecules you want to select and they will get selected.</p><p>Just to show you, I have clicked a couple of random places, and the atoms there have got selected. These selected atoms have been marked by the <strong>(sele) </strong>layer on the right-hand side of our protein atom depiction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*UyD5B2-WhZbc5KgXXiesmw.png" /></figure><p>Now, to rename this group of atoms that we have selected, we will go to the <strong>&#39;A&#39; </strong>option in the <strong>(sele)</strong> layer and click on rename selection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*SLFupRYc5FJ-ZzrTfDg8Nw.png" /></figure><p>Once you click on rename selection, you will be prompted to enter a new name for the layer. Delete the sele name, and rename it as random selection. Once you&#39;re done renaming, click on enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*-8UIivzXmTNP02GOL7LbtA.png" /></figure><p>This new name will now appear amongst the layers on the right. Yay! Awesome!</p><h4>The usefulness of this command-</h4><p>You can select and rename selections or layers, to mark a particular domain or a particular active residue, and even color it to depict it visually. Isn&#39;t that awesome?</p><p>To deselect your selection, just click anywhere on the PyMOL screen other than the protein. Easy.</p><p>Also, since I spoke about coloring, why not color our randomly selected molecules? Woohoo, coloring! Let&#39;s head to command 3!</p><h3>Command 3- Colouring a layer/selection</h3><p>We learned about loading our protein, selecting some atoms out of it, and renaming the layer of those atoms to a name of our interest, uff… tough work, wasn&#39;t it? Well, let&#39;s have a bit of fun now coloring all of our atoms.</p><p>Go to the PyMOL command box, and type in <strong>color yellow, random_selection</strong> as shown below.</p><pre>color yellow, random_selection</pre><p>This should color your selected atoms yellow.</p><p>The format to apply color to a selection of atoms or layers is- <strong>the word color followed by name of the color ( could be blue, pink, red, yellow, whatever color&#39;s your favorite), followed by a comma and the name of the layer.</strong></p><p>Therefore, <strong>color yellow, random_selection </strong>colors my random selection of molecules yellow. How cool is that!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*EXha7vTfiheGxO5ksljDGw.png" /></figure><p>Let&#39;s color a bit more since I am not satisfied. Hehe.</p><p>Let&#39;s do<strong> color cyan.</strong></p><pre>color cyan</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*ysHRgupQYOhNqa_8De_ZKA.png" /></figure><p>Oooooooo….this looks good. Look, since I haven&#39;t mentioned any selection, the whole protein is colored cyan. Now, let&#39;s color chain A green in color.</p><p>The command for this would be- <strong>color green, chain A</strong></p><pre>color green, chain A</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*N8lpkiiYsZ56dOzDWN3DNQ.png" /></figure><p>Nice! Please let&#39;s color chain B as well!</p><p>Cool! The command for that would be- <strong>color yellow, chain B</strong></p><pre>color yellow, chain B</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*Ty90aI0HMzZX8DNCaIpa3Q.png" /></figure><p>Nice! Such a pretty depiction!</p><p>Wow! Feels awesome to have learned to color my layers, selections, and even chains, let&#39;s now go to command 4? Sure! Why not!</p><h3>Command 4- Using buttons A, S, H, L, and C</h3><p>If you&#39;ve had a good look, each of the layers on the right-hand side of our protein molecule, have buttons A, S, H, L, and C attached to them. You can just click on any of these buttons and options to execute them.</p><p>A: A stands for Action, S: S stands for Show, H: H stands for Hide, L : L stands for Label, and C: C stands for Color.</p><h4>1. Lights, Camera, <strong>ACTION!</strong></h4><p>The Action button is basically a variation of your edit button, through which you can perform any kind of editing task. There are many options present under the Action button, and we will discuss them later, in a detailed blog on this particular button and its options.</p><h4>2. SHOW them what you got!</h4><p>The <strong>Show</strong> button consists of options to change the appearance of the protein structure and depict other molecules of the protein structure like organic molecules, main chain molecules, side-chain molecules, disulfides, and valence atoms. The default appearance of the protein is called a cartoon-type structure.</p><h4>3. You can HIDE it from the world, but not yourself.</h4><p>The <strong>Hide </strong>button consists of options to basically <strong>Hide</strong> what you can <strong>Show </strong>using the show button. Hehe. It also consists of options to hide everything on the PyMOL screen, to hide water and hydrogen molecules from the protein structure, and hide unselected atoms and molecules. You can hide main chain atoms, side-chain atoms, and valence atoms additionally.</p><p>The Show and Hide buttons are used together to help you see your structure in a particular light, not light, I mean perspective, not perspective maybe, but you understand right…the way you want to see the structure basically. Let&#39;s look at an example to understand this correctly.</p><h4>2+3. Example using Show and Hide buttons together</h4><p>Let&#39;s say I wanna see my protein structure like a mesh ( if you remember, <strong>mesh</strong> is an option under the Show button ).</p><p>I&#39;ll basically go to the Show button on my protein <strong>(6fey)</strong> layer and click on the mesh option to convert my cartoon protein structure into a mesh protein structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*00c6lQkvPKmXULXukeL9LQ.png" /></figure><p>This is what a mesh structure looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*3U_Ww_pIAYsV3IV0kbUAyA.png" /></figure><p>Isn&#39;t it pretty? It absolutely is! But we can still see the cartoon structure from inside the mesh. Let&#39;s say we don&#39;t want the cartoon structure, and I only want the mesh.</p><p>I will now click the <strong>Hide</strong> button on my protein layer (6fey) and then click the cartoon option to hide the cartoon from my screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*SB_uWeoTcf946DkfZmDp4A.png" /></figure><p>This is what our mesh structure looks like without the cartoon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*G0WQppPGSMXSMGEMkDUIVg.png" /></figure><p>Isn&#39;t it super-duper pretty? Uff…I love it. So beautiful!</p><p>I love the mesh structure, but then, my bestie wants me to do a surface-type protein structure. I don&#39;t wanna part with my mesh, but then I love my bestie too, so okay, let&#39;s go for the surface-type structure.</p><p>The strategy here is that we will first <strong>Show </strong>the surface protein structure, and then <strong>Hide</strong> the mesh structure. Follow the pictures below to understand how we can achieve this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*6EqijT_FIiEENvxv-3Ck1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*U1lWeiB8kUqSwJapfvnbWw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*aPw4UK8RBsS6Auk2BVIpvA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*EFifhPNyPglhpc7ZEDN0Zg.png" /></figure><p>Awesome! My bestie&#39;s happy now, and so am I. We&#39;ve learned how to use Show and Hide together for our protein structures! Yay!</p><h4>4. LABEL me a freak!</h4><p>Talking about the <strong>Label </strong>button, this gives you various options to label your atoms in the protein structure, including labeling by residue name, atom name, one letter code, b-factor, occupancy, Vander-Waals radius, formal charge, etc.</p><p>You can also label using atom identifiers like rank/ID/index and user-given properties like entity_id.</p><h4>5. COLOR it rainbow! Yay!</h4><p>You have a <strong>Color</strong> button too! We learned how we could change the color of our protein, layers, selections, as well as chains using the color command in the PyMOL command box. Alternatively, we also have a color button present on each of the layers, from which we can choose the colors we want.</p><p><strong><em>The following options are also available.</em></strong></p><p><strong>a. </strong>We can color the carbons, hydrogens, oxygens, and nitrogen, present in the protein structure by using the color by element option. (by element)</p><p><strong>b. </strong>We can color the chain by using the color by chain option. (by chain)</p><p><strong>c. </strong>We can color the secondary structures- helix, sheet, loop by using the color by ss option. (by ss)</p><p><strong>d. </strong>We can color the structure by representation using the color by representation option. (by rep)</p><p><strong>e. </strong>We can also use a spectrum of colors. Color it rainbow! (spectrum)</p><p><strong>f.</strong> And if you&#39;re lazy, go to the auto option to color automatically. Hehe.(auto)</p><h4>Psssssst…A secret button…</h4><p>So, the secret button we&#39;re gonna talk about is the show sequence button. If used correctly, this button can make your PyMOL visualization life so much easier. But where is this button?</p><p>This button is located at the bottom-est tab of PyMOL and is denoted by a capital <strong>&quot;S&quot;</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*5pSVhagmDl5SGqq-N8cL7w.png" /></figure><p>Clicking on this button will provide you with the sequence of your protein molecule.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*DduaoS7YVziyNfiwQMXIZA.png" /></figure><p>Voila!</p><p>The advantage of having the sequence of your protein is that, you don&#39;t need to make any more randomized selections, you can go ahead and select your own part of the protein from the sequence, and it will get selected in the protein structure on the PyMOL screen. Isn&#39;t that awesome?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*SVAoTLTCITLG3v8GiBZnpg.png" /></figure><p>Awesome! Let&#39;s head to command 5 now!</p><h3>Command 5- Increasing and decreasing the transparency of the structure</h3><p>This is a fun command now. For increasing and decreasing the transparency of our structure, we can use the command <strong>set cartoon_transparency, 0.60 </strong>where 0 means more opaque and closer to 1 is more transparent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*RkH2N4HEM8F1CaA1u5fsoQ.png" /></figure><p>Look how transparent our structure looks after decreasing the transparency. And now, if we want to get our structure back to how it looked earlier, we can type <strong>set cartoon_transparency, 0 </strong>(since 0 refers to opaque) in the PyMOL command box.</p><pre>set cartoon_transparency, 0</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*3fzjDYKvlbXcfjZdv-25dg.png" /></figure><p>Aaaaand our structure is back!</p><p>Let&#39;s do <strong>set cartoon_transparency, 1</strong> to see what happens.</p><pre>set cartoon_transparency, 1</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*YlrF-8z2eFU63vI2kVtlyQ.png" /></figure><p>Therefore, by setting our cartoon_transparency to 1, our protein structure becomes completely transparent, and we can&#39;t see our structure anymore. Boom. Gone.</p><p>Cool right! Didn&#39;t you have some fun with all these PyMOL commands today? To learn a couple more important commands in PyMOL, do keep on a lookout for Part 2 of this blog. Trust me, things are gonna be so much easier, once you have these commands practiced and learned well.</p><p>Lemme know whence you become a PyMOL master, sire! Till then, keep practicing!</p><p>Congratulations on making it to the end! You’re a hard worker! Keep learning to work on new software every day! And thanks for reading! Meet you in Part 2!</p><blockquote><em>Simple.Concise.Precise. That’s the motto.</em></blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89eb77b61f7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MODELLER usage for Homology Modelling: Result Analysis and choosing the best model — Part 3]]></title>
            <link>https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-result-analysis-and-choosing-the-best-model-part-3-4692cde57804?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/4692cde57804</guid>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[modelling-and-simulation]]></category>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[modelling]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Wed, 02 Mar 2022 14:17:37 GMT</pubDate>
            <atom:updated>2022-03-02T14:17:37.495Z</atom:updated>
            <content:encoded><![CDATA[<h3>MODELLER usage for Homology Modelling: Result Analysis and choosing the best model — Part 3</h3><p>Greetings of the day to you! Welcome to another episode of the Bioinformatics Manual where we learn how to use all known and unknown kinds of bioinformatics tools and software. I just hope you&#39;re having an awesome day today, and this blog makes it even better. Let&#39;s begin!</p><p>Today, we are going to look at how to analyze our results obtained from MODELLER in Part 2 of this blog series.</p><p>In <a href="https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-tutorial-with-codes-in-5-simple-steps-part-1-8e83ee2ec2b7">Part 1</a> of the blog series, we had a look at how to select the right template protein ( the protein on which we will be basing our model ) for homology modeling ( by checking for missing residues in the protein ) and generate a PIR file. In <a href="https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-tutorial-with-codes-in-5-simple-steps-part-2-9c888399db59">Part 2</a> of the blog series, we wrote codes in Python to generate an alignment file between the template and target protein (the protein that we need to model ) and made 5 model structures of our target protein based on the template protein.</p><p>In this blog, we will be looking at what are the different methods you could use to analyze your models- PyMOL visualization, DOPE scores, ERRAT scores, GA341 scores, mol pdf scores, PROCHECK, and Ramachandran Plots. We will also look at how we can choose the best model out of these 5 models generated. And what&#39;s the cool thing? <strong>You can actually use the same analyses for other Homology Modelling software as well.</strong> Isn&#39;t that awesome? So what are we waiting for? Let&#39;s go!</p><h3>MODELLER Result Analysis</h3><p>These are our results after generating the model structures for our target protein, based on the template.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*R7y33avaAZ-m1gaNqHWMNw.png" /></figure><h3>1. PyMOL visualization</h3><p>The five models that we made, each have a PDB file associated with them, and therefore, the good thing is that we can make visualizations of our model in PyMOL and align our models with the actual model to obtain the <strong>RMSD score</strong>. RMSD score is a measure of how similar our model is to our template protein. The lesser the RMSD score, the better our model is.</p><p>To find out the RMSD score, open your model file using PyMOL ( I am opening the first model, PRO1.B99990001.pdb file in PyMOL ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*YmFMA8E1wOCrPdtVOvY6Mw.png" /></figure><p>This is what my model looks like. Now, we will type <strong>&quot;fetch 3l9e&quot; </strong>beside the <strong>PyMOL&gt;</strong> symbol in the rectangular box. This is the PyMOL command line. Once you do that, you will also be able to see our template protein in PyMOL as follows-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*Obp2-cao9rl6YGgXa2ihhA.png" /></figure><p>You can click on the <strong>&quot;A&quot; </strong>symbol near 3l9e protein and remove water molecules from the protein to visualize the proteins more clearly. Additionally, you can also remove the part that we did not use for modeling, but that&#39;s up to you. This is what the proteins look like after removing waters-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*9dRf6A_dO8Vd-4D-oDg1vw.png" /></figure><p>It looks much better now! Let&#39;s now align both the proteins to find the RMSD score.</p><p>For making the alignment, go to the Plugin tab at the top of the PyMOL window, and click on alignment. Don&#39;t change the default parameters and click OK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*E2eJTRp66B1IyOI3RNKKGQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*4U9fHnY9PVnUnA_lLOB2mA.png" /></figure><p>The alignment will give us the RMSD score, above the PyMOL command line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*sjUJqJrFZQ2lyoWjfZ1p4w.png" /></figure><p>The RMSD score for this model is 0.151, which shows that it is a fairly good model.</p><p>We repeat this procedure for all of our five models and record the scores in a Google sheets document. Here are what the scores look like for different models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*BN0jpPQ90ebKaX2UNm4prg.png" /><figcaption>RMSD scores for different models. Model 2 looks like the best one with a very low RMSD score of 0.143, but the model needs to be evaluated on more parameters.</figcaption></figure><p>Now that we are done with PyMOL visualization and RMSD scores, let&#39;s move on to DOPE scores, GA341 scores, and mol pdf scores.</p><h3>2. DOPE scores, GA341 scores, and mol pdf scores</h3><p>These scores are generated in the log files that we get while generating the models in MODELLER. These set of scores are exclusive to MODELLER.</p><p>In the set of files that we obtained after modeling, we have a file called second_python.Py.log, and this is our log file. Opening this file in notepad or a code editor and scrolling to the end gives us DOPE scores, GA341 scores, and mol pdf scores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*UVTtTAnNiM_SsLS3YsDNcA.png" /></figure><p>But then how do we find the best model on basis of these scores?</p><p><strong>DOPE scores</strong> are a measure of the energy of a model, and hence a lesser DOPE score or a <strong>more negative DOPE score</strong> is preferred for our homology model. Our second model ranks best on the DOPE score value.</p><p><strong>mol pdf scores</strong> are also a measure of energy for the model, and hence a<strong> lesser positive value</strong> is preferred for a good model. Our first model ranks best on mol pdf score value.</p><p><strong>GA341 scores </strong>are the<strong> best when they are 1</strong>, and the worst when they are closer to 0. These are based on sequence identity. All our models have a 1 GA341 value.</p><p>We will put these scores in our Google sheet as well so that we have all these scores in one place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*gvAjmlq9cA4aUuvJBaV0cw.png" /></figure><p>Moving on, we will go to the <strong>SAVESv6.0</strong> server, to check <strong>ERRAT</strong> Scores, and make <strong>Ramachandran Plots</strong>.</p><h3>3. The SAVESv6.0 server</h3><p>The <a href="https://saves.mbi.ucla.edu/">SAVESv6.0 Structure Validation server</a> can be used for running a variety of programs related to analyzing the structure of your protein, namely — ERRAT, Verify3D, PROVE, WHAT CHECK, PROCHECK and CRYST. The most popular of these programs are <strong>ERRAT </strong>and <strong>PROCHECK</strong>, which we will use today to verify our modeled structures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*M3APsYNrA2Ahfxx6eQOZOw.png" /></figure><p>To use ERRAT and PROCHECK, go to the <a href="https://saves.mbi.ucla.edu/">SAVESv6.0 Structure Validation server</a> and click on <strong>&quot;Choose file&quot;</strong> to choose one of your models. ( Let&#39;s begin with model 1 ).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTNWF0D29L4xdqXz71LBnw.png" /></figure><p>Once the file is uploaded, click on <strong>“Run Programs”</strong>, to get the various programs you can run using the SAVES server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*7acTjI0vcJTi65lQ2H4Tww.png" /></figure><p>Click on the Start button under ERRAT and PROCHECK to start the Programs. It takes lesser time for ERRAT to run, and it gives you the overall quality of your model, whereas PROCHECK gives you the Ramachandran Plot for the model, and hence takes a long while to run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*vyA8UKY4Tzr4pba9Kv_sZQ.png" /></figure><p>This is what our ERRAT and PROCHECK evaluations look like. A good ERRAT score is closer to 100, and a good PROCHECK score is when the model passes all of the 8 evaluations without giving warnings and errors. For a detailed analysis of each of them, click on the Results under any one of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*gMcyraFfcInsw2_J_nvEIQ.png" /><figcaption>Detailed ERRAT scores from the SAVES server for the first model.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*548vK-TjLIlfcf9rreuzwg.png" /><figcaption>Detailed PROCHECK evaluations from the SAVES server for the first model.</figcaption></figure><p>You can also have a look at the Ramachandran Plot in the PROCHECK evaluations, and check the percentage of residues in the most favored regions of the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*5v2V19B9kPZ5ie9b_C879w.png" /><figcaption>Ramachandran Plot showing residues in most favored, additional allowed, generously allowed, and disallowed regions, for the first model.</figcaption></figure><p>We can repeat the same process to get ERRAT scores and PROCHECK evaluations for all of our models and update our Google sheet with the ERRAT scores, PROCHECK evaluations, and the percentage of residues in most favored regions given by the Ramachandran Plot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I4V9PJnbyNO4_8iEitA1EA.png" /><figcaption>In the PROCHECK evaluations, for PRO1.B99990001, 2E is short for 2 Errors, 3W is short for 3 Warnings and 3P is short for 3 Passes. Similarly, evaluations are given for other cases too.</figcaption></figure><p>And with this, we are done analyzing our models using different scores and parameters! Awesome!</p><p>But wait! With so many different parameters, it is super confusing to choose just one model out of these five! Ohh no! How do I do so? Let&#39;s learn.</p><h3>Choosing the best model</h3><p>With so many different scores to evaluate our model on, it is just tough to make a decision, telling us which is the best model that we can further use for molecular simulations or things like that.</p><p>In case you know which particular scores you want to choose to decide the best model, then that&#39;s alright. But in case you don&#39;t, I have developed a method that will help you choose the best model.</p><h4>The Rank Based Sum Method</h4><p>In this method, we will rank each of the scores/evaluations from 1–5 for each of our models, based on comparisons amongst them. If there are the same numbers appearing for the scores, we will provide them with the same rank.</p><p>For example, lower RMSD score models get a lesser rank, and higher RMSD scores get a higher rank.</p><p>Let&#39;s have a look at how we will be implementing this method in our case to make things clearer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*D1bckJgEWA9QI-ZWqSTGxA.png" /></figure><p>I hope it&#39;s clear now, how we are ranking based on the relevancy of the scores. Let&#39;s complete this table for all of our scores/evaluations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BmTwzSSxhNIzzM79IzoTiw.png" /><figcaption>Ranking method for choosing the best model</figcaption></figure><p>This is what our table looks like after adding the ranks of the scores, for each of the models. Look at how GA341 Ranks are all 1 since all of the scores were 1. PROCHECK Ranks are all 2, except the third one since it has more passes than the others. Ramachandran Plot Ranks are the same for two cases, and hence, the ranking has gone up only till 3.</p><p>Now that we have our table, we will sum up the ranks for each of the models, and choose the model with the lowest sum. This will be our best model.</p><p>For example, PRO.B99990001 has a sum of 3 (RMSD Rank) + 1 (mol pdf Rank) + 2 (DOPE Rank) + 1 (GA341 Rank) + 1 (ERRAT Rank) + 2 (PROCHECK Rank) + 2 ( Ramachandran Plot Rank ) = 12</p><p>Similarly, we take the sum for the other models as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*i6Rnmu1A6YaaCllqrhHsFQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*crVRqrNI6LXH5ZzBY90h-Q.png" /></figure><p>Therefore, our best model is PRO.B99990001.</p><p>P.S: In case we have the same SUM models, we can apply weightage to some particular scores/evaluations that we want to optimize our model for. For example — if we give a weightage to RMSD Rank greater than the PROCHECK Rank, we might get different results.</p><p>P.P.S: Kindly refrain from mentioning this method in an academic paper or journal, since it is a method developed solely by me to help me rank the models.</p><p>Aaaaaand with this we are done with our analysis, and choosing the best model! Wohoooo! Amazing! You aced it! Thanks for reading till the end! You&#39;re a hard worker and you&#39;ll definitely bear the fruits of your labor! Well done!</p><p>That&#39;s all for today! Keep learning to work on new software every day! And thanks for reading!</p><blockquote>Simple.Concise.Precise. That’s the motto.</blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4692cde57804" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MODELLER usage for Homology Modelling: Tutorial with codes in 5 simple steps — Part 2]]></title>
            <link>https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-tutorial-with-codes-in-5-simple-steps-part-2-9c888399db59?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c888399db59</guid>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[modelling]]></category>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[modelling-and-simulation]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Wed, 02 Mar 2022 14:10:00 GMT</pubDate>
            <atom:updated>2022-03-02T14:19:53.331Z</atom:updated>
            <content:encoded><![CDATA[<h3>MODELLER usage for Homology Modelling: Tutorial with codes in 5 simple steps — Part 2</h3><p>Hello and welcome to the Bioinformatics Manual, where we deal with all known and unknown software and make it easier for you to learn Bioinformatics! Yay!</p><p>This is a three-part blog and you can find the first part of the blog series <a href="https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-tutorial-with-codes-in-5-simple-steps-part-1-8e83ee2ec2b7">here</a>.</p><p>In Part 1 of this blog, we discussed how to download the FASTA sequence of the target protein (the protein that we want to model ) and run a BLAST to choose a similar template protein (a protein on which we will base our model ). We also discussed how to look for missing residues in PyMOL, and made a PIR file at the end of the blog.</p><p>In this part of the blog, we will continue writing more codes, make our structure and analyze the results obtained. Since the first three steps were dealt with in the first blog, we will begin with Step 4 in this blog.</p><h3>Step 4- Making, Saving, and Running your first Python file</h3><p>If you remember from the last blog, our template was 3L9E_A protein from PDB, and our target protein was the superoxide dismutase 1 from Drosophila melanogaster, and we had downloaded the FASTA sequence for both of these proteins.</p><p>Now, the first step towards homology modelling is to make an alignment of our target and template, and we will do the same using a Python code. You could use any code editor for writing the code, I use VS Code, but it&#39;s upto you to choose any other software.</p><blockquote><strong>A small important note to remember-</strong> whatever codes you need to run, or whatever files you are downloading or generating, PDB files etc., put all of them in one folder itself, and run all your codes from that folder itself.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*Mrq-gk0yooDbSptMavp_ag.png" /></figure><h4>Making the Python file:</h4><p>Here&#39;s the code you need to put into your code editor.</p><pre>from modeller import *<br><br>env = environ()<br>aln = alignment(env)<br><br>mdl = model(env, file=&#39;3l9e&#39;, model_segment=(&#39;FIRST:A&#39;,&#39;LAST:A&#39;))<br>aln.append_model(mdl, align_codes=&#39;3l9eA&#39;, atom_files=&#39;3l9e.pdb&#39;)<br>aln.append(file=&#39;tar_pro.pir&#39;, align_codes=&#39;PRO1&#39;)<br>aln.align2d()<br>aln.write(file=&#39;alignment.ali&#39;, alignment_format=&#39;PIR&#39;)</pre><p>Explaining most parts of this code is not in the scope of this blog, but I will be explaining everything that is important to generate your homology model.</p><p>The first couple of lines of the code are just importing some packages and functions in Python, and the important code starts from line 4, wherein the model function you need to put your protein name in the file section i.e, <strong>file = &#39;3l9e&#39;</strong>, and the chains of our protein is given by <strong>model_segment. </strong>Since we are using only Chain A of our protein for modelling, we fill <strong>FIRST:A</strong> and <strong>LAST:A, </strong>in case, we were using Chains A, B and C for modelling, we would have put in <strong>FIRST:A </strong>and <strong>LAST:C</strong>.</p><p>Moving to the next line of code, fill in your protein name, with the chain in the align_codes section and your protein pdb file name in the atom_files section. Therefore, <strong>align_codes =&#39;3l9eA&#39;</strong> and <strong>atom_files= &#39;3l9e.pdb&#39;.</strong></p><p>In the next line of code, in the file section, our pir file has to be put i.e, <strong>file = &#39;tar_pro.pir&#39;</strong>, and in the align_codes; if you remember in the PIR file, we had named our protein as PRO1; we need to put that here i.e, <strong>align_codes = &#39;PRO1&#39;</strong></p><p>Now, in the last line of the code, you need to give a name to your output alignment file, and I am naming it as alignment.ali, with the alignment_format set to PIR. Therefore, <strong>file =&#39;alignment.ali&#39;</strong> and <strong>alignment_format=&#39;PIR&#39;</strong>.</p><h4>Saving the Python file:</h4><p>We have made our Python file, and we need to save it with an extension of .Py. Go to the File option in the code editor you&#39;re using and click on Save, or you could simply do Ctrl+S (on Windows)/Cmd+S (on Mac) to quickly save your file. Save your file as filename.Py. I have saved it as <strong>first_python.Py.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*gsrfO8j8N7kLhO1G3PiTAg.png" /></figure><h4>Running the Python code:</h4><p>Go to your Command Prompt / Windows Terminal ( on Windows )/ Terminal ( on Mac ), type <strong>cd</strong> ( stands for change directory ), and drag and drop your folder into the command line window. You should see the path to your folder appear on the window.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DYK-AVNbkDyuX1DsnqquWw.png" /></figure><p>Once you have the path, click Enter. Now, you have changed your working directory to the folder we stored all our files in! Awesome! Let&#39;s now work on running our Python code that we just made, from the command line. Type in the following in your command line.</p><pre>mod10.2 first_python.Py</pre><p>In the code above, mod10.2 refers to the version of MODELLER you have installed on your system and first_python.Py is the file we just made for generating the alignment file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4TbbU9hJvpQ5BJHdiEtmxQ.png" /></figure><p>Wait for a while until the code runs, and once the code has been run, you should obtain two files- a log file, <strong>first_python.Py.log, </strong>and an alignment file, <strong>alignment.ali</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*3rzpQbdoC1QwB8Ljq_supw.png" /></figure><p>And with this, you&#39;re done with Step 4! Awesome! Congratulations! Good progress! Let&#39;s go to Step 5 now!</p><h3>Step 5- Making your second Python file</h3><p>In a very similar way to the earlier Python file we made, we will make a second Python file containing the instructions to make homology models for our protein from the generated alignment file.</p><pre>from modeller import *<br>from modeller.automodel import *<br>#from modeller import soap_protein_od<br><br>env = environ()<br>a = automodel(env, alnfile=&#39;alignment.ali&#39;,<br>              knowns=&#39;3l9eA&#39;, sequence=&#39;PRO1&#39;,<br>              assess_methods=(assess.DOPE,<br>                              #soap_protein_od.Scorer(),<br>                              assess.GA341))<br>a.starting_model = 1<br>a.ending_model = 5<br>a.make()</pre><p>Again in this code, the top few lines correspond to the packages and functions being imported, and are not very relevant to us. Line 5 is of importance to us, where we need to put in the name of the alignment file in the alnfile field, protein name with chain in knowns field, and protein name from PIR file in the sequence field. Therefore, <strong>alnfile = &#39;alignment.ali&#39;</strong>, <strong>knowns = &#39;3l9eA&#39;</strong> and <strong>sequence = &#39;PRO1&#39;</strong>.</p><p>Coming to the last couple of lines, <strong>a.starting_model</strong> should be set to <strong>1</strong>, and <strong>a.ending_model </strong>is the number of models we want to generate for our homology modelling purpose. I have set this value to 5 here, which means I will be generating 5 models for my target protein, and choosing the best model out of these 5 models. You can generate as many models as you like by changing the number for a.ending_model.</p><p>We will save this file as <strong>second_python.Py</strong> and run it in the terminal using mod10.2, to generate our 5 models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*BYwTc3K47az8q_iiyta8Kg.png" /></figure><pre>mod10.2 second_python.Py</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t5NUBwGLXFoBkUomDHFxvw.png" /></figure><p>You can sit back and enjoy a cup of tea since this could take a while, especially when you&#39;ve ordered a larger number of models to be made.</p><p>After the code is run, you will get the following files as output- .ini, .rsr, .sch files, PDB files for each of the five models, D and V type files for each of the 5 models, and finally a log file, second_python.Py.log for the whole computation. The PDB files for the 5 models and the log file are important and relevant for us, whereas the other files are just some modeling-based optimization files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*m0ZfiaVVcEKM_wPaeoyDFQ.png" /></figure><p>And you&#39;re done with generating your models! Step 5’s completed! Yay! Awesome work! Proud of you kid!</p><p>To analyze the results obtained after this step, and to choose the best model out of the five models generated, read the blog on MODELLER Result Analysis <a href="https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-result-analysis-and-choosing-the-best-model-part-3-4692cde57804">here</a>.</p><p>Congratulations on making it to the end! You’re a hard worker! Keep learning to work on new software every day! And thanks for reading!</p><blockquote>Simple.Concise.Precise. That’s the motto.</blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c888399db59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MODELLER usage for Homology Modelling: Tutorial with codes in 5 simple steps — Part 1]]></title>
            <link>https://medium.com/@snippetsbio/modeller-usage-for-homology-modelling-tutorial-with-codes-in-5-simple-steps-part-1-8e83ee2ec2b7?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e83ee2ec2b7</guid>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Wed, 02 Mar 2022 14:03:22 GMT</pubDate>
            <atom:updated>2022-03-02T14:03:22.535Z</atom:updated>
            <content:encoded><![CDATA[<h3>MODELLER usage for Homology Modelling: Tutorial with codes in 5 simple steps — Part 1</h3><p>Aloha! Welcome to another blog from the Bioinformatics Manual where today we discuss how to use Modeller to perform Homology Modelling. So what are we waiting for? Let&#39;s get started!</p><p>Small note for you, in case you are a bit confused about Homology Modelling or the software MODELLLER, coz, that&#39;s what we are using today.</p><h4><strong><em>Homology Modelling:</em></strong></h4><p>In simple words, let&#39;s say you have a protein molecule <strong>&quot;A&quot;</strong> that is a newly found protein, or it is a protein that is difficult to purify ( proteins are super-duper tough to purify, ufff I wish they weren&#39;t ), then we try finding a similar protein molecule to this molecule, say <strong>&quot;B&quot;, </strong>and <strong>based on the structure of B, we try to develop the structure of A. </strong>Now, I agree that the structure might not be absolutely correct, but it still helps us understand what the structure of A could look like, and further study its properties. Now typically in homology modelling, you call the protein <strong>&quot;A&quot; </strong>a target protein, because that is what we are targeting to find the structure of, and we call <strong>&quot;B&quot;</strong> a template protein because it is a template to build our target structure on it.</p><h4>Modeller:</h4><p>Now Modeller is just another software that will help us make the structure of our <strong>&quot;A&quot;</strong> protein. There are just many other software in the market that you can also use alternatively, for example — Swiss Model, I-TASSER, PHYRE2, etc. I plan to write blogs on all of them, so feel free to use any software you&#39;d like to use for your project.</p><blockquote><strong>Note: </strong>I&#39;ll go super easy mode of using modeller in this blog, but if you wanna look at an advanced mode of usage, do look up the documentation for the software.</blockquote><h4><strong>Pre-requisites:</strong></h4><ol><li>Install <a href="https://code.visualstudio.com/download">VS Code</a> or any other code editor on your system, so that you can write and run all the code required for using modeller. You need a code or text editor, basically like a notepad, where you can write all your codes (instructions) for what you want the program to do for you.</li><li>Go to <a href="https://www.ncbi.nlm.nih.gov/">NCBI (National Center for Biotechnology Information)</a> and type <strong>NP_476735.1 </strong>to search for superoxide dismutase 1 from Drosophila Melanogaster. This is the protein that we want to model, so, firstly we will be taking the FASTA sequence of this protein. Copy the <a href="https://www.ncbi.nlm.nih.gov/protein/NP_476735.1/?report=fasta">FASTA sequence</a> and keep it ready, we will be using it in just a while!</li><li>Get PyMOL for your system, we will be performing some protein visualizations in PyMOL.</li><li>The most important installation is MODELLER, you need to install this software on your system using a license key that you obtain after a basic process of registration on the website.</li></ol><p>Now that we have our code editor, PyMOL, MODELLER, as well as protein FASTA sequence, we are done with the pre-requisites. So what are we waiting for? Let&#39;s begin!</p><h3>Step 1- Perform BLAST to search for a similar structure to your required protein.</h3><p>Our protein is the superoxide dismutase 1 from Drosophila Melanogaster, for which we have copied the FASTA sequence from the NCBI website. Now, go to <a href="https://blast.ncbi.nlm.nih.gov/Blast.cgi">NCBI BLAST (Basic Local Alignment Search Tool)</a>, and choose the <strong>Protein BLAST</strong> option, since we want to find proteins similar to our protein.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_bnzs8F6E3tb-eyYEQEgXg.png" /></figure><p>Once you click on the Protein BLAST option, you need to fill up a short form asking for specifications of the search you are performing in BLAST.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rx4VyHNCBV-jIkfrzKVG8Q.png" /></figure><p>Paste your copied FASTA sequence in the Query box ( Box with <strong>Enter accession number(s), gi(s), or FASTA sequence(s)</strong> written on top), change the database from <strong>non-redundant protein sequences (nr) </strong>to <strong>Protein Data Bank proteins(pdb), </strong>and let the remaining parameters be set to default. You can also choose other databases as per your preference, but choosing PDB allows us to use a verified protein structure for our modeling.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ehohjOJtCqVDU8l2NnZbfQ.png" /></figure><p>Finally, click on the big blue BLAST box at the end of the page, to perform BLAST for our protein.</p><blockquote>P.S: You could change the other default parameters if you&#39;d like to, and in case you want to learn more about what all the different parameters mean, and how to use them, let me know in the comment box below this blog. I&#39;ll definitely try to make a blog on them as well.</blockquote><p>BLAST usually takes a couple of minutes to perform sometimes, so sit back and enjoy a chip until your BLAST results arrive. My BLAST results are here, and I will check them out, let&#39;s see how they look! Yay!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QHNLbj7yegLTIydwNQW4Ig.png" /></figure><p>This is a glimpse of what my results look like, and I have good results with a lot of proteins similar to my protein, which simply means I have a lot of options to choose from. Awesome! Let&#39;s go ahead and try to choose a protein for our purpose.</p><p>Aaaaaand we&#39;re done with Step 1! Let&#39;s head to Step 2! Woohoo!</p><h3>Step 2- Using PyMOL to check for missing residues in our template</h3><p>Now, before we choose our protein, we need to check whether our chosen protein has any missing residues. If there are any missing residues in the structure of the protein, we will be rejecting this protein, and looking for another.</p><p>To check if there are any missing residues, you can go to <a href="https://www.rcsb.org/">RCSB PDB</a> and type 3L9E in the search box ( 3L9E_A is the accession code for the protein from NCBI where 3L9E is the PDB ID and A is the chain of the protein. The following is what you will be able to see once you do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tLTW6PviFPsitsuULiPv3Q.png" /></figure><p>Once you have this page, click on the Download Files box on the top right corner of the page, and download the PDB version of this protein.</p><p>After downloading the file, open the file in PyMOL, using <strong>Open with PyMOL </strong>on your system, or by opening PyMOL, go to the <strong>File option</strong>, and use <strong>Open</strong> to open the Molecule.</p><p>Move the molecule around to check for any missing residues. Missing residues are marked with dotted lines, so if you see them anywhere, you should instantly relate them with missing residues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*o4PbLnfn__NXjTW082mwUA.png" /></figure><p>In case, loading our molecule in PyMOL, we see missing residues, then this protein is a no-no for homology modeling since it will give us issues with MODELLER. But, there is nothing to worry about, in that case, we just gotta go back to our initial list, and choose another protein to repeat this process of checking.</p><p>In our case, however, there are no missing residues and we can directly use the first protein for our modeling.</p><blockquote><strong>Shortcut:</strong> To load proteins from PDB directly into PyMOL, just search for <strong>PyMOL&gt; </strong>and type fetch &lt;protein pdb code&gt; in the box beside it. Let&#39;s say we want to get the pdb structure of 3l9e in PyMOL, we will write<strong> fetch 3l9e</strong> in the box beside <strong>PyMOL&gt; </strong>and press enter, and tadaaa! our structure is fetched. Awesome! However, remember that always enter the protein name in the lower case. This shortcut works well when you don&#39;t want to download a lot of files on your desktop.</blockquote><p>Alternatively, to check for missing residues you can open the downloaded PDB file in a notepad or code editor, and search for the work <strong>REMARK 465 </strong>in the file. If there is no REMARK 465 in your file, then there are no missing residues! Awesome! Yay!</p><p>And with this, we are done with Step 2 of our Homology Modelling Procedure! Let&#39;s head to Step 3!</p><h3>Step 3- Downloading FASTA sequence and making a PIR file</h3><p>Now that we have both our proteins, the template (3L9E_A from Bombyx Mori) and our target (NP_476735.1<strong> </strong>superoxide dismutase 1 from Drosophila Melanogaster), we can make a PIR file.</p><p>Open your code editor ( I have VS code but you can work on any other code editor as well ) and copy-paste these lines into it.</p><pre>&gt;P1;PRO1</pre><pre>sequence:PRO1:::::::0.00: 0.00</pre><pre>MVVKAVCVINGDAKGTVFFEQESSGTPVKVSGEVCGLAKGLHGFHVHEFGDNTNGCMSSGPHFNPYGKEHGAPVDENRHLGDLGNIEATGDCPTKVNITDSKITLFGADSIIGRTVVVHADADDLGQGGHELSKSTGNAGARIGCGVIGIAKV*</pre><p>This is the format of a PIR file. The first line <strong>P1;1PRO</strong>, refers to our protein <strong>NP_476735.1</strong>, and what we will be referring to it hereafter. Therefore, from now on we will refer to our target protein as <strong>1PRO</strong>. You can give it any name you want to. <strong>sequence:PRO1:::::::0.00: 0.00 </strong>is just a code for showing that we are putting in the sequence of this protein below. The last line is made of the FASTA sequence of our target protein followed by an asterisk (*).</p><p>Finally, this file should be saved with a .pir extension, for example, tar_pro.pir.</p><p>And we are done making our PIR file, which we will now be using in our homology modelling procedure! Awesome!</p><p>With this, we come to the end of Step 3! Yay!</p><p>And with this, we also come to the end of Part 1 of Homology Modelling of Proteins using MODELLER! Yay! Give yourself a pat on the back! You&#39;re halfway there already!</p><p>In the Part-2 of this blog, we will learn how to make Python files, generate the structures for our target and then choose the best one out of them.</p><p>Congratulations on making it to the end! You’re a hard worker! Keep learning to work on new software every day! And thanks for reading! Meet you in Part 2!</p><blockquote><em>Simple.Concise.Precise. That’s the motto.</em></blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e83ee2ec2b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TMHMM server usage and result analysis in 3 simple steps]]></title>
            <link>https://medium.com/@snippetsbio/tmhmm-server-usage-and-result-analysis-in-3-simple-steps-4a37edfead39?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a37edfead39</guid>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[biotechnology]]></category>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[bioinformatics-tools]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Tue, 14 Dec 2021 07:37:29 GMT</pubDate>
            <atom:updated>2021-12-14T07:43:24.776Z</atom:updated>
            <content:encoded><![CDATA[<p>The TMHMM server is used for predicting Transmembrane domains in proteins that have been recently found. The most recent release of the TMHMM server is the <a href="https://services.healthtech.dtu.dk/service.php?TMHMM-2.0">TMHMM 2.0</a>. In this blog, we discuss how we can use this server to make our transmembrane predictions as well as do an analysis of the results obtained from this server. And let&#39;s do this whole process in just 3 simple steps! What are we waiting for? Let&#39;s go!</p><blockquote>Pre-requisites: We will be using the Insulin-like growth factor receptor protein from Uniprot for this blog.</blockquote><h3>Step 1- Submitting a FASTA sequence to the TMHMM server</h3><p>Open the <a href="https://www.uniprot.org/">Uniprot website </a>and type Insulin in the search box. Click on the first protein that appears. IGF1R_HUMAN from Homo sapiens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*__nwud8wSsZs58TjMQCy7A.png" /><figcaption>Choose the top result i.e., the IGF1R_HUMAN protein and click on the entry number P08069</figcaption></figure><p>Go to the top result and click on its entry number i.e., P08069. It should open up a page as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S3kqbGzINSK55aApKPs3pw.png" /></figure><p>Scroll down on the page to find the sequence section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MMieaYbM8H57ARwcFX4S6g.png" /></figure><p>Click on the blue-colored FASTA button with the down arrow, to get a text file of the sequence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*THrzdGvgRORKjxL0e1bX6Q.png" /></figure><p>Select the whole sequence using Ctrl+A (Windows)/Cmd+A (Mac) and then copy the sequence using Ctrl+C (Windows)/Cmd+C (Mac). Alternately, you could also download the sequence by right-clicking the text page and saving it as a text file on your computer.</p><p>Once you&#39;re done copying the sequence, you can paste the sequence in the TMHMM server using Ctrl+V (Windows) / Cmd+V (Mac) on your system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T-k3MN11vmr9UvE4vWODzw.png" /></figure><p>This is how the sequence looks after pasting. Awesome! We&#39;ve completed step 1, let&#39;s head to Step 2! Woohoo!</p><h3>Step 2- Choosing options in the TMHMM server</h3><p>Once we&#39;ve pasted our sequence, the TMHMM server gives us some options for viewing our results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6W8XqDZnB1vg-hauDDDz6w.png" /></figure><p>We can choose the output format as extensive, with graphics, extensive, with no graphics, and one line per protein.</p><p>The extensive, with graphics form, gives us a visual depiction and chart of the transmembrane region and from where to where it lies in the protein.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*n7_6aSlzz_68vmTXsU1oSg.png" /></figure><p>Whereas the extensive, without graphics option, doesn&#39;t provide us with a chart but gives us an extensive summary of where the transmembrane domain lies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wqu5UlcufKqdGdzeQG8dWA.png" /></figure><p>The one line per protein gives just a one-line summary of where the transmembrane domain lies and is really helpful in cases where you want to upload multiple FASTA sequence files, and quickly understand where the transmembrane regions of each of those proteins lie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6MzmF4uLEWmQ8PK167DsPg.png" /></figure><p>For this blog, we choose the extensive, with graphics option and we will also have a look at the one-liner option later. And then for the other options, we don&#39;t want to use the first version of the server, so we don&#39;t check the box near the use old model option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*MZOC9m3F-sYytsG-qMt6yg.png" /></figure><p>This is how our options look like now. We click on submit to submit our sequence. It takes a couple of minutes to predict the transmembrane region and then you have your results! Awesome! And with that, we&#39;re done with Step 2! Let&#39;s go to Step 3! Yay!</p><h3>Step 3- Result analysis from the TMHMM server</h3><p>In Step 3, we analyze the results we have obtained from the TMHMM server, and this is undoubtedly the most important part of the whole blog. So let&#39;s begin!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*n7_6aSlzz_68vmTXsU1oSg.png" /></figure><p>Let&#39;s go line-wise to make things easier, and then move on to the diagram to try to understand what it depicts.</p><p><strong>Line 1:</strong> The first line shows the length of the protein query we had provided the server with. In this case, the length was 1367.</p><p><strong>Line 2: </strong>The second line tells us the number of transmembrane domains that were found in the protein. In this case, there is only one transmembrane domain that was found.</p><p><strong>Line 3: </strong>The third line tells us the expected number of amino acids in transmembrane domains. If the number in this line is above 18, there is a transmembrane domain present positively in the protein. In our case, the number is 31, showing that on average there our transmembrane region is 31 amino acids long, and since 31&gt;18, there exists a transmembrane domain in our protein.</p><p><strong>Line 4:</strong> This shows the expected number of amino acids in transmembrane domains in the first 60 amino acids of the protein. In case this number is large, a transmembrane domain might be predicted somewhere between 1–60 positions, and we have to check if the transmembrane protein is not a signal peptide, coz, there is a high possibility it could be.</p><p><strong>Line 5:</strong> The &#39;Total Prob of N-in&#39; term indicates the total probability of N-terminal being on the cytoplasmic side of our transmembrane domain. In our case, this probability number is 0.15024 ( the closer it is to 1 the better ), which means the probability of the N-terminal being on the cytoplasmic side is very less, indicating that the N-terminal is not on the cytoplasmic side.</p><p><strong>Line 6,7,8:</strong> Line 6 directly shows the positions outside the transmembrane domain, line 7 shows the amino acid positions for the transmembrane domain, and line 8 shows positions inside and on the other side of the transmembrane domain.</p><p>Now that we have a good understanding of what the lines mean, let&#39;s try to understand what the graph in the result depicts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*V9PVVipggX8ZWy3uR_5_nA.png" /></figure><p>Looking at the graph, you can say that the positions 0–1367 are marked on the X-axis and the probabilities are marked on the Y-axis. The probability of transmembrane is marked with a solid red color, probability of the inside part is marked with blue, and probability of outside with pink.</p><p>The faint blue and pink lines in the graph show the actual probability of a particular position being inside, outside, or on the transmembrane domain, whereas solid lines depict an overall probability of the position being inside/outside or on the transmembrane domain.</p><p>For example, in a couple of positions beginning from zero, the probability of that position being outside is around 0.82, inside is around 0.17, and on the transmembrane domain is around 0.18. Therefore, overall, the position is assumed to be outside of the transmembrane domain.</p><p>Awesome!</p><blockquote><strong>Bonus:</strong> Sometimes when the expected number of transmembrane amino acids is greater than 10 in the first 60 positions, you might get a warning, given by <strong>&#39; POSSIBLE N-term signal sequence &#39; </strong>which means there might just be a signal peptide in the first 60 positions.</blockquote><h4>One-liner result interpretation:</h4><p>Now, you usually won&#39;t have any issues even if you don&#39;t have the graph to look into, and when you use the extensive, no graphics option because most things are going to be the same. But, if you use the one-line option, you might just see a few more terms that might be difficult to understand. So, let&#39;s look at a one-liner result from the TMHMM server as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*Yja3w7YeVQJTV9UGOi3iYg.png" /></figure><p>Looking at the one-liner, it is evident that we first have the name of the protein &#39; sp|P08069|IGF1R_HUMAN &#39; and then the length of the protein as 1367.</p><p><strong>ExpAA: </strong>This is the expected number of amino acids in the transmembrane domain and in our case is 31.46.</p><p><strong>First60: </strong>This is the expected number of transmembrane amino acids in the first 60 amino acids of the protein. And in our case is 3.25.</p><p><strong>PredHel: </strong>This is something new in this one-liner, and it simply shows the number of transmembrane helices predicted in the protein. In our case, only one transmembrane domain is predicted in the protein.</p><p><strong>Topology: </strong>This gives the positions of amino acids in the transmembrane bounded by an &#39; i &#39; or &#39; o &#39; meaning inside or outside the transmembrane domain. In our case, the topology is given by &#39; o936–958i &#39; which can simply be read as 0- 935 lies outside, 936–958 is the transmembrane and 959–1367 is inside and after the transmembrane.</p><p>Easy right!</p><p>I guess with this we are done with the third step of result analysis as well! Yay! This is amazing! We’ve concluded from our observations of the graph that our transmembrane domain sequence lies from 936–958 positions of the protein!</p><p>Awesome! Amazing! This is cool! We’ve found out where our transmembrane domain is! This calls for some celebrations! Woohoo!</p><p>But I guess that should be it for today! Congratulations on making it to the end! You’re a hard worker! Keep learning to work on new software every day! And thanks for reading!</p><blockquote><em>Simple.Concise.Precise. That’s the motto.</em></blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a37edfead39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Signal P server usage and result analysis in 3 simple steps]]></title>
            <link>https://medium.com/@snippetsbio/signal-p-server-usage-and-result-analysis-in-3-simple-steps-f763be82a64d?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/f763be82a64d</guid>
            <category><![CDATA[genetics]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <category><![CDATA[genomics]]></category>
            <category><![CDATA[biotechnology]]></category>
            <category><![CDATA[signal]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Sun, 07 Nov 2021 19:19:39 GMT</pubDate>
            <atom:updated>2021-11-07T19:19:39.235Z</atom:updated>
            <content:encoded><![CDATA[<p>SignalP is a server used to predict the signal peptide for proteins. SignalP 5.0 is the latest version. Here we are going to predict the signal peptide for the Insulin-like growth factor 1 receptor (IGF1R) protein. You can find it on Uniprot <a href="https://www.uniprot.org/uniprot/P08069">here</a>. (click on &#39;here&#39;) ( Uniprot is a protein database by the way )</p><p>You might just ask…seriously? like seriously? Can&#39;t you find it through literature? What&#39;s the use of a signal peptide prediction software/server? Stop right there, coz, you&#39;re wrong. You could definitely find signal peptides for insulin, but let&#39;s say you have a protein that you&#39;ve newly found, or maybe a protein for which signal peptides are not mentioned in the literature, (which I hope is your reason for reading this blog ) this is when the signal peptide server works as a great tool, finding unknown signal peptide regions for newly found proteins.</p><p>So, what are we waiting for? Let&#39;s begin!</p><h3>Step 1- Open the Signal Peptide 5.0 Server and Upload your protein sequence</h3><p>Use this <a href="https://services.healthtech.dtu.dk/service.php?SignalP-5.0">link</a> (click on the word &#39;link&#39; ) to open up the SignalP 5.0 server. It is an online server and is completely free, so you don&#39;t have to worry about downloading it on your system or even requiring an authentication key, awesome right!</p><p>Now that you&#39;ve opened the server, download the FASTA sequence of <a href="https://www.uniprot.org/uniprot/P08069#sequences">this</a> (click on the word &#39;this&#39; ) protein from the Uniprot database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJUQIuSnso9yRAAvotn8jA.png" /></figure><p>You should be able to see this when you open the link. Click on the download (down arrow) FASTA to download the FASTA sequence of the protein. It leads you to a page where you can just copy the sequence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S0oKRAeX1BkeKPaCjQQPoQ.png" /></figure><p>Select the sequence using Ctrl+A (for Windows)/ Command+A (for Mac), copy using Ctrl+C, and paste it using Ctrl+V in the SignalP server. Uff loads of controls! ( or commands if you&#39;re on a mac ) Once you&#39;re done, this is how it should look like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-W1Er1l5QPSqA452TtWCrA.png" /></figure><p>Awesome! We have already reached the end of Step 1! Woohoo! Let&#39;s start with Step 2!</p><h3>Step 2- Put in specifications for your run and click on Submit</h3><p>There are just a few specifications that you need to put in to run the job on this server, the first one being your organism group. Eukarya is all and everything of animals (Homo sapiens, mus musculus all come under this category). Gram-positive and Gram-negative are obviously bacteria and Archaea is Archaea coz we were never taught about it. Haha.</p><p>Now, the long output will give you results with where the signal peptide is located, and that&#39;s good because we want to see where it is located. But if you don&#39;t want that, it&#39;s fine, you can also go for a short output without the figures.</p><p>You also can choose and upload a FASTA sequence that you have downloaded and kept in a file on your desktop, just hit the choose file option and upload your file. You can choose the specifications in a similar way.</p><p>Once you are done with your specifications, just click on submit and let your server run to find the signal peptide sequence that&#39;s playing hide and seek!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-W1Er1l5QPSqA452TtWCrA.png" /></figure><p>Done with Step 2! Nice! Short and sweet! Let&#39;s head to step 3, which is the awesome part.</p><h3>Step 3- Analyse your results from the server</h3><p>It hardly takes a couple of minutes for the server to run and give you results, until then, have patience!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*GTggyaOTGXcRVFZ2E_dbOw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*yyIDTkYrZOT374gaG-bWZQ.png" /></figure><p>Voila! My results are here! But they&#39;re weird, what do they even mean?</p><p>Let&#39;s understand step by step.</p><p>You have a download list right at the beginning of the result page, and it gives you a summary of the run in all file formats — JSON summary (JSON format), Prediction summary (text format), Processed entries fasta (FASTA format), Processed entries gff3 (gff3 format), and all results compressed zip (zip file format). You can download all or any of them according to your convenience.</p><p>Now let&#39;s head on to the actual prediction and the graph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*yyIDTkYrZOT374gaG-bWZQ.png" /></figure><p>Here, sp_P08069_IGF1R_HUMAN is the protein we provided to the signal peptide server. And we have a prediction of our Signal Peptide being (Sec/SPI). But what does that mean?</p><p>Now we could possibly have four notations/predictions here according to the signal peptide server documentation. But what do they mean?</p><p>If we have a (Sec/SPI) notation, it means that our Signal Peptide found is a secretory signal peptide.</p><p>If we have a (Sec/SPII) notation, it means that our Signal Peptide is a lipoprotein signal peptide.</p><p>And if we have a (Tat/SPI) notation, it means that our Signal Peptide is a Tat signal peptide. What&#39;s a Tat signal peptide? Here&#39;s what I found. The Tat signal peptide consists of three motifs: the positively charged N-terminal motif<strong>,</strong> the hydrophobic region, and the C-terminal region that generally ends with a consensus short motif (A-x-A) specifying cleavage by signal peptidase. Okay cools, awesome!</p><p>What if we have an (OTHER) notation? That simply means you don&#39;t have a signal peptide in your protein. Okay, I got it!</p><p>Now that we know that we have a secretory signal peptide, let&#39;s move ahead. We can clearly see that there is a cleavage site between positions 30 and 31 on the protein, and it is a cleavage site with a probability of 0.9354, which is really good. The closer it is to 1, the better it is.</p><p>We can also see a table with the likelihood of our signal peptide being a secretory signal peptide as 0.9967, which is absolutely great ( again close 1 is better ) and the likelihood of a signal peptide being absent is 0.0033, which means there is a signal peptide present in our protein. Awesome!</p><p>What does the graph mean now?</p><p>Looking at the legends, you can say that the secretory signal peptide sequence has been denoted by a solid red line ( SP (Sec/SPI)), the cleavage site (CS) has been denoted by a dashed green line, and the other sequence by a dotted yellow line. And the x-axis denotes our protein sequence and the y-axis denotes the probability.</p><p>Let&#39;s follow the red line first (secretory signal peptide ) to see what happens with it. We observe that the probability of having a secretory signal peptide at the first few protein positions is very high, and the probability quickly and sharply drops to almost zero at the 30th position of the protein. That simply means we have a secretory signal peptide sequence from starting of the protein to the 30th position. Awesome! Cool right!</p><p>Now, let&#39;s follow the dashed green line that shows us the cleavage sight. We observe that the probability of a cleavage site quickly rises at the 30th position and falls back down to almost zero. Simply put, this means that we have a cleavage site at the 30th position! Ba-bam! Awesome!</p><p>Finally, let&#39;s follow the dotted yellow line that stands for other, which simply means there is no signal peptide in that region. Look at how the dotted yellow line is almost zero at the first few positions and rises up after the 30th position indicating that there is no signal peptide after the 30th position. Awesome right!</p><p>This is amazing! We&#39;ve concluded from our observations of the graph that our secretory signal peptide sequence lies from 1–30 positions of the protein and there is a cleavage site at position 30 followed by no more signal peptide sequences in the rest of the protein!</p><p>Awesome! Amazing! This is cool! We&#39;ve found out where our signal peptide is! This calls for some celebrations! Woohoo! Wasn&#39;t this fun?</p><p>But I guess that should be it for today! Congratulations on making it to the end! You’re a hard worker! Keep learning to work on new software every day! Thanks for reading!</p><blockquote><em>Simple.Concise.Precise. That’s the motto.</em></blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f763be82a64d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualizing protein-protein docking using PyMOL]]></title>
            <link>https://medium.com/@snippetsbio/visualizing-protein-protein-docking-using-pymol-cc49494e54bb?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc49494e54bb</guid>
            <category><![CDATA[bioinformatics]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Wed, 13 Oct 2021 04:47:02 GMT</pubDate>
            <atom:updated>2021-11-08T07:28:44.277Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey people, we&#39;re back with another episode, and in this episode, we work on visualizing our protein-protein docking results using PyMOL. If you&#39;re making these visualizations, you have essentially downloaded the PDB structures of two molecules (receptor and ligand), that you want to dock, and docked them using protein-protein docking software like ZDock/ PatchDock or Cluspro, downloaded the docked PDB files, and installed PyMOL to visualize these receptor-ligand interactions.</p><p>Trust me, this is gonna be super fun and easy to learn, and you can even put these in a publication that you wanna make! The end result looks something like this-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*nqHlFC2A59ItDH3TRB4XvQ.png" /></figure><p>What are we waiting for? Let&#39;s get started!</p><p>Just follow these five simple steps to make your own visualization!</p><h3>Step 1- Open the PyMOL software and load your docked PDB structure</h3><p>Open PyMOL and go to File →Open and open your docked PDB structure. I open my docked structure in PyMOL, and this is what it looks like-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*UtMaWn6ksejHftyN7wx__w.png" /></figure><p>I have two molecules docked here as we can see, 1IGR and 1B9G, which are my receptor and ligand(protein) that are docked here.</p><p>You can access the structures of 1IGR and 1B9G from the links that I have provided you with at the end of this blog. You can also download the docked structure from the link below so that it&#39;s easier to follow along with this blog. These two proteins have been docked using <a href="https://bioinfo3d.cs.tau.ac.il/PatchDock/">PatchDock</a>.</p><p>I will type in the following commands in the PyMOL command line (the one of top <strong>PyMOL&gt;</strong>) and hit enter-</p><pre>remove solvent </pre><p>This command removes all the solvent molecules from the docked proteins.</p><pre>show sticks, byres 1IGR within 5 of 1B9G</pre><p>This command reads as show <strong>sticks by residues of 1IGR with 5 angstroms of 1B96</strong>. We will similarly write a command for 1B96 as well.</p><pre>show sticks, byres 1B96 within 5 of 1IGR</pre><p>This is just the other way round.</p><pre>bg_color white</pre><p>This command changes the background of the PyMOL interface to white. I personally feel that this is great for publications!</p><p>Typing these four commands into the PyMOL command line, we are done with Step 1, and here are our results!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*AmLnC_T2SOiPZc4a1LJPsQ.png" /></figure><p>This already looks really pretty! Let&#39;s head to Step 2!</p><h3>Step 2- Some more commands in general and on the PyMOL command line</h3><p>Since, we want to highlight the sticks that we have shown, and not the other molecules and cartoons, I would like to make the cartoons less opaque. Here&#39;s a command that I put into the PyMOL command line.</p><pre>set cartoon_transparency, 0.60</pre><p>This sets my cartoon transparency to 0.60, closer to 0 means more opaque, and closer to 1 means less opaque and more transparent. This is how our docked proteins look like now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*Zx1szD3K5uuyrSqCqAfb1A.png" /></figure><p>Nice! Less opaque than before.</p><p>Let&#39;s now get rid of all the red-colored PO4 (phosphate) ions that we have. We will do this by clicking on these atoms to select them and then hide them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*2zRNmKn6miAVZVqk-B783g.png" /></figure><p>Once you have selected all these phosphate ions, you will be able to see a new layer added by the name of <strong>(sele). </strong>Go to the A (All) option near the (sele) layer, and click on it. This will give you a dropbox with various options.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*RFdyUiJ4tL-JX8WgrUnYhA.png" /></figure><p>Click on the rename selection option and rename your selection as <strong>Phosphate_ions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*jf8KGQ28kyyENxLnVaH9Vw.png" /></figure><p>Now that you have another layer called Phosphate ions, you can deselect them by clicking anywhere on the white screen, and then clicking the H option to hide <strong>everything.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*AewlcRLwkq_qGJ1NlQeY1g.png" /></figure><p>This is how things look like now. We will also hide other atoms that are attached with 1IGR by clicking on them and renaming the layer as <strong>Other_atoms. </strong>In case you&#39;re unable to identify those other atoms, click on C on the 1IGR layer, and click on the <strong>by chain</strong> option inside the by chain option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*nv2XKjJ6T80imWgzg1RYOA.png" /></figure><p>This is what our docked proteins look like now.</p><p>In case you have used the color by chain option, and your sticks look completely green instead of having those blue and red caps on them, you can go to C in the 1IGR layer, and click on by element and choose the very first option. This will bring back the small caps on your sticks denoting Carbons, Nitrogens, and Oxygens.</p><p>And we&#39;re done with Step 2! Let&#39;s get exploring and check out Step 3 now!</p><h3>Step 3- Searching and selecting residues forming contact bonds</h3><p>In this section, we want to look at the polar contact bonds that have been formed between our docked molecules and select them.</p><p>For doing this, we will click on the A (All) option on the 1B9G (ligand) layer and click on Find.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*X8tnr1befMU9_K8oemwy3Q.png" /></figure><p>Out of the various options <strong>Find</strong> has, we will choose polar contacts and click on <strong>any atoms. </strong>This should give us the following.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*TJxctQnlgGLeosGmdMf1ZA.png" /></figure><p>This structure doesn&#39;t look any different, but when you observe closely and carefully, you will find that there are <strong>yellow-colored bonds</strong> that have been added to the structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*9Rimuwihh4Oq5xZKx78lpA.png" /></figure><p>Now, to choose the residues that are forming these bonds, we will hide both the 1IGR structure and the 1B9G structure by just clicking on them in the layer tab once. Once they are hidden, only the bonds will be visible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*1wkLe_8cMJxFJ0icNuEnFQ.png" /></figure><p>We will zoom in into one of the bonds, or a group of bonds at a time, and then click on the 1B9G layer once again to unhide it. Once we are at this level, we can select all residues forming these bonds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*CKhbhy1f4D1cWa-zPzciDA.png" /></figure><p>Similarly, select all the residues involved in bond formation. Hide the 1B9G layer once again to see if all contact bonds have one side selected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*gUvs3wrDeeHk7SW_PeGJ6w.png" /></figure><p>Now, unhide the 1IGR layer and select all the binding residues. Don&#39;t forget to zoom in, zooming in helps you identify the correct residues. Once you&#39;re done, check if both sides of the contact bond have been selected or not. If in case you&#39;ve left something somewhere, just hide and unhide to choose those residues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*EsNp3AlMD4jEjqs9sgVgJA.png" /></figure><p>Rename selection as Contact_bond_residues by choosing the A option in the (sele) layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*JprFMq8eOk8ZHA-9MzO7lw.png" /></figure><p>We have selected both sides of our contact bonds and now we want to show the contact bond residues. But before that, we will click on 1IGR and 1B9G to make them visible again. Once they are visible we will click on the <strong>Hide</strong> option and hide <strong>sticks </strong>for both of the compounds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*TJaD6X6U7ulKes0B83JDDw.png" /></figure><p>Once you&#39;ve hidden sticks this is what it looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*ZiBCKqpGkVCnU8Y0QFWxkA.png" /></figure><p>Now click on the S (Show) option of the (Contact_bond_residues) layer, and click on sticks. This shows the sticks for the residues you have selected. Now you can unselect the (Contact_bond_residues) layer by clicking anywhere on the white screen and this is what you get.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*fTI9iKVAVK1Qy6diFPc8oA.png" /></figure><p>Yay! This looks great! We have all the residues that are forming contact bonds and the bonds themselves between them! Awesome!</p><p>Let&#39;s move on to Step 4 to learn how to label your contact residues and bonds.</p><h3>Step 4- Label your residues using the 2-button editing mode</h3><p>Click on the L (Label) option on your (Contact_bond_residues) layer, to do the labeling for your residues. Choose the residues (one letter) option for showing only one letter and the position of your residues.</p><p>This is how your labeled docked protein should look like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*_bQ9uZsz1MEWpvk2fUcINg.png" /></figure><p>You can see how the labels are right on the top of your residues and it is really difficult to understand or make out what these residues are. Don&#39;t worry.</p><p>Just click on the Mouse →2-Button Editing and then Ctrl+drag (Windows) / Cmd+drag (Mac) the residue labels that you&#39;ve made to put them in proper positions. Now be careful while using Ctrl+drag, coz, it could also move other parts of your docked structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*nqHlFC2A59ItDH3TRB4XvQ.png" /></figure><p>Yay Yay Yay! We&#39;re done with making our publication-level image! Doesn&#39;t it look awesome!</p><p>Let&#39;s head to the final step now, that&#39;ll help us export our image!</p><h3>Step 5- Draw/Ray to take a picture, and you&#39;re done!</h3><p>Now that we are done with our image, all we need to do is to click on the Draw/Ray option on the top right, take an image in your preferred dimensions and save it to your computer. You&#39;re done!</p><p>I guess that should be it for today! Congratulations on making it to the end! It was a really long blog and you did great! You’re a hard worker! Keep it up! And thanks for reading!</p><blockquote>Simple.Concise.Precise. That’s the motto.</blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><p>PDB file for 1IGR: <a href="https://drive.google.com/file/d/18BHGJr8sJQ8klyoJjnF12caNgFSu94GM/view?usp=sharing">Google drive link</a></p><p>PDB file for 1B9G: <a href="https://drive.google.com/file/d/1l3-o3jrLNB4pfgMXuVPEWHFxOKVDyxqE/view?usp=sharing">Google drive link</a></p><p>PatchDock file: <a href="https://drive.google.com/file/d/1bUOQcFpC2yyb0fk-8CtvZbYVyCDT1Dd2/view?usp=sharing">Google drive link</a></p><p>Choose the first PatchDock file that you get for your further observations, the first PatchDock file is considered to be the best. In case you&#39;re curious about how to use PatchDock and analyze its results, go ahead and search for one of my blogs on it. Thanks!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc49494e54bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TritrypDB: Making a strategy in 5 simple steps]]></title>
            <link>https://medium.com/@snippetsbio/how-to-make-a-strategy-in-tritrypdb-f3aa0cd13b30?source=rss-263853d573ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3aa0cd13b30</guid>
            <category><![CDATA[parasites]]></category>
            <category><![CDATA[biotechnology]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[bioinformatics]]></category>
            <dc:creator><![CDATA[The Bioinformatics Manual]]></dc:creator>
            <pubDate>Mon, 11 Oct 2021 16:14:17 GMT</pubDate>
            <atom:updated>2021-11-08T06:29:28.437Z</atom:updated>
            <content:encoded><![CDATA[<p>TriTrypDB is an excellent software if you work with parasitic species and wanna look up specifications of parasitic products in a database. Today, we&#39;ll look at how to make a search strategy using TriTrypDB.</p><p>But why do we want to make a search strategy in the first place? It reduces our effort in finding specific types of parasitic products. Oh really? How?</p><p>If you&#39;re making a search strategy, you want to find out parasitic products that follow some rules, like they are all from a particular species, all kinases, and all contain a transmembrane domain. Just specify all these rules in the search strategy, and voila, you&#39;re done! Cool na!</p><p>Let&#39;s begin with making a strategy then!</p><p>But before we make our strategy, we need to specify our rules-</p><ol><li>All products that are I am looking for are genes that code for kinases.</li><li>All products that I am looking for are from the Trypanosoma cruzi CL Brener Esmeraldo-like strain.</li><li>All products that I am looking for have a Transmembrane domain OR a Signal peptide.</li><li>All kinases that I am looking for have Molecular Weight between 30–50 KDa.</li></ol><p>Now that we have all our rules, we can follow these five simple steps to make a strategy!</p><h3>Step 1- Open TriTrypDB and click on the Searches tab to begin</h3><p>Open <a href="https://tritrypdb.org/tritrypdb/app">TriTrypDB</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*va2GnrlPE70ezp2PrpHiSw.png" /></figure><p>This is the first page you see once you&#39;ve opened TriTrypDB. There are a lot of options for you to do searches with the search toolbar on the top, and also tabs like &#39;My Strategies,&#39; &#39;Searches,&#39; &#39;Tools,&#39; &#39;My Workspace,&#39; &#39;Data,&#39; &#39;About,&#39; &#39;Help,&#39; &#39;Contact Us&#39; etc.</p><p>Click on the &#39;Searches&#39; tab to get a dropdown list, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8PbSL4WaMW2NG10ThqXasQ.png" /></figure><p>Since we are searching for Genes that code for kinases, we will click on the small triangle next to the Genes in the dropdown to expand the Genes section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A8eLTvl_JBG2tCC7Z_fMpw.png" /></figure><p>Out of the different options for Genes, we will click on Text and choose <strong>&#39;Text (product name, notes, etc.).&#39; </strong>Once we do that, the following is what we see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q_RGtcBumNuKPl0eQ3ThSQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BjcpjL4sJhPx1myP3TPPUg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aq5MlkhkNeWSuQlo0h9JEg.png" /></figure><p>Once you have this page, click on Trypanosomatida as we want to look at the Trypanosoma cruzi CL Brener Esmeraldo-like strain. Click on the small triangle left of the box near Trypanosomatida to expand the field. Expand the Trypanosoma and Trypanosoma cruzi fields similarly to find the Trypanosoma cruzi CL Brener Esmeraldo-like strain. Tick the box corresponding to this strain.</p><p>For the text term part, remove the default &#39;*reductase&#39; and replace it with kinase. Let all the terms in the &#39;Fields&#39; be checked.</p><p>Now give the search a name- probably, you can name it TC Kinase and give a weightage if you want to, or you can leave these fields blank as well; they&#39;re optional. Once you&#39;re done, click on Get Answer.</p><p>The database does the searches and gives you what you were looking for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gqowSumBtJeSpl_s8Mwidw.png" /></figure><p>This is what your strategy looks like now, and you&#39;ve found all the Kinases in Trypanosoma cruzi CL Brener Esmeraldo-like strain! Awesome! Scroll down to see your results!</p><p>You&#39;re done with Step-1, and you&#39;ve made a simple strategy! Congratulations! Let&#39;s head to Step-2!</p><h3>Step 2- Click on Add Step to add another step to your search strategy</h3><p>Do exactly as mentioned in the title of Step-2. On the &#39;My Search Strategies&#39; title page, You can see that there&#39;s an &#39;Add a Step&#39; box right beside your TC Kinase strategy. Click on that to add another step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2sxtthrdbup08Wz2Y3ONOw.png" /></figure><p>This is what you see when you click on the Add a step option. Let&#39;s explore what all this option holds for us.</p><p>Now, on the top, you can see that you have options like 1 Intersect 2, 1 Union 2, 1 Minus 2, 2 Minus 1. The illustrations pretty much give their meaning, but in case you&#39;re wondering what they mean, here are their meanings using our example.</p><p>Our first step was finding kinases of Trypanosoma cruzi CL Brener Esmeraldo-like strain. Let&#39;s say in the second step we want to find all such kinases that are from Trypanosoma cruzi CL Brener Esmeraldo-like strain, and they also contain a transmembrane domain. Now, let&#39;s see what kind of results each option will give us.</p><h4>1 Intersect 2:</h4><p>As the illustration beside it suggests, it gives us an intersection of Step 1 and Step 2. That means if we use this option for our example, we will find &#39;kinases from Trypanosoma cruzi CL Brener Esmeraldo-like strain&#39; AND &#39;transmembrane domain-containing kinases.&#39; Therefore kinases that satisfy both criteria are listed here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/722/1*xTLQpmxx6fkveD57HFXPpQ.png" /></figure><h4>1 Union 2:</h4><p>This particular option gives us <strong>&#39;Step 1 OR Step 2&#39;; </strong>what does that mean? It means if we use this option for our example, it will provide us with kinases that are from Trypanosoma cruzi CL Brener Esmeraldo-like strain but do not contain a transmembrane domain, it will give us gene products of Trypanosoma cruzi CL Brener Esmeraldo-like strain that contains a transmembrane domain but are not kinases, and it also gives us those kinases that contain a transmembrane domain and are from Trypanosoma cruzi CL Brener Esmeraldo-like strain. Overall, the Union option accounts for every possibility that could be there.</p><p>In case you weren&#39;t unable to understand 1 Union 2, we will be dealing with this again in the Nested strategy section, so don&#39;t worry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*6c-Pl3vn6GoAhDZMZoDfew.png" /></figure><h4><strong>1 Minus 2:</strong></h4><p>As the illustration suggests, this option removes all the genes common between two steps from the first step. Let&#39;s look it up with our example. In our example, suppose we want genes that code for kinases of Trypanosoma cruzi CL Brener Esmeraldo-like strain but we don&#39;t want those genes that code for kinases that have a transmembrane domain, then this will be the option that we want to choose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*pJQvFxs1qkK0XWygikA0wA.png" /></figure><h4>2 Minus 1:</h4><p>This option is just opposite to the 1 Minus 2 option, and let&#39;s not confuse it with the 1 Minus 2 option. For our example, using the 2 Minus 1 option will give us gene products of Trypanosoma cruzi CL Brener Esmeraldo-like strain that have a transmembrane domain but they are not kinases that have a transmembrane domain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*vuUVeWfOqhOyl3m5JlC4GQ.png" /></figure><p>Out of all these options, 1 intersect 2 is the option that we want to choose because it is the one that is gonna give us the required result, i.e, genes that code for kinases of Trypanosoma cruzi CL Brener Esmeraldo-like strain having a transmembrane domain. The default option on TriTrypDB is also the intersect option.</p><p>Now that we know, that we want to choose the intersection option, let&#39;s move to Step 3 to understand what other options we can choose while adding our step.</p><h3>Step 3- Exploring other options and Editing your strategies</h3><p>We have the following options that we can choose for this step-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2ozD0WmCZ-9V86g0pR5gg.png" /></figure><h4>Combine with other genes:</h4><p>Since we know that we want to combine our first step with genes that code for a transmembrane domain, we will choose this option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dBc6egZx-N55Qb0QiiEPPA.png" /></figure><h4>Transform into related records:</h4><p>We can transform our kinases into Orthologs from some other species of Trypanosoma, or check for the Metabolic pathways these genes take part in or even find some of the associated compounds to these kinases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zJ_FelgTmEpAcuVqHcou6g.png" /></figure><h4><strong>Use Genomic Colocation to combine with other features:</strong></h4><p>We can also use Genomic Colocation to map combine our step one with other features. As the step mentions, you can use the relative position of features on the genome between your existing step and the new step to identify features to keep in the final result.</p><p>Now that we know about most of the options that we can work with, let&#39;s move ahead and add our step for a transmembrane domain. We will choose the <strong>1 intersect 2</strong> and <strong>Combine with other genes</strong> options for our case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lAskg9OUIy1S_4ozcMrKAg.png" /></figure><p>Expand the protein targeting and localization feature to find<strong> &#39;Transmembrane Domain Count&#39; </strong>and click on it for accessing it. The following is the form that appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SkRhLPk4lJcVLITCbiKBog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DJfBLratBsdiZtQur34CwA.png" /></figure><p>Choose your organism as Trypanosoma cruzi CL Brener Esmeraldo-like strain for which we need genes that code for kinases that have transmembrane domains. Mention the minimum and maximum transmembrane domains that you&#39;re looking for. I&#39;d like to keep it default. We can again name the step and give it a weight. I will name the step <strong>TMHMM</strong> for the transmembrane domain.</p><p>Once you&#39;re done and you hit Run Step, this is what will come up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6bNYpSHgnEz3-p3B5ktyNQ.png" /></figure><p>As you can see, we have found 176 Genes that are TC Kinases that have a TMHMM domain. Let&#39;s add another step in a similar way for listing genes encoding proteins with molecular weights between 30–50 KDa. We will again do an intersection and combine with genes strategy here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vAJLUhzeP8pG3JgInrCKrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GRlQKv_oYEOkilSFbYaVng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0TUNLBv_mhCC5lVTUHNzYg.png" /></figure><p>This is how our step appears. Look how we have reduced our number of genes from 698 to 31. Awesome work! Yay!</p><p>But wait, I just remembered that my professor had clearly stated that he wants the Molecular weight of the protein to be 35 KDa and above, and not 30 KDa and above. Ohh no! What do I do now?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1uX3cV334paRIeCU3Lu0dw.png" /></figure><p>Well, there is nothing to panic about, TriTrypDB has this cool feature where you can edit each step, and revise it. Just click on the Edit on the top right of your step, and you will be able to edit it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d89WsdETFQDeW9B3oCB7iw.png" /></figure><p>This is what you&#39;ll be able to see once you click on the Edit button. Go to revise and revise your step. Change the 30000 to 35000 Da.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IeWdcKx0Vv0aw32QzINUUw.png" /></figure><p>Click on Revise. And you&#39;re done! Yay!</p><p>Let&#39;s go to Step 4 now where we learn to make a nested strategy!</p><h3>Step 4- Making a nested strategy is super easy!</h3><p>We want to make a nested strategy i.e, a strategy inside a strategy, woahhh, is that possible? Yepp that&#39;s possible, and let&#39;s try to make it for our example.</p><p>We want to make a nested strategy to find genes that code for kinases of Trypanosoma cruzi CL Brener Esmeraldo-like strain that either contains a transmembrane domain or a signal peptide or both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dbqEMnrsTMJN80KIBu5Pfg.png" /></figure><p>Click on the Edit button at the top of the TMHMM step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hKNFuQ6MlUTn_3yQWoPRgg.png" /></figure><p>Once you get this popup, click on <strong>&#39;Make nested strategy&#39;</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5JdcICQGf05QtkouWX6xKw.png" /></figure><p>This is what your strategy looks like now! Click on Add a step under the <strong>Expanded View of TMHMM </strong>to add our Signal Peptide step. Remember here, we want to get genes for kinases that either have a transmembrane domain or signal peptide or both. Therefore, we&#39;ll be using the Union option here. (<strong>1 UNION 2</strong>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4P675SQ6rhvbL81CWJrpbg.png" /></figure><p>Now expand the Protein targeting and localization option to find the Predicted Signal Peptide option and click on it. You just need to select your species and Run the Step, giving it a name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2FuvBUEVdPnMFxeJtPRaCA.png" /></figure><p>This is how our strategy looks like now, and we&#39;ve made our nested strategy too! Yay! Woohoo!</p><p>Now if you want to give a name to your strategy (you can see the default is Unnamed Search Strategy) just click on the pencil symbol next to it, and give your strategy a name. Similarly, to change Unnamed Nested Strategy to a better name, click on the Edit button on top of Unnamed Nested Strategy, and the pencil symbol to change its name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9KvRf8YdFDezP5TVe3jRcA.png" /></figure><p>I&#39;ve edited the names according to my convenience and don&#39;t they look amazing? Our Strategy is ready! Awesome work people!</p><p>Let&#39;s go to the last step now, exporting all our results.</p><h3>Step 5- Export your results from TriTrypDB</h3><p>We&#39;re done making a strategy, and we have 50 genes now, which satisfy all of our criteria. We finally have genes that encode for kinases of Trypanosoma cruzi CL Brener Esmeraldo-like strain, kinases that either have a transmembrane domain or a signal peptide or both and have a Molecular weight of 35–50KDa. Awesome!</p><p>As you scroll below your strategy, you&#39;ll find all of your listed results.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PS6EXMb_ppj7_A78X9h8lg.png" /></figure><p>You can add more columns for a more comprehensive description of your genes, using the Add Columns option. The Add to Basket option allows you to add a few particular genes to your cart/basket and then download only them specifically, so it&#39;s like choosing specific genes manually.</p><p>The download option lets you download all of your listed results, 50 in our case in various different file formats- csv, tsv, txt, etc. I usually choose the csv format, as it is easy to read in excel.</p><p>Aaaaaaand you&#39;re done! Congratulations! Amazing! Thank you for making it this far, you&#39;re doing some awesome work! Give yourself a pat on the back!</p><h4>Bonus: The strategy you created now will not be saved until the next time you open TriTrypDB, therefore, so that you don&#39;t lose this strategy, make an account on TriTrypDB, and make your strategy there, it&#39;s super easy and takes just a couple of minutes. Happy strategy-making! Yay!</h4><blockquote>Simple.Concise.Precise. That’s the motto.</blockquote><blockquote><strong><em>Note from the Author:</em></strong><em> Hey there! How you doin’? Hope you enjoyed my writing! Let me know if you liked it! You can always write to me if you want me to write the manual for a particular software, give me a feedback, or even want to reach out regarding anything in general. I’ll be happy! Reach out to me at snippetsbio@gmail.com. Thank you!</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3aa0cd13b30" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>