<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>gilgi.org (Posts about genomics)</title><link>https://gilgi.org/</link><description></description><atom:link href="https://gilgi.org/categories/genomics.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2020 &lt;a href="mailto:site@gilgi.org"&gt;gilgi&lt;/a&gt; </copyright><lastBuildDate>Sat, 23 May 2020 20:36:38 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Identifying compartments in Hi-C data</title><link>https://gilgi.org/blog/compartments/</link><dc:creator>gilgi</dc:creator><description>&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;&lt;img src="https://gilgi.org/images/blog/compartments.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Long-range chromatin contact patterns reveal that chromatin is partitioned into distinct "&lt;a href="https://pubmed.ncbi.nlm.nih.gov/19815776/"&gt;compartments&lt;/a&gt;" - contiguous stretches of chromatin on the order of megabases in size whose epigenetic modifications and associated protein factors cause them to be positioned close to similarly-modified compartments in three-dimensional space within the nucleus. In this post, we will take a look at one line of approaches for computationally identifying compartments in Hi-C datasets - one that uses the &lt;em&gt;trans&lt;/em&gt; contact profile for each locus in the genome as a feature vector.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://colab.research.google.com/github/gilgi/gilgi.github.com/blob/src/posts/compartments.ipynb"&gt;&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gilgi.org/blog/compartments/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><category>compartments</category><category>genomics</category><category>Hi-C</category><category>k-means</category><category>notebook</category><category>PCA</category><category>Python</category><guid>https://gilgi.org/blog/compartments/</guid><pubDate>Mon, 13 Apr 2020 04:00:00 GMT</pubDate></item><item><title>Optimal BH-FDR control</title><link>https://gilgi.org/blog/optimal-bh-fdr-control/</link><dc:creator>gilgi</dc:creator><description>&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;&lt;img src="https://gilgi.org/images/blog/optimal-bh-fdr-control.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Controlling for &lt;a href="https://en.wikipedia.org/wiki/False_discovery_rate"&gt;false discovery rate (FDR)&lt;/a&gt; has become a ubiquitous step in statistical analyses that test multiple hypotheses, like those commonly performed in the genomics field. The seminal method for controlling FDR, the &lt;a href="https://en.wikipedia.org/wiki/False_discovery_rate#Benjamini%E2%80%93Hochberg_procedure"&gt;Benjamini-Hochberg (BH-FDR) procedure&lt;/a&gt; guarantees FDR control under some simple assumptions, but how does it really perform in the limit of an ideal dataset and ideal statistical test? In this post, we'll dive into this question and reveal that the proportion of truly non-null data points has a major influence on the behavior of BH-FDR.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://colab.research.google.com/github/gilgi/gilgi.github.com/blob/src/posts/optimal_bh_fdr_control.ipynb"&gt;&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gilgi.org/blog/optimal-bh-fdr-control/"&gt;Read more…&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><category>genomics</category><category>notebook</category><category>Python</category><category>statistics</category><guid>https://gilgi.org/blog/optimal-bh-fdr-control/</guid><pubDate>Fri, 15 Nov 2019 05:00:00 GMT</pubDate></item><item><title>Estimation variance of the Poisson rate parameter</title><link>https://gilgi.org/blog/poisson-rate-estimation-variance/</link><dc:creator>gilgi</dc:creator><description>&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;&lt;img src="https://gilgi.org/images/blog/poisson-rate-estimation-variance.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Many applications of statistics to genomics involve modelling read counts from &lt;a href="https://en.wikipedia.org/wiki/DNA_sequencing#High-throughput_methods"&gt;high-throughput sequencing experiments&lt;/a&gt; as originating from a &lt;a href="https://en.wikipedia.org/wiki/Poisson_point_process#Interpreted_as_a_counting_process"&gt;Poisson process&lt;/a&gt; (or as something similar based on the closely-related &lt;a href="https://en.wikipedia.org/wiki/Negative_binomial_distribution"&gt;negative binomial distribution&lt;/a&gt;). In these experiments, we often want to estimate the true concentration $\mu$ of a particular DNA or RNA sequence in a sequencing library. This corresponds to the "rate" parameter of a Poison process, while the total number of reads sequenced can be thought of as related to its "elapsed time". How does the sequencing depth of the dataset (the total number of reads) impact the variance in the estimate of the true concentration? Read on to find out!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://colab.research.google.com/github/gilgi/gilgi.github.com/blob/src/posts/poisson_rate_estimation_variance.ipynb"&gt;&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gilgi.org/blog/poisson-rate-estimation-variance/"&gt;Read more…&lt;/a&gt; (3 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><category>genomics</category><category>notebook</category><category>Python</category><category>statistics</category><guid>https://gilgi.org/blog/poisson-rate-estimation-variance/</guid><pubDate>Tue, 13 Aug 2019 04:00:00 GMT</pubDate></item><item><title>MLE estimation of mean parameter for scaled distributions</title><link>https://gilgi.org/blog/mle-scaled-mean/</link><dc:creator>gilgi</dc:creator><description>&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;&lt;img src="https://gilgi.org/images/blog/mle-scaled-mean.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;It's pretty common to run into statistical models that fit some kind of normalization factors that can be used to scale different data points to a common, comparable scale. When this happens to a &lt;a href="https://en.wikipedia.org/wiki/Location%E2%80%93scale_family"&gt;location-scale family distribution&lt;/a&gt; like the normal distribution, estimating the mean parameter of such a scaled distribution is pretty straightforward. In many genomics contexts, however, non-location-scale distributions such as the &lt;a href="https://en.wikipedia.org/wiki/Poisson_distribution"&gt;Poisson&lt;/a&gt; or &lt;a href="https://en.wikipedia.org/wiki/Negative_binomial_distribution"&gt;negative binomial (NB)&lt;/a&gt; distribution are used quite often. For example, it's common to model RNA-seq read counts using NB distributions scaled by the library size (i.e., some measure of the total sequencing depth). In this post, we'll take a deep dive into how to estimate the parameters of these "scaled" statistical models.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://colab.research.google.com/github/gilgi/gilgi.github.com/blob/src/posts/mle_scaled_mean.ipynb"&gt;&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gilgi.org/blog/mle-scaled-mean/"&gt;Read more…&lt;/a&gt; (21 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><category>genomics</category><category>notebook</category><category>Python</category><category>statistics</category><guid>https://gilgi.org/blog/mle-scaled-mean/</guid><pubDate>Wed, 08 May 2019 04:00:00 GMT</pubDate></item><item><title>Simulating maps of 3D genome architecture</title><link>https://gilgi.org/blog/heatmap-simulation/</link><dc:creator>gilgi</dc:creator><description>&lt;div class="cell border-box-sizing text_cell rendered"&gt;&lt;div class="prompt input_prompt"&gt;
&lt;/div&gt;&lt;div class="inner_cell"&gt;
&lt;div class="text_cell_render border-box-sizing rendered_html"&gt;
&lt;p&gt;&lt;img src="https://gilgi.org/images/blog/heatmap-simulation.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gilgi.org/research"&gt;My research&lt;/a&gt; focuses on analyzing maps of the 3D structure of the genome. One of the things I always find helpful when trying to understand complex data like this is trying to simulate it myself to get a sense for how the data might behave. In this post, we'll add complexity step-by-step and work our way up to simulating realistic-looking genome folding maps from scratch!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://colab.research.google.com/github/gilgi/gilgi.github.com/blob/src/posts/heatmap_simulation.ipynb"&gt;&lt;img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gilgi.org/blog/heatmap-simulation/"&gt;Read more…&lt;/a&gt; (8 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description><category>3d genomes</category><category>genomics</category><category>notebook</category><category>Python</category><category>statistics</category><guid>https://gilgi.org/blog/heatmap-simulation/</guid><pubDate>Mon, 29 Apr 2019 04:00:00 GMT</pubDate></item></channel></rss>