<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="http://www.r-bloggers.com/covcalc-shiny-app-for-calculating-coverage-depth-or-read-counts-for-sequencing-experiments/"></div></div><div><a data-url="http://www.r-bloggers.com/covcalc-shiny-app-for-calculating-coverage-depth-or-read-counts-for-sequencing-experiments/" data-counturl="http://www.r-bloggers.com/covcalc-shiny-app-for-calculating-coverage-depth-or-read-counts-for-sequencing-experiments/" data-count="horizontal" data-text="Covcalc: Shiny App for Calculating Coverage Depth or Read Counts for Sequencing Experiments" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.gettinggeneticsdone.com/2016/06/shiny-app-calculate-coverage-readcount-for-sequencing-experiments.html"> Getting Genetics Done</a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><i>How many reads do I need? What’s my sequencing depth?</i> These are common questions I get all the time. Calculating how much sequence data you need to hit a target depth of coverage, or the inverse, what’s the coverage depth given a set amount of sequencing, are both easy to answer with some basic algebra. Given one or the other, plus the genome size and read length/configuration, you can calculate either. This was inspired by a <a target="_blank" href="http://core-genomics.blogspot.com/2016/05/how-many-reads-to-sequence-genome.html">similar calculator written by James Hadfield</a>, and was an opportunity for me to create my first <a target="_blank" href="http://shiny.rstudio.com/">Shiny</a> app.</p>
<p>Check out the app here:<br><a target="_blank" href="http://apps.bioconnector.virginia.edu/covcalc/">http://apps.bioconnector.virginia.edu/covcalc/</a></p>
<p>And the source code on GitHub:<br><a target="_blank" href="https://github.com/stephenturner/covcalc">https://github.com/stephenturner/covcalc</a></p>
<p>Give it your read length, whether you’re using single- or paired-end sequencing, select a genome or enter your own. Then, select whether you want to calculate (a) the number of reads you need to hit a target depth of coverage, or (b) the coverage depth you’ll hit given a set number of sequencing reads. Once you make the selection, use the slider to adjust either the desired coverage or number of reads sequenced, and the output text below is automatically updated.</p>
<div><a target="_blank" href="https://2.bp.blogspot.com/-0J2u-vEE2i8/V08s6rS_GtI/AAAAAAACfGA/15F1U2n7lNQh6pXTvkcTQQLe7KpekvWzwCLcB/s1600/Screen%2BShot%2B2016-06-01%2Bat%2B2.39.36%2BPM.png"><img height="618" width="640" src="https://2.bp.blogspot.com/-0J2u-vEE2i8/V08s6rS_GtI/AAAAAAACfGA/15F1U2n7lNQh6pXTvkcTQQLe7KpekvWzwCLcB/s640/Screen%2BShot%2B2016-06-01%2Bat%2B2.39.36%2BPM.png" border="0"></a></div>
<p><a target="_blank" href="http://apps.bioconnector.virginia.edu/covcalc/">Shiny App: Coverage / Read Count Calculator</a>
<div>Getting Genetics Done by Stephen Turner is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.</div>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="http://www.r-bloggers.com/covcalc-shiny-app-for-calculating-coverage-depth-or-read-counts-for-sequencing-experiments/"></div></div><div><a data-url="http://www.r-bloggers.com/covcalc-shiny-app-for-calculating-coverage-depth-or-read-counts-for-sequencing-experiments/" data-counturl="http://www.r-bloggers.com/covcalc-shiny-app-for-calculating-coverage-depth-or-read-counts-for-sequencing-experiments/" data-count="vertical" data-text="Covcalc: Shiny App for Calculating Coverage Depth or Read Counts for Sequencing Experiments" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.gettinggeneticsdone.com/2016/06/shiny-app-calculate-coverage-readcount-for-sequencing-experiments.html"> Getting Genetics Done</a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/EWMCacwaGRQ"></a></div>