<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://statgen.us/index.php?action=history&amp;feed=atom&amp;title=2016-july-berlin-commands</id>
		<title>2016-july-berlin-commands - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://statgen.us/index.php?action=history&amp;feed=atom&amp;title=2016-july-berlin-commands"/>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;action=history"/>
		<updated>2026-04-05T20:13:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=96&amp;oldid=prev</id>
		<title>Serveradmin: /* Annotation exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=96&amp;oldid=prev"/>
				<updated>2016-07-08T12:27:27Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Annotation exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:27, 8 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Annotation exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Annotation exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; mkdir APOC3 &amp;amp;amp;&amp;amp;amp; cd APOC3&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init APOC3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init APOC3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools import ../data/APOC3.vcf --format ../data/vcf.fmt --build hg19&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools import ../data/APOC3.vcf --format ../data/vcf.fmt --build hg19&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=95&amp;oldid=prev</id>
		<title>Serveradmin: /* Annotation exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=95&amp;oldid=prev"/>
				<updated>2016-07-08T12:25:07Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Annotation exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:25, 8 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; mkdir APOC3 &amp;amp;amp;&amp;amp;amp; cd APOC3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; mkdir APOC3 &amp;amp;amp;&amp;amp;amp; cd APOC3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init APOC3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init APOC3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools import ../APOC3.vcf --format ../vcf.fmt --build hg19&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools import ..&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/data&lt;/ins&gt;/APOC3.vcf --format ..&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/data&lt;/ins&gt;/vcf.fmt --build hg19&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --count&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --count&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --output chr pos ref alt refGene.name2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --output chr pos ref alt refGene.name2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use ../dbNSFP.DB&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use ..&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/data&lt;/ins&gt;/dbNSFP.DB&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant 'id=&amp;quot;rs76353203&amp;quot; or id=&amp;quot;rs140621530&amp;quot; or id=&amp;quot;rs147210663&amp;quot; or id=&amp;quot;rs121918381&amp;quot; or id=&amp;quot;rs121918382&amp;quot;' -t 5var&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant 'id=&amp;quot;rs76353203&amp;quot; or id=&amp;quot;rs140621530&amp;quot; or id=&amp;quot;rs147210663&amp;quot; or id=&amp;quot;rs121918381&amp;quot; or id=&amp;quot;rs121918382&amp;quot;' -t 5var&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=94&amp;oldid=prev</id>
		<title>Serveradmin: /* Annotation exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=94&amp;oldid=prev"/>
				<updated>2016-07-08T12:19:06Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Annotation exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:19, 8 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Annotation exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Annotation exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; mkdir APOC3 &amp;amp;amp;&amp;amp;amp; cd APOC3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; mkdir APOC3 &amp;amp;amp;&amp;amp;amp; cd APOC3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init APOC3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init APOC3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools import ..&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/data&lt;/del&gt;/APOC3.vcf --format ..&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/data&lt;/del&gt;/vcf.fmt --build hg19&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools import ../APOC3.vcf --format ../vcf.fmt --build hg19&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --count&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --count&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --output chr pos ref alt refGene.name2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --output chr pos ref alt refGene.name2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use ..&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/data&lt;/del&gt;/dbNSFP.DB&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools use ../dbNSFP.DB&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant 'id=&amp;quot;rs76353203&amp;quot; or id=&amp;quot;rs140621530&amp;quot; or id=&amp;quot;rs147210663&amp;quot; or id=&amp;quot;rs121918381&amp;quot; or id=&amp;quot;rs121918382&amp;quot;' -t 5var&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant 'id=&amp;quot;rs76353203&amp;quot; or id=&amp;quot;rs140621530&amp;quot; or id=&amp;quot;rs147210663&amp;quot; or id=&amp;quot;rs121918381&amp;quot; or id=&amp;quot;rs121918382&amp;quot;' -t 5var&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.SIFT_pred dbNSFP.SIFT_score&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.SIFT_pred dbNSFP.SIFT_score&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.CADD_raw dbNSFP.CADD_phred&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.CADD_raw dbNSFP.CADD_phred&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GATK/IGV exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GATK/IGV exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=75&amp;oldid=prev</id>
		<title>Serveradmin: /* VAT exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=75&amp;oldid=prev"/>
				<updated>2016-06-15T19:14:56Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;VAT exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:14, 15 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l77&quot; &gt;Line 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 77:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==VAT exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==VAT exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools -h&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools -h&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init VATDemo&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init VATDemo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l125&quot; &gt;Line 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 124:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove variants to_remove -v0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove variants to_remove -v0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove genotypes &amp;quot;DP_geno&amp;lt;10&amp;quot; -v0 vtools select variant &amp;quot;mut_type like 'non%' or mut_type like 'stop%' or region_type='splicing'&amp;quot; -t v_funct&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove genotypes &amp;quot;DP_geno&amp;lt;10&amp;quot; -v0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools select variant &amp;quot;mut_type like 'non%' or mut_type like 'stop%' or region_type='splicing'&amp;quot; -t v_funct&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show samples --limit 5&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show samples --limit 5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l134&quot; &gt;Line 134:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 134:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show project&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show project&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;CEU_mafGD10&amp;gt;=0.05&amp;quot; -t common_ceu&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;CEU_mafGD10&amp;gt;=0.05&amp;quot; -t common_ceu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;CEU_mafGD10&amp;lt;0.01&amp;quot; -t rare_ceu vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;CEU_mafGD10&amp;lt;0.01&amp;quot; -t rare_ceu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show annotation refGene&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show annotation refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate -h&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate -h&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l154&quot; &gt;Line 154:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 155:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select rare_ceu &amp;quot;refGene.name2='ABCC1'&amp;quot; -o chr pos ref alt CEU_mafGD10 numGD10 mut_type --header&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select rare_ceu &amp;quot;refGene.name2='ABCC1'&amp;quot; -o chr pos ref alt CEU_mafGD10 numGD10 mut_type --header&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV -b --label_top 2 -f 6 &amp;lt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV -b --label_top 2 -f 6 &amp;lt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association manhattan -o MHRV -b --label_top 5 --color Dark2 --chrom_prefix None -f 6 &amp;lt; EA_RV.asso.res vtools associate rare_ceu BMI --covariate SEX KING_MDS1 KING_MDS2 -m &amp;quot;LinRegBurden --name RVMDS2 --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_MDS2.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association manhattan -o MHRV -b --label_top 5 --color Dark2 --chrom_prefix None -f 6 &amp;lt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV_MDS2 -b --label_top 2 -f 6 &amp;lt; EA_RV_MDS2.asso.res cd ..&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools associate rare_ceu BMI --covariate SEX KING_MDS1 KING_MDS2 -m &amp;quot;LinRegBurden --name RVMDS2 --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_MDS2.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV_MDS2 -b --label_top 2 -f 6 &amp;lt; EA_RV_MDS2.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;cd ..&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --samples &amp;quot;RACE=0&amp;quot; -t YRI&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant --samples &amp;quot;RACE=0&amp;quot; -t YRI&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; mkdir -p yri; cd yri&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; mkdir -p yri; cd yri&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init yri --parent ../ --variants YRI --samples &amp;quot;RACE=0&amp;quot; --build hg19&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init yri --parent ../ --variants YRI --samples &amp;quot;RACE=0&amp;quot; --build hg19&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;YRI_mafGD10&amp;gt;=0.05&amp;quot; -t common_yri&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;YRI_mafGD10&amp;gt;=0.05&amp;quot; -t common_yri&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;YRI_mafGD10&amp;lt;0.01&amp;quot; -t rare_yri vtools use refGene &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;YRI_mafGD10&amp;lt;0.01&amp;quot; -t rare_yri&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate common_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db YA_CV &amp;gt; YA_CV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate common_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db YA_CV &amp;gt; YA_CV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l167&quot; &gt;Line 167:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 171:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cut -f1,3 META_RV_VT.asso.res | head==VMT==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cut -f1,3 META_RV_VT.asso.res | head==VMT==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ##################################&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; # Example 1: Autosomal recessive #&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ##################################&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools init VMT --force&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools import AR1.vcf.gz AR2.vcf.gz --format NSHI.fmt --build hg19 -j8&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show tables&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show samples&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools execute ANNOVAR geneanno&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools use dbNSFP.DB&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools use refGene&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show fields&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select variant &amp;quot;(ExAC_AF is NULL or ExAC_AF&amp;lt;0.0005) AND (ExAC_SAS_AF is NULL or ExAC_SAS_AF&amp;lt;0.0005)&amp;quot;&amp;#160; -t&amp;#160; ExAC0005 vtools select ExAC0005 &amp;quot;CADD_phred&amp;gt;20 or CADD_phred is NULL&amp;quot; -t CADD20&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select CADD20 &amp;quot;region_type is 'splicing' OR (mut_type is not NULL AND mut_type is not 'synonymous SNV' AND mut_type is not 'unknown')&amp;quot; -t ANNOVARtype&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select ANNOVARtype &amp;quot;dbNSFP.chr is not null&amp;quot; --output chr pos ref alt sift_pred lrt_pred fathmm_pred mutationtaster_pred mutationassessor_pred polyphen2_hdiv_pred polyphen2_hvar_pred provean_pred MetaLR_pred MetaSVM_pred &amp;gt;snv.txt&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; python choose_damaging_variants.py snv.txt&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools update ANNOVARtype --format VMT_annotation.fmt --from_file snv.txt.parsed &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select ANNOVARtype &amp;quot;vmt_annotation='damaging_SNV'&amp;quot; -t damaging&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select damaging &amp;quot;chr=16 AND (pos&amp;gt;=63600000 AND pos&amp;lt;=79700000)&amp;quot; -o chr pos ref alt region_type region_name mut_type function rs_dbSNP141 ExAC_Adj_AF ExAC_SAS_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools update damaging --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;homX=#(hom)&amp;quot; --samples &amp;quot;sample_name='L1' OR sample_name='L2'&amp;quot; -j2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select damaging &amp;quot;totX=homX AND totX=2&amp;quot; -t homL1_L2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools remove fields totX homX&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools output homL1_L2 chr pos ref alt region_type region_name mut_type function rs_dbSNP141 ExAC_Adj_AF ExAC_SAS_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ##################################&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; # Example 2: Autosomal dominant&amp;#160; #&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ##################################&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools import AD.vcf.gz --format NSHI.fmt --build hg19 -j8&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show tables&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show samples&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select variant &amp;quot;(ExAC_AF is NULL or ExAC_AF&amp;lt;0.0005) AND (ExAC_NFE_AF is NULL or ExAC_NFE_AF&amp;lt;0.0005)&amp;quot;&amp;#160; --samples &amp;quot;sample_name='AD1' OR sample_name='AD2'&amp;quot; -t&amp;#160; ExAC0005_AD vtools select ExAC0005_AD &amp;quot;CADD_phred&amp;gt;15 or CADD_phred is NULL&amp;quot; -t CADD15_AD&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select CADD15_AD &amp;quot;dbNSFP.chr is not null&amp;quot; --output chr pos ref alt sift_pred lrt_pred fathmm_pred mutationtaster_pred mutationassessor_pred polyphen2_hdiv_pred polyphen2_hvar_pred provean_pred MetaLR_pred MetaSVM_pred &amp;gt;snv.txt&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; python choose_damaging_variants.py snv.txt &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools update variant --format VMT_annotation.fmt --from_file snv.txt.parsed &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select CADD15_AD &amp;quot;vmt_annotation='damaging_SNV'&amp;quot; -t damaging_AD&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools update damaging_AD --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;hetX=#(het)&amp;quot; --samples &amp;quot;sample_name='AD1' OR sample_name='AD2'&amp;quot; -j2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select damaging_AD &amp;quot;totX=hetX AND totX=2&amp;quot; -t hetAD_2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools remove fields totX hetX&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools output hetAD_2 chr pos ref alt refGene.name2 rs_dbSNP141 ExAC_Adj_AF ExAC_SAS_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ##################################&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; #&amp;#160; &amp;#160; &amp;#160;  Example 3: De Novo&amp;#160; &amp;#160; &amp;#160;  #&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ##################################&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools import de_novo.vcf.gz --format NSHI.fmt --build hg19 -j8&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show tables&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools show samples&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools update variant --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;hetX=#(het)&amp;quot; --samples &amp;quot;sample_name='Son'&amp;quot; -j2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select variant &amp;quot;totX=hetX AND totX=1&amp;quot; -t Son_het&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools update Son_het --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;wtX=#(wtGT)&amp;quot; --samples &amp;quot;sample_name='Dad' OR sample_name='Mom'&amp;quot; -j2&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools select Son_het &amp;quot;(totX=wtX AND totX=2) and ((ExAC_AF is NULL or ExAC_AF&amp;lt;0.0005) AND (ExAC_NFE_AF is NULL or ExAC_NFE_AF&amp;lt;0.0005))&amp;quot; -t deNovo&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; vtools output deNovo chr pos ref alt refGene.name2 rs_dbSNP141 ExAC_Adj_AF ExAC_NFE_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=74&amp;oldid=prev</id>
		<title>Serveradmin: /* RV-TDT exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=74&amp;oldid=prev"/>
				<updated>2016-06-15T00:10:35Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;RV-TDT exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:10, 15 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l56&quot; &gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; load(&amp;quot;dbp.R&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ls()&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dbp[1:5,]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.snp12 = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;), data=dbp)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( class (result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.geno = anova (result.snp12, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;lrt.pvalue = pchisq(dev.geno[dim(dev.geno)[1],&amp;quot;Deviance&amp;quot;],&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; df=2, ncp=0, FALSE)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( lrt.pvalue )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12)$coefficients )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.beta = summary(result.snp12)$coefficients[2:3,1]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( snp.beta )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(snp.beta) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ci = confint (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (ci)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(ci) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;rs1112&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.all = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.all = anova (result.all, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print(dev.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;trait&amp;quot;,&amp;quot;sex&amp;quot;, &amp;quot;age&amp;quot;, &amp;quot;rs1112&amp;quot;, &amp;quot;rs1117&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;snp.data[,&amp;quot;rs1117&amp;quot;] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; load(&amp;quot;dbp.R&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ls()&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dbp[1:5,]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.snp12 = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;), data=dbp)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( class (result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.geno = anova (result.snp12, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;lrt.pvalue = pchisq(dev.geno[dim(dev.geno)[1],&amp;quot;Deviance&amp;quot;],&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; df=2, ncp=0, FALSE)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( lrt.pvalue )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12)$coefficients )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.beta = summary(result.snp12)$coefficients[2:3,1]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( snp.beta )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(snp.beta) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ci = confint (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (ci)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(ci) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;rs1112&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.all = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.all = anova (result.all, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print(dev.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;trait&amp;quot;,&amp;quot;sex&amp;quot;, &amp;quot;age&amp;quot;, &amp;quot;rs1112&amp;quot;, &amp;quot;rs1117&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;snp.data[,&amp;quot;rs1117&amp;quot;] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ age + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + age + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1117 + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1112 + rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ sex + rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ sex * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ age * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ rs1112 * rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;q()&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ age + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + age + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1117 + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1112 + rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ sex + rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ sex * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ age * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ rs1112 * rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;q()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==RV-TDT exercise==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; for g in `ls rvtdt_exercise_data | grep tped | cut -d&amp;quot;.&amp;quot; -f1`&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; do&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 	echo &amp;quot;runing rvTDT on gene &amp;quot;${g}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 	./rvTDT exercise_proj -G ./rvtdt_exercise_data/${g}.tped \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		-P ./rvtdt_exercise_data/rvtdt_exercise.phen \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		-M ./rvtdt_exercise_data/${g}.map \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--adapt 500 --alpha 0.00001 --permut 2000 \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--lower_cutoff 0 --upper_cutoff 100 \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--minVariants 3 \&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--maxMissRatio 1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; done&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==SEQPower exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==SEQPower exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; spower -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;CFisher --name CMC&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; spower -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;CFisher --name CMC&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=73&amp;oldid=prev</id>
		<title>Serveradmin at 23:59, 14 June 2016</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=73&amp;oldid=prev"/>
				<updated>2016-06-14T23:59:47Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 23:59, 14 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.SIFT_pred dbNSFP.SIFT_score&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.SIFT_pred dbNSFP.SIFT_score&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.CADD_raw dbNSFP.CADD_phred&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select 5var --output chr pos ref alt dbNSFP.CADD_raw dbNSFP.CADD_phred&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GATK exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==GATK&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/IGV &lt;/ins&gt;exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; java -jar GenomeAnalysisTK.jar --help&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T UnifiedGenotyper -glm BOTH -I child.bam -I father.bam -I mother.bam -L trio.intervals -o ug.vcf&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; java -jar GenomeAnalysisTK.jar --help&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T UnifiedGenotyper -glm BOTH -I child.bam -I father.bam -I mother.bam -L trio.intervals -o ug.vcf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; less -S ug.vcf&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -T VariantEval -R human_g1k_v37.fa -L trio.intervals -D dbsnp.vcf -eval ug.vcf -o ug.vcf.eval&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;less -S ug.vcf.eval&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T SelectVariants -V ug.vcf -mv -mvq 0 -o ug.dnm.vcf -ped trio.ped&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx500m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T HaplotypeCaller -I child.bam -I father.bam -I mother.bam -minPruning 4 -L 1:199325670-199325672 -mergeVariantsViaLD -o hc.vcf&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; less -S ug.vcf&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -T VariantEval -R human_g1k_v37.fa -L trio.intervals -D dbsnp.vcf -eval ug.vcf -o ug.vcf.eval&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;less -S ug.vcf.eval&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T SelectVariants -V ug.vcf -mv -mvq 0 -o ug.dnm.vcf -ped trio.ped&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx500m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T HaplotypeCaller -I child.bam -I father.bam -I mother.bam -minPruning 4 -L 1:199325670-199325672 -mergeVariantsViaLD -o hc.vcf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;PLINKSEQ &lt;/del&gt;exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;PSEQ &lt;/ins&gt;exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Data analysis:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Data analysis:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l51&quot; &gt;Line 51:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 51:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # === Report allele frequencies after 100 generations === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; cat(&amp;quot;s=&amp;quot;) ; cat(s) ; cat(&amp;quot;: &amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; cat(freqs[n.gen+1]) ; cat(&amp;quot;\n&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # === Report allele frequencies after 100 generations === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; cat(&amp;quot;s=&amp;quot;) ; cat(s) ; cat(&amp;quot;: &amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; cat(freqs[n.gen+1]) ; cat(&amp;quot;\n&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # === Graph allele frequency changes === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pdf(&amp;quot;selection_plot.pdf&amp;quot;, paper=&amp;quot;special&amp;quot;, height=4*2, width=4*2, onefile=F)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs, col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.off()&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # === Graph allele frequency changes === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pdf(&amp;quot;selection_plot.pdf&amp;quot;, paper=&amp;quot;special&amp;quot;, height=4*2, width=4*2, onefile=F)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs, col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.off()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br data-attributes=&amp;quot;%20class=%22Apple-interchange-newline%22&amp;quot;&amp;gt;&lt;/del&gt;Regression exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Regression exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In R:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In R:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=71&amp;oldid=prev</id>
		<title>Serveradmin: /* SEQPower exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=71&amp;oldid=prev"/>
				<updated>2016-06-13T20:24:35Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;SEQPower exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:24, 13 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l56&quot; &gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; load(&amp;quot;dbp.R&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ls()&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dbp[1:5,]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.snp12 = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;), data=dbp)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( class (result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.geno = anova (result.snp12, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;lrt.pvalue = pchisq(dev.geno[dim(dev.geno)[1],&amp;quot;Deviance&amp;quot;],&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; df=2, ncp=0, FALSE)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( lrt.pvalue )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12)$coefficients )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.beta = summary(result.snp12)$coefficients[2:3,1]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( snp.beta )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(snp.beta) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ci = confint (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (ci)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(ci) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;rs1112&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.all = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.all = anova (result.all, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print(dev.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;trait&amp;quot;,&amp;quot;sex&amp;quot;, &amp;quot;age&amp;quot;, &amp;quot;rs1112&amp;quot;, &amp;quot;rs1117&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;snp.data[,&amp;quot;rs1117&amp;quot;] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; load(&amp;quot;dbp.R&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ls()&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dbp[1:5,]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.snp12 = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;), data=dbp)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( class (result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.geno = anova (result.snp12, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;lrt.pvalue = pchisq(dev.geno[dim(dev.geno)[1],&amp;quot;Deviance&amp;quot;],&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; df=2, ncp=0, FALSE)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( lrt.pvalue )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12)$coefficients )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.beta = summary(result.snp12)$coefficients[2:3,1]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( snp.beta )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(snp.beta) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ci = confint (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (ci)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(ci) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;rs1112&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.all = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.all = anova (result.all, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print(dev.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;trait&amp;quot;,&amp;quot;sex&amp;quot;, &amp;quot;age&amp;quot;, &amp;quot;rs1112&amp;quot;, &amp;quot;rs1117&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;snp.data[,&amp;quot;rs1117&amp;quot;] &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ age + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + age + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1117 + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1112 + rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ sex + rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ sex * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ age * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ rs1112 * rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;q()&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ age + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + age + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1117 + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1112 + rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ sex + rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ sex * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ age * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ rs1112 * rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;q()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==RV-TDT exercise==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; for g in `ls rvtdt_exercise_data | grep tped | cut -d&amp;quot;.&amp;quot; -f1`&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; do&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 	echo &amp;quot;runing rvTDT on gene &amp;quot;${g}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 	./rvTDT exercise_proj -G ./rvtdt_exercise_data/${g}.tped \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		-P ./rvtdt_exercise_data/rvtdt_exercise.phen \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		-M ./rvtdt_exercise_data/${g}.map \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--adapt 500 --alpha 0.00001 --permut 2000 \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--lower_cutoff 0 --upper_cutoff 100 \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--minVariants 3 \&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; 		--maxMissRatio 1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; done&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==SEQPower exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==SEQPower exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; spower -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;CFisher --name CMC&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; spower -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;CFisher --name CMC&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot; &gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 89:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.SEQPowerDB LOGIT method power title --condition &amp;quot;where power between 0.25 and 0.95&amp;quot;&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.SEQPowerDB LOGIT method power title --condition &amp;quot;where power between 0.25 and 0.95&amp;quot;&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for i in 1 1.5 2 2.5 3 3.5 4; do&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental $i --method &amp;quot;CFisher --name CMC$i&amp;quot; --title FixedOR$i -r 100 -j 4 -l 1 -o exercise2&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;done&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for i in 1 1.5 2 2.5 3 3.5 4; do&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental $i --method &amp;quot;CFisher --name CMC$i&amp;quot; --title FixedOR$i -r 100 -j 4 -l 1 -o exercise2&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;done&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==VAT exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==VAT exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=69&amp;oldid=prev</id>
		<title>Serveradmin: /* VAT exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=69&amp;oldid=prev"/>
				<updated>2016-06-13T14:52:04Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;VAT exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:52, 13 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l166&quot; &gt;Line 166:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 166:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cut -f1,3 META_RV_VT.asso.res | head==VMT==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cut -f1,3 META_RV_VT.asso.res | head==VMT==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ##################################&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; ##################################&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # Example 1: Autosomal recessive #&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; # Example 1: Autosomal recessive #&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=68&amp;oldid=prev</id>
		<title>Serveradmin: /* VAT exercise */</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=68&amp;oldid=prev"/>
				<updated>2016-06-13T14:51:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;VAT exercise&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:51, 13 June 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l76&quot; &gt;Line 76:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for i in 1 1.5 2 2.5 3 3.5 4; do&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental $i --method &amp;quot;CFisher --name CMC$i&amp;quot; --title FixedOR$i -r 100 -j 4 -l 1 -o exercise2&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;done&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for i in 1 1.5 2 2.5 3 3.5 4; do&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental $i --method &amp;quot;CFisher --name CMC$i&amp;quot; --title FixedOR$i -r 100 -j 4 -l 1 -o exercise2&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;done&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==VAT exercise==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==VAT exercise==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools -h&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools -h&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init VATDemo&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init VATDemo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l123&quot; &gt;Line 123:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 124:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove variants to_remove -v0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove variants to_remove -v0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove genotypes &amp;quot;DP_geno&amp;lt;10&amp;quot; -v0 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools select variant &amp;quot;mut_type like 'non%' or mut_type like 'stop%' or region_type='splicing'&amp;quot; -t v_funct &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools show tables &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools show samples --limit 5 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools select variant --samples &amp;quot;RACE=1&amp;quot; -t CEU &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;mkdir -p ceu&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools remove genotypes &amp;quot;DP_geno&amp;lt;10&amp;quot; -v0 vtools select variant &amp;quot;mut_type like 'non%' or mut_type like 'stop%' or region_type='splicing'&amp;quot; -t v_funct&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools show tables&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools show samples --limit 5&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools select variant --samples &amp;quot;RACE=1&amp;quot; -t CEU&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;mkdir -p ceu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd ceu&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd ceu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init ceu --parent ../ --variants CEU --samples &amp;quot;RACE=1&amp;quot; --build hg19&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init ceu --parent ../ --variants CEU --samples &amp;quot;RACE=1&amp;quot; --build hg19&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show project&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show project&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;CEU_mafGD10&amp;gt;=0.05&amp;quot; -t common_ceu&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;CEU_mafGD10&amp;gt;=0.05&amp;quot; -t common_ceu&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;CEU_mafGD10&amp;lt;0.01&amp;quot; -t rare_ceu &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools use refGene &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools show annotation refGene &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools associate -h &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools show tests &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools show test LinRegBurden&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;CEU_mafGD10&amp;lt;0.01&amp;quot; -t rare_ceu vtools use refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools show annotation refGene&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools associate -h&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools show tests&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools show test LinRegBurden&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate common_ceu BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db EA_CV &amp;gt; EA_CV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate common_ceu BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db EA_CV &amp;gt; EA_CV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; grep -i error *.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; grep -i error *.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l135&quot; &gt;Line 135:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 144:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools show fields&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_ceu BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_ceu BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; grep -i error *.log | tail -&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; grep -i error *.log | tail -&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; less EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; less EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; sort -g -k6 EA_RV.asso.res | head&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; sort -g -k6 EA_RV.asso.res | head&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_ceu BMI --covariate SEX -m &amp;quot;VariableThresholdsQt --alternative 2 -p 100000 --adaptive 0.0005&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_ceu BMI --covariate SEX -m &amp;quot;VariableThresholdsQt --alternative 2 -p 100000 --adaptive 0.0005&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; grep -i error *.log | tail -&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;22&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; grep -i error *.log | tail -&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; less EA_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; less EA_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; sort -g -k6 EA_RV_VT.asso.res | head&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; sort -g -k6 EA_RV_VT.asso.res | head&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select rare_ceu &amp;quot;refGene.name2='ABCC1'&amp;quot; -o chr pos ref alt CEU_mafGD10 numGD10 mut_type --header&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select rare_ceu &amp;quot;refGene.name2='ABCC1'&amp;quot; -o chr pos ref alt CEU_mafGD10 numGD10 mut_type --header&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV -b --label_top 2 -f 6 &amp;lt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV -b --label_top 2 -f 6 &amp;lt; EA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association manhattan -o MHRV -b --label_top 5 --color Dark2 --chrom_prefix None -f 6 &amp;lt; EA_RV.asso.res &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools associate rare_ceu BMI --covariate SEX KING_MDS1 KING_MDS2 -m &amp;quot;LinRegBurden --name RVMDS2 --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_MDS2.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association manhattan -o MHRV -b --label_top 5 --color Dark2 --chrom_prefix None -f 6 &amp;lt; EA_RV.asso.res vtools associate rare_ceu BMI --covariate SEX KING_MDS1 KING_MDS2 -m &amp;quot;LinRegBurden --name RVMDS2 --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_MDS2.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV_MDS2 -b --label_top 2 -f 6 &amp;lt; EA_RV_MDS2.asso.res &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;cd .. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools select variant --samples &amp;quot;RACE=0&amp;quot; -t YRI&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;mkdir -p yri&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;cd yri&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report plot_association qq -o QQRV_MDS2 -b --label_top 2 -f 6 &amp;lt; EA_RV_MDS2.asso.res cd ..&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;vtools select variant --samples &amp;quot;RACE=0&amp;quot; -t YRI&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;mkdir -p yri&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/ins&gt;cd yri&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init yri --parent ../ --variants YRI --samples &amp;quot;RACE=0&amp;quot; --build hg19&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools init yri --parent ../ --variants YRI --samples &amp;quot;RACE=0&amp;quot; --build hg19&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;YRI_mafGD10&amp;gt;=0.05&amp;quot; -t common_yri&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select variant &amp;quot;YRI_mafGD10&amp;gt;=0.05&amp;quot; -t common_yri&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;YRI_mafGD10&amp;lt;0.01&amp;quot; -t rare_yri &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/del&gt;vtools use refGene&amp;#160; vtools associate common_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db YA_CV &amp;gt; YA_CV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools select v_funct &amp;quot;YRI_mafGD10&amp;lt;0.01&amp;quot; -t rare_yri vtools use refGene &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate common_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db YA_CV &amp;gt; YA_CV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_yri BMI --covariate SEX -m &amp;quot;VariableThresholdsQt --alternative 2 -p 100000 --adaptive 0.0005&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools associate rare_yri BMI --covariate SEX -m &amp;quot;VariableThresholdsQt --alternative 2 -p 100000 --adaptive 0.0005&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd ..&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd ..&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cut -f1,3 META_RV_VT.asso.res | head&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cut -f1,3 META_RV_VT.asso.res | head&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;==VMT==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; ##################################&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; # Example 1: Autosomal recessive #&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; ##################################&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools init VMT --force&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools import AR1.vcf.gz AR2.vcf.gz --format NSHI.fmt --build hg19 -j8&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show tables&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show samples&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools execute ANNOVAR geneanno&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools use dbNSFP.DB&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools use refGene&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show fields&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select variant &amp;quot;(ExAC_AF is NULL or ExAC_AF&amp;lt;0.0005) AND (ExAC_SAS_AF is NULL or ExAC_SAS_AF&amp;lt;0.0005)&amp;quot;&amp;#160; -t&amp;#160; ExAC0005 vtools select ExAC0005 &amp;quot;CADD_phred&amp;gt;20 or CADD_phred is NULL&amp;quot; -t CADD20&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select CADD20 &amp;quot;region_type is 'splicing' OR (mut_type is not NULL AND mut_type is not 'synonymous SNV' AND mut_type is not 'unknown')&amp;quot; -t ANNOVARtype&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select ANNOVARtype &amp;quot;dbNSFP.chr is not null&amp;quot; --output chr pos ref alt sift_pred lrt_pred fathmm_pred mutationtaster_pred mutationassessor_pred polyphen2_hdiv_pred polyphen2_hvar_pred provean_pred MetaLR_pred MetaSVM_pred &amp;gt;snv.txt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; python choose_damaging_variants.py snv.txt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools update ANNOVARtype --format VMT_annotation.fmt --from_file snv.txt.parsed &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select ANNOVARtype &amp;quot;vmt_annotation='damaging_SNV'&amp;quot; -t damaging&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select damaging &amp;quot;chr=16 AND (pos&amp;gt;=63600000 AND pos&amp;lt;=79700000)&amp;quot; -o chr pos ref alt region_type region_name mut_type function rs_dbSNP141 ExAC_Adj_AF ExAC_SAS_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools update damaging --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;homX=#(hom)&amp;quot; --samples &amp;quot;sample_name='L1' OR sample_name='L2'&amp;quot; -j2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select damaging &amp;quot;totX=homX AND totX=2&amp;quot; -t homL1_L2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools remove fields totX homX&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools output homL1_L2 chr pos ref alt region_type region_name mut_type function rs_dbSNP141 ExAC_Adj_AF ExAC_SAS_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; ##################################&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; # Example 2: Autosomal dominant&amp;#160; #&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; ##################################&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools import AD.vcf.gz --format NSHI.fmt --build hg19 -j8&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show tables&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show samples&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select variant &amp;quot;(ExAC_AF is NULL or ExAC_AF&amp;lt;0.0005) AND (ExAC_NFE_AF is NULL or ExAC_NFE_AF&amp;lt;0.0005)&amp;quot;&amp;#160; --samples &amp;quot;sample_name='AD1' OR sample_name='AD2'&amp;quot; -t&amp;#160; ExAC0005_AD vtools select ExAC0005_AD &amp;quot;CADD_phred&amp;gt;15 or CADD_phred is NULL&amp;quot; -t CADD15_AD&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select CADD15_AD &amp;quot;dbNSFP.chr is not null&amp;quot; --output chr pos ref alt sift_pred lrt_pred fathmm_pred mutationtaster_pred mutationassessor_pred polyphen2_hdiv_pred polyphen2_hvar_pred provean_pred MetaLR_pred MetaSVM_pred &amp;gt;snv.txt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; python choose_damaging_variants.py snv.txt &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools update variant --format VMT_annotation.fmt --from_file snv.txt.parsed &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select CADD15_AD &amp;quot;vmt_annotation='damaging_SNV'&amp;quot; -t damaging_AD&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools update damaging_AD --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;hetX=#(het)&amp;quot; --samples &amp;quot;sample_name='AD1' OR sample_name='AD2'&amp;quot; -j2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select damaging_AD &amp;quot;totX=hetX AND totX=2&amp;quot; -t hetAD_2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools remove fields totX hetX&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools output hetAD_2 chr pos ref alt refGene.name2 rs_dbSNP141 ExAC_Adj_AF ExAC_SAS_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; ##################################&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; #&amp;#160; &amp;#160; &amp;#160;  Example 3: De Novo&amp;#160; &amp;#160; &amp;#160;  #&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; ##################################&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools import de_novo.vcf.gz --format NSHI.fmt --build hg19 -j8&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show tables&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools show samples&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools update variant --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;hetX=#(het)&amp;quot; --samples &amp;quot;sample_name='Son'&amp;quot; -j2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select variant &amp;quot;totX=hetX AND totX=1&amp;quot; -t Son_het&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools update Son_het --from_stat &amp;quot;totX=#(GT)&amp;quot; &amp;quot;wtX=#(wtGT)&amp;quot; --samples &amp;quot;sample_name='Dad' OR sample_name='Mom'&amp;quot; -j2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools select Son_het &amp;quot;(totX=wtX AND totX=2) and ((ExAC_AF is NULL or ExAC_AF&amp;lt;0.0005) AND (ExAC_NFE_AF is NULL or ExAC_NFE_AF&amp;lt;0.0005))&amp;quot; -t deNovo&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; vtools output deNovo chr pos ref alt refGene.name2 rs_dbSNP141 ExAC_Adj_AF ExAC_NFE_AF CADD_phred FATHMM_pred LRT_pred MetaLR_pred MetaSVM_pred MutationAssessor_pred MutationTaster_pred Polyphen2_HDIV_pred Polyphen2_HVAR_pred PROVEAN_pred SIFT_pred &amp;quot;samples('geno_filter=GT=1')&amp;quot; &amp;quot;samples('geno_filter=GT=2')&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	<entry>
		<id>http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=66&amp;oldid=prev</id>
		<title>Serveradmin: Created page with &quot;__NOTITLE__  ==Annotation exercise==   mkdir APOC3 &amp;amp;&amp;amp; cd APOC3  vtools init APOC3  vtools import ../data/APOC3.vcf --format ../data/vcf.fmt --build hg19  vtools select...&quot;</title>
		<link rel="alternate" type="text/html" href="http://statgen.us/index.php?title=2016-july-berlin-commands&amp;diff=66&amp;oldid=prev"/>
				<updated>2016-06-13T14:34:05Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTITLE__  ==Annotation exercise==   mkdir APOC3 &amp;amp;&amp;amp; cd APOC3  vtools init APOC3  vtools import ../data/APOC3.vcf --format ../data/vcf.fmt --build hg19  vtools select...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTITLE__&lt;br /&gt;
&lt;br /&gt;
==Annotation exercise==&lt;br /&gt;
&lt;br /&gt;
 mkdir APOC3 &amp;amp;amp;&amp;amp;amp; cd APOC3&lt;br /&gt;
 vtools init APOC3&lt;br /&gt;
 vtools import ../data/APOC3.vcf --format ../data/vcf.fmt --build hg19&lt;br /&gt;
 vtools select variant --count&lt;br /&gt;
 vtools use refGene&lt;br /&gt;
 vtools show fields&lt;br /&gt;
 vtools select variant --output chr pos ref alt refGene.name2&lt;br /&gt;
 vtools use ../data/dbNSFP.DB&lt;br /&gt;
 vtools show fields&lt;br /&gt;
 vtools select variant 'id=&amp;quot;rs76353203&amp;quot; or id=&amp;quot;rs140621530&amp;quot; or id=&amp;quot;rs147210663&amp;quot; or id=&amp;quot;rs121918381&amp;quot; or id=&amp;quot;rs121918382&amp;quot;' -t 5var&lt;br /&gt;
 vtools select 5var --output chr pos ref alt id dbNSFP.GERP_RS dbNSFP.phyloP100way_vertebrate dbNSFP.phastCons100way_vertebrate&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.FATHMM_pred dbNSFP.FATHMM_score&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.Polyphen2_HDIV_pred dbNSFP.Polyphen2_HDIV_score dbNSFP.Polyphen2_HVAR_pred dbNSFP.Polyphen2_HVAR_score&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.LRT_pred dbNSFP.LRT_score&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.MutationTaster_pred&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.PROVEAN_pred dbNSFP.PROVEAN_score&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.SIFT_pred dbNSFP.SIFT_score&lt;br /&gt;
 vtools select 5var --output chr pos ref alt dbNSFP.CADD_raw dbNSFP.CADD_phred&lt;br /&gt;
==GATK exercise==&lt;br /&gt;
&lt;br /&gt;
 java -jar GenomeAnalysisTK.jar --help&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T UnifiedGenotyper -glm BOTH -I child.bam -I father.bam -I mother.bam -L trio.intervals -o ug.vcf&lt;br /&gt;
 less -S ug.vcf&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -T VariantEval -R human_g1k_v37.fa -L trio.intervals -D dbsnp.vcf -eval ug.vcf -o ug.vcf.eval&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;less -S ug.vcf.eval&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx200m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T SelectVariants -V ug.vcf -mv -mvq 0 -o ug.dnm.vcf -ped trio.ped&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;java -Xmx500m -jar GenomeAnalysisTK.jar -R human_g1k_v37.fa -T HaplotypeCaller -I child.bam -I father.bam -I mother.bam -minPruning 4 -L 1:199325670-199325672 -mergeVariantsViaLD -o hc.vcf&lt;br /&gt;
==PLINKSEQ exercise==&lt;br /&gt;
Data analysis:&lt;br /&gt;
&lt;br /&gt;
 pseq help&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq help all&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj new-project --resources hg19&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj load-vcf --vcf CEU.exon.2010_03.genotypes.hg19.vcf.gz YRI.exon.2010_03.genotypes.hg19.vcf.gz&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj load-pheno --file phenotype.phe&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-view | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj i-view | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj summary &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj ind-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj loc-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj ref-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj seq-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj file-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj meta-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-stats&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj i-stats | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj tag-file --id 1 --name CEU&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj tag-file --id 2 --name YRI&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-freq | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-freq --mask file=CEU | head &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-freq --mask file=YRI | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-view --mask any.filter.ex | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-view --mask any.filter.ex | wc -l&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj v-view --mask any.filter | wc -l&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass --mask any.filter.ex&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15 --mask include=&amp;quot;DP&amp;gt;14&amp;quot; var=pass&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10 --mask geno=DP:ge:11 var=pass_DP15&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_CEU --mask file=CEU var=pass_DP15_DPgeno10&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_CEU_HWE --mask hwe=5.7e-7:1 var=pass_DP15_DPgeno10_CEU&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_CEU_HWE_MAFgt05 --mask maf=0.05:0.5 var=pass_DP15_DPgeno10_CEU_HWE&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_CEU_HWE_MAFlt01 --mask &amp;quot;mac=1 maf=0.01&amp;quot; var=pass_DP15_DPgeno10_CEU_HWE&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj glm --phenotype BMI --covar SEX --mask var=pass_DP15_DPgeno10_CEU_HWE_MAFgt05 &amp;gt; SNV_CEU.result &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;head SNV_CEU.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;cat SNV_CEU.result | awk '{if(FNR==1) print $0; if(NR&amp;gt;1) print $0 | &amp;quot;sort -k9&amp;quot;}' | grep -v &amp;quot;NA\s\+NA\s\+NA&amp;quot; | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj assoc --tests skat --phenotype BMI --covar SEX --mask var=pass_DP15_DPgeno10_CEU_HWE_MAFlt01 loc.group=refseq &amp;gt; SKAT_CEU.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj assoc --tests skat --phenotype BMI --covar SEX --mask include=&amp;quot;DP&amp;gt;14&amp;quot; geno=DP:ge:11 file=CEU hwe=5.7e-7:1 &amp;quot;mac=1 maf=0.01&amp;quot; loc.group=refseq &amp;gt; SKAT_CEU.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;head -20 SKAT_CEU.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;cat SKAT_CEU.result | grep SKAT | grep -v &amp;quot;P=NA&amp;quot; | sort -k6 | head -15&lt;br /&gt;
&lt;br /&gt;
Exercise&amp;amp;nbsp;analyzing YRI samples:&lt;br /&gt;
&lt;br /&gt;
 pseq myproj var-set --group pass_DP15_DPgeno10_YRI --mask file=YRI var=pass_DP15_DPgeno10&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_YRI_HWE --mask hwe=5.7e-7:1 var=pass_DP15_DPgeno10_YRI&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_YRI_HWE_MAFgt05 --mask maf=0.05:0.5 var=pass_DP15_DPgeno10_YRI_HWE&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-set --group pass_DP15_DPgeno10_YRI_HWE_MAFlt01 --mask &amp;quot;mac=1 maf=0.01&amp;quot; var=pass_DP15_DPgeno10_YRI_HWE&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj var-summary&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj glm --phenotype BMI --covar SEX --mask var=pass_DP15_DPgeno10_YRI_HWE_MAFgt05 &amp;gt; SNV_YRI.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;head SNV_YRI.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;cat SNV_YRI.result | awk '{if(FNR==1) print $0; if(NR&amp;gt;1) print $0 | &amp;quot;sort -k9&amp;quot;}' | grep -v &amp;quot;NA\s\+NA\s\+NA&amp;quot; | head&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pseq myproj assoc --tests skat --phenotype BMI --covar SEX --mask include=&amp;quot;DP&amp;gt;14&amp;quot; geno=DP:ge:11 file=YRI hwe=5.7e-7:1 &amp;quot;mac=1 maf=0.01&amp;quot; loc.group=refseq &amp;gt; SKAT_YRI.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;head -20 SKAT_YRI.result&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;cat SKAT_YRI.result | grep SKAT | grep -v &amp;quot;P=NA&amp;quot; | sort -k6 | head -15&lt;br /&gt;
&lt;br /&gt;
==Popgen exercise R programs==&lt;br /&gt;
popgen_drift.q&lt;br /&gt;
&lt;br /&gt;
 #############################################################&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;### Michael Nothnagel, michael.nothnagel@uni-koeln.de ###&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;### Simulating genetic drift ###&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#############################################################&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;N.s = c(10, 100, 1000, 10000)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;n.gen = 50&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;n.rep = 100&lt;br /&gt;
 # === Simulate genetic drift === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for (n in N.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = matrix(NA, ncol=n.gen+1, nrow=n.rep)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (i in 1:n.rep) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; alleles = c(rep(0,n/2), rep(1,n/2))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs[i,1] = sum(alleles==1) / length(alleles)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (j in 1:n.gen) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; alleles = sample (alleles, length(alleles), replace=T)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs[i,j+1] = sum(alleles==1) / length(alleles)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; assign (paste(&amp;quot;freqs.n&amp;quot;, n, sep=&amp;quot;&amp;quot;), freqs)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&lt;br /&gt;
 summary(freqs.n10 [,n.gen+1])&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(freqs.n100 [,n.gen+1])&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(freqs.n1000 [,n.gen+1])&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(freqs.n10000[,n.gen+1])&lt;br /&gt;
 # === Graph allele frequency changes === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pdf(&amp;quot;drift_plot.pdf&amp;quot;, paper=&amp;quot;special&amp;quot;, height=4*2, width=4*2, onefile=F)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; split.screen(c(2,2))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(1)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;, main=&amp;quot;N=10&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.n&amp;quot;, 10 , sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (i in 1:n.rep) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs[i,], col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(2)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;, main=&amp;quot;N=100&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.n&amp;quot;, 100 , sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (i in 1:n.rep) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs[i,], col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(3)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;, main=&amp;quot;N=1000&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.n&amp;quot;, 1000 , sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (i in 1:n.rep) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs[i,], col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(4)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;, main=&amp;quot;N=10000&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.n&amp;quot;, 10000, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (i in 1:n.rep) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs[i,], col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; close.screen(all.screens=T)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.off()&lt;br /&gt;
 # === Graph allele frequency after 50 generations === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pdf(&amp;quot;drift_hist.pdf&amp;quot;, paper=&amp;quot;special&amp;quot;, height=4*2, width=4*2, onefile=F)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; split.screen(c(2,2))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(1)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; hist(freqs.n10 [,n.gen+1], main=&amp;quot;N=10&amp;quot;, xlab=&amp;quot;Allele frequency&amp;quot;, xlim=c(0,1))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(2)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; hist(freqs.n100 [,n.gen+1], main=&amp;quot;N=100&amp;quot;, xlab=&amp;quot;Allele frequency&amp;quot;, xlim=c(0,1))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(3)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; hist(freqs.n1000 [,n.gen+1], main=&amp;quot;N=1000&amp;quot;, xlab=&amp;quot;Allele frequency&amp;quot;, xlim=c(0,1))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; screen(4)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; hist(freqs.n10000[,n.gen+1], main=&amp;quot;N=10000&amp;quot;, xlab=&amp;quot;Allele frequency&amp;quot;, xlim=c(0,1))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; close.screen(all.screens=T)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.off()&lt;br /&gt;
&lt;br /&gt;
popgen.selection.q&lt;br /&gt;
&lt;br /&gt;
 #############################################################&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;### Michael Nothnagel, michael.nothnagel@uni-koeln.de ###&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;### Calculation allele frequency changes due to selection ###&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#############################################################&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;s.s = c(0.001, 0.01, 0.1)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;h = 0.5&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;n.gen = 100&lt;br /&gt;
 # === Calculate allele frequency changes === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = rep(NA, n.gen+1)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; af = 0.5&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs[1] = 1-af&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (j in 1:n.gen) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; omega = 1 - 2*af*(1-af)*h*s - (1-af)*(1-af)*s&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; f.het = (1-h*s)*2*af*(1-af)/omega&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; f.hom = af*af/omega&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; af = f.hom + f.het/2&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs[j+1] = 1-af&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; assign (paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;), freqs)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&lt;br /&gt;
 # === Report allele frequencies after 100 generations === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; cat(&amp;quot;s=&amp;quot;) ; cat(s) ; cat(&amp;quot;: &amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; cat(freqs[n.gen+1]) ; cat(&amp;quot;\n&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&lt;br /&gt;
 # === Graph allele frequency changes === #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;pdf(&amp;quot;selection_plot.pdf&amp;quot;, paper=&amp;quot;special&amp;quot;, height=4*2, width=4*2, onefile=F)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; plot(x=0, y=0, type=&amp;quot;n&amp;quot;, xlim=c(0,n.gen), ylim=c(0,1), xlab=&amp;quot;Generation&amp;quot;, ylab=&amp;quot;Allele frequency&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines (c(0,n.gen), rep(0.5, 2), lty=3, col=&amp;quot;#AAAAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; for (s in s.s) {&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; freqs = get(paste(&amp;quot;freqs.s&amp;quot;, s, sep=&amp;quot;&amp;quot;))&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; lines(0:n.gen,freqs, col=&amp;quot;#44AAAA&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; }&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.off()&lt;br /&gt;
==&amp;lt;br data-attributes=&amp;quot;%20class=%22Apple-interchange-newline%22&amp;quot;&amp;gt;Regression exercise==&lt;br /&gt;
In R:&lt;br /&gt;
&lt;br /&gt;
 load(&amp;quot;dbp.R&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ls()&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dbp[1:5,]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.snp12 = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;), data=dbp)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( class (result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.geno = anova (result.snp12, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;lrt.pvalue = pchisq(dev.geno[dim(dev.geno)[1],&amp;quot;Deviance&amp;quot;],&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; df=2, ncp=0, FALSE)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( lrt.pvalue )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( summary(result.snp12)$coefficients )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.beta = summary(result.snp12)$coefficients[2:3,1]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( snp.beta )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(snp.beta) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;ci = confint (result.snp12)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print (ci)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print ( exp(ci) )&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;rs1112&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.all = glm (affection ~ rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;dev.all = anova (result.all, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;print(dev.all)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data = dbp[,c(&amp;quot;affection&amp;quot;, &amp;quot;trait&amp;quot;,&amp;quot;sex&amp;quot;, &amp;quot;age&amp;quot;, &amp;quot;rs1112&amp;quot;, &amp;quot;rs1117&amp;quot;)]&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;snp.data[,&amp;quot;rs1112&amp;quot;]&amp;lt;br /&amp;gt;snp.data[,&amp;quot;rs1117&amp;quot;] &lt;br /&gt;
 #&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ age + rs1112 , family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ sex + age + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1117 + rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = glm (affection ~ rs1112 + rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;anova (result.adj, test=&amp;quot;Chi&amp;quot;)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.adj = lm (trait ~ sex + rs1112, data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.adj)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ sex * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ age * rs1112, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;result.inter = glm (affection ~ rs1112 * rs1117, family=binomial(&amp;quot;logit&amp;quot;),&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt; data=snp.data)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;summary(result.inter)&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;#&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;q()&lt;br /&gt;
==SEQPower exercise==&lt;br /&gt;
 spower -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT -h&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;CFisher --name CMC&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.csv&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.csv power*&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.loci.csv&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.loci.csv maf&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show tests&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show test SKAT&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --def_rare 0.01 --def_neutral -0.00001 0.00001 --moi A --proportion_detrimental 1 --proportion_protective 0 --OR_rare_detrimental 1.5 --OR_common_detrimental 1 --baseline_effect 0.01 --sample_size 1000 --p1 0.5 --limit 1 --alpha 0.05 --method &amp;quot;KBAC --name K1 --mafupper 0.01 --maflower 0 --alternative 1 --moi additive --permutations 1000 --adaptive 0.1&amp;quot; --replicates 1000 --jobs 4 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.2 --ORmax_rare_detrimental 3.0  --method CFisher -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.2 --ORmax_rare_detrimental 3.0 --method CFisher -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.loci.csv effect*&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.2 --ORmax_rare_detrimental 3.0 --proportion_detrimental 0.8 --method CFisher -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --missing_sites 0.05 --method CFisher -r 100 -j 4 -l 1 -o exercise &lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --missing_sites 0.05 --method CFisher -r 100 -j 4 -l 1 -o exercise &lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --missing_low_maf 0.000125 --method CFisher -r 100 -j 4 -l 1 -o exercise &lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --missing_low_maf 0.000125 --method CFisher -r 100 -j 4 -l 1 -o exercise &lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;CFisher --alternative 1 --name CMC&amp;quot; &amp;quot;KBAC --permutations 1000 --alternative 1&amp;quot; &amp;quot;WSSRankTest --alternative 1 --name WSS&amp;quot; &amp;quot;VTtest --alternative 1 --permutations 1000&amp;quot; &amp;quot;SKAT disease&amp;quot; -r 100 -j 4 -l 1 -o exercise&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LNR Kryukov2009European1800.sfs --sample_size 1000 --meanshift_rare_detrimental 0.2 --method &amp;quot;CollapseQt --name CMC --alternative 2&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LNR Kryukov2009European1800.sfs --sample_size 1000 --meanshift_rare_detrimental 0.2 --meanshiftmax_rare_detrimental 0.5 --method &amp;quot;CollapseQt --alternative 2&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower ELNR Kryukov2009European1800.sfs --sample_size 1000 --meanshift_rare_detrimental 0.2 --QT_thresholds 0.4 0.6 --method &amp;quot;CollapseQt --alternative 2&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower ELNR Kryukov2009European1800.sfs --sample_size 1000 --p1 0.5 --meanshift_rare_detrimental 0.5 --QT_thresholds 0.4 0.6 --method &amp;quot;CollapseQt --alternative 2&amp;quot; -r 100 -j 4 -l 1 -o exercise&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental 1.5 --method &amp;quot;GroupWrite ExerciseSimulation&amp;quot; -j 4 -o exercise -v1&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower show exercise.SEQPowerDB LOGIT method power title --condition &amp;quot;where power between 0.25 and 0.95&amp;quot;&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;for i in 1 1.5 2 2.5 3 3.5 4; do&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;spower LOGIT Kryukov2009European1800.sfs --sample_size 1000 --OR_rare_detrimental $i --method &amp;quot;CFisher --name CMC$i&amp;quot; --title FixedOR$i -r 100 -j 4 -l 1 -o exercise2&amp;lt;br data-attributes=&amp;quot;%20/&amp;quot; /&amp;gt;done&lt;br /&gt;
==VAT exercise==&lt;br /&gt;
 vtools -h&lt;br /&gt;
 vtools init VATDemo&lt;br /&gt;
 vtools import *.vcf.gz --var_info DP filter --geno_info DP_geno --build hg18 -j1&lt;br /&gt;
 vtools liftover hg19&lt;br /&gt;
 head phenotypes.csv&lt;br /&gt;
 vtools phenotype --from_file phenotypes.csv --delimiter &amp;quot;,&amp;quot;&lt;br /&gt;
 vtools show project&lt;br /&gt;
 vtools show tables&lt;br /&gt;
 vtools show table variant&lt;br /&gt;
 vtools show samples&lt;br /&gt;
 vtools show genotypes&lt;br /&gt;
 vtools show fields&lt;br /&gt;
 vtools select variant --count&lt;br /&gt;
 vtools show genotypes &amp;gt; GenotypeSummary.txt&lt;br /&gt;
 head GenotypeSummary.txt&lt;br /&gt;
 vtools output variant &amp;quot;max(DP)&amp;quot; &amp;quot;min(DP)&amp;quot; &amp;quot;avg(DP)&amp;quot; &amp;quot;stdev(DP)&amp;quot; &amp;quot;lower_quartile(DP)&amp;quot; &amp;quot;upper_quartile(DP)&amp;quot; --header&lt;br /&gt;
 vtools select variant &amp;quot;filter='PASS'&amp;quot; --count&lt;br /&gt;
 vtools select variant &amp;quot;filter='PASS'&amp;quot; -o &amp;quot;max(DP)&amp;quot; &amp;quot;min(DP)&amp;quot; &amp;quot;avg(DP)&amp;quot; &amp;quot;stdev(DP)&amp;quot; &amp;quot;lower_quartile(DP)&amp;quot; &amp;quot;upper_quartile(DP)&amp;quot; --header&lt;br /&gt;
 vtools update variant --from_stat 'total=#(GT)' 'num=#(alt)' 'het=#(het)' 'hom=#(hom)' 'other=#(other)' 'minDP=min(DP_geno)' 'maxDP=max(DP_geno)' 'meanDP=avg(DP_geno)' 'maf=maf()'&lt;br /&gt;
 vtools show fields&lt;br /&gt;
 vtools show table variant&lt;br /&gt;
 vtools update variant --from_stat 'totalGD10=#(GT)' 'numGD10=#(alt)' 'hetGD10=#(het)' 'homGD10=#(hom)' 'otherGD10=#(other)' 'mafGD10=maf()' --genotypes &amp;quot;DP_geno &amp;gt; 10&amp;quot;&lt;br /&gt;
 vtools show fields&lt;br /&gt;
 vtools show table variant&lt;br /&gt;
 vtools output variant chr pos maf mafGD10 --header --limit 20&lt;br /&gt;
 vtools phenotype --set &amp;quot;RACE=0&amp;quot; --samples &amp;quot;filename like 'YRI%'&amp;quot;&lt;br /&gt;
 vtools phenotype --set &amp;quot;RACE=1&amp;quot; --samples &amp;quot;filename like 'CEU%'&amp;quot;&lt;br /&gt;
 vtools show samples --limit 10&lt;br /&gt;
 vtools update variant --from_stat 'CEU_mafGD10=maf()' --genotypes 'DP_geno&amp;gt;10' --samples &amp;quot;RACE=1&amp;quot;&lt;br /&gt;
 vtools update variant --from_stat 'YRI_mafGD10=maf()' --genotypes 'DP_geno&amp;gt;10' --samples &amp;quot;RACE=0&amp;quot;&lt;br /&gt;
 vtools output variant chr pos mafGD10 CEU_mafGD10 YRI_mafGD10 --header --limit 10&lt;br /&gt;
 vtools phenotype --from_stat 'CEU_totalGD10=#(GT)' 'CEU_numGD10=#(alt)' --genotypes 'DP_geno&amp;gt;10' --samples &amp;quot;RACE=1&amp;quot;&lt;br /&gt;
 vtools phenotype --from_stat 'YRI_totalGD10=#(GT)' 'YRI_numGD10=#(alt)' --genotypes 'DP_geno&amp;gt;10' --samples &amp;quot;RACE=0&amp;quot;&lt;br /&gt;
 vtools phenotype --output sample_name CEU_totalGD10 CEU_numGD10 YRI_totalGD10 YRI_numGD10 --header&lt;br /&gt;
 vtools select variant 'maf&amp;gt;=0.01' -t variant_MAFge01 'Variants that have MAF &amp;gt;= 0.01'&lt;br /&gt;
 vtools show tables&lt;br /&gt;
 vtools execute KING --var_table variant_MAFge01&lt;br /&gt;
 vtools_report plot_pheno_fields KING_MDS1 KING_MDS2 RACE --dot KING.mds.race.pdf --discrete_color Dark2&lt;br /&gt;
 vtools_report plot_pheno_fields KING_MDS1 KING_MDS2 panel --dot KING.mds.panel.pdf --discrete_color Dark2&lt;br /&gt;
 vtools execute ANNOVAR geneanno&lt;br /&gt;
 vtools output variant chr pos ref alt mut_type --limit 20 --header&lt;br /&gt;
 vtools_report trans_ratio variant -n num&lt;br /&gt;
 vtools_report trans_ratio variant -n numGD10&lt;br /&gt;
 vtools select variant &amp;quot;DP&amp;lt;15&amp;quot; -t to_remove&lt;br /&gt;
 vtools show tables&lt;br /&gt;
 vtools remove variants to_remove -v0&lt;br /&gt;
 vtools show tables&lt;br /&gt;
 vtools remove genotypes &amp;quot;DP_geno&amp;lt;10&amp;quot; -v0 &amp;lt;br /&amp;gt;vtools select variant &amp;quot;mut_type like 'non%' or mut_type like 'stop%' or region_type='splicing'&amp;quot; -t v_funct &amp;lt;br /&amp;gt;vtools show tables &amp;lt;br /&amp;gt;vtools show samples --limit 5 &amp;lt;br /&amp;gt;vtools select variant --samples &amp;quot;RACE=1&amp;quot; -t CEU &amp;lt;br /&amp;gt;mkdir -p ceu&lt;br /&gt;
 cd ceu&lt;br /&gt;
 vtools init ceu --parent ../ --variants CEU --samples &amp;quot;RACE=1&amp;quot; --build hg19&lt;br /&gt;
 vtools show project&lt;br /&gt;
 vtools select variant &amp;quot;CEU_mafGD10&amp;gt;=0.05&amp;quot; -t common_ceu&lt;br /&gt;
 vtools select v_funct &amp;quot;CEU_mafGD10&amp;lt;0.01&amp;quot; -t rare_ceu &amp;lt;br /&amp;gt;vtools use refGene &amp;lt;br /&amp;gt;vtools show annotation refGene &amp;lt;br /&amp;gt;vtools associate -h &amp;lt;br /&amp;gt;vtools show tests &amp;lt;br /&amp;gt;vtools show test LinRegBurden&lt;br /&gt;
 vtools associate common_ceu BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db EA_CV &amp;gt; EA_CV.asso.res&lt;br /&gt;
 grep -i error *.log&lt;br /&gt;
 less EA_CV.asso.res&lt;br /&gt;
 sort -g -k7 EA_CV.asso.res | head&lt;br /&gt;
 vtools show fields&lt;br /&gt;
 vtools associate rare_ceu BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV.asso.res&lt;br /&gt;
 grep -i error *.log | tail -22&lt;br /&gt;
 less EA_RV.asso.res&lt;br /&gt;
 sort -g -k6 EA_RV.asso.res | head&lt;br /&gt;
 vtools associate rare_ceu BMI --covariate SEX -m &amp;quot;VariableThresholdsQt --alternative 2 -p 100000 --adaptive 0.0005&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_VT.asso.res&lt;br /&gt;
 grep -i error *.log | tail -22&lt;br /&gt;
 less EA_RV_VT.asso.res&lt;br /&gt;
 sort -g -k6 EA_RV_VT.asso.res | head&lt;br /&gt;
 vtools select rare_ceu &amp;quot;refGene.name2='ABCC1'&amp;quot; -o chr pos ref alt CEU_mafGD10 numGD10 mut_type --header&lt;br /&gt;
 vtools_report plot_association qq -o QQRV -b --label_top 2 -f 6 &amp;lt; EA_RV.asso.res&lt;br /&gt;
 vtools_report plot_association manhattan -o MHRV -b --label_top 5 --color Dark2 --chrom_prefix None -f 6 &amp;lt; EA_RV.asso.res &amp;lt;br /&amp;gt;vtools associate rare_ceu BMI --covariate SEX KING_MDS1 KING_MDS2 -m &amp;quot;LinRegBurden --name RVMDS2 --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db EA_RV &amp;gt; EA_RV_MDS2.asso.res&lt;br /&gt;
 vtools_report plot_association qq -o QQRV_MDS2 -b --label_top 2 -f 6 &amp;lt; EA_RV_MDS2.asso.res &amp;lt;br /&amp;gt;cd .. &amp;lt;br /&amp;gt;vtools select variant --samples &amp;quot;RACE=0&amp;quot; -t YRI&amp;lt;br /&amp;gt;mkdir -p yri&amp;lt;br /&amp;gt;cd yri&lt;br /&gt;
 vtools init yri --parent ../ --variants YRI --samples &amp;quot;RACE=0&amp;quot; --build hg19&lt;br /&gt;
 vtools select variant &amp;quot;YRI_mafGD10&amp;gt;=0.05&amp;quot; -t common_yri&lt;br /&gt;
 vtools select v_funct &amp;quot;YRI_mafGD10&amp;lt;0.01&amp;quot; -t rare_yri &amp;lt;br /&amp;gt;vtools use refGene  vtools associate common_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -j1 --to_db YA_CV &amp;gt; YA_CV.asso.res&lt;br /&gt;
 vtools associate rare_yri BMI --covariate SEX -m &amp;quot;LinRegBurden --alternative 2&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV.asso.res&lt;br /&gt;
 vtools associate rare_yri BMI --covariate SEX -m &amp;quot;VariableThresholdsQt --alternative 2 -p 100000 --adaptive 0.0005&amp;quot; -g refGene.name2 -j1 --to_db YA_RV &amp;gt; YA_RV_VT.asso.res&lt;br /&gt;
 cd ..&lt;br /&gt;
 vtools_report meta_analysis ceu/EA_RV_VT.asso.res yri/YA_RV_VT.asso.res --beta 5 --pval 6 --se 7 -n 2 --link 1 &amp;gt; META_RV_VT.asso.res&lt;br /&gt;
 cut -f1,3 META_RV_VT.asso.res | head&lt;/div&gt;</summary>
		<author><name>Serveradmin</name></author>	</entry>

	</feed>