<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://genome.sph.umich.edu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bingshan</id>
	<title>Genome Analysis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://genome.sph.umich.edu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bingshan"/>
	<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/wiki/Special:Contributions/Bingshan"/>
	<updated>2026-09-26T04:19:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15183</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15183"/>
		<updated>2023-01-11T22:19:02Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Filtering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.06 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
https://github.com/yongzhuang/DNMFilter&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.06 [[Media:triodenovo.0.06.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Triodenovo.0.06.tar.gz&amp;diff=15080</id>
		<title>File:Triodenovo.0.06.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Triodenovo.0.06.tar.gz&amp;diff=15080"/>
		<updated>2019-03-07T06:37:59Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15079</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15079"/>
		<updated>2019-03-07T06:37:37Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.06 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.06 [[Media:triodenovo.0.06.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15078</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15078"/>
		<updated>2019-03-07T06:37:28Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.06 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.06 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15077</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15077"/>
		<updated>2019-03-07T06:37:08Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.06 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Triodenovo.0.04.tar.gz&amp;diff=15076</id>
		<title>File:Triodenovo.0.04.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Triodenovo.0.04.tar.gz&amp;diff=15076"/>
		<updated>2019-03-05T07:04:59Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: Bingshan uploaded a new version of File:Triodenovo.0.04.tar.gz&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15075</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15075"/>
		<updated>2019-03-05T07:03:27Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15074</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=15074"/>
		<updated>2019-03-05T07:03:14Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=14421</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=14421"/>
		<updated>2016-11-11T03:54:11Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* File format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of v0.2 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
&#039;&#039;&#039;Polymutt2 can only handle one chromosome, so please run it chromosome by chromosome&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== File format ==&lt;br /&gt;
See PLINK http://pngu.mgh.harvard.edu/~purcell/plink/data.shtml for file format&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.2 can be [[Media:Polymutt2_v0.2.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=14420</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=14420"/>
		<updated>2016-11-11T03:52:14Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of v0.2 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
&#039;&#039;&#039;Polymutt2 can only handle one chromosome, so please run it chromosome by chromosome&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== File format ==&lt;br /&gt;
See http://genome.sph.umich.edu/wiki/Polymutt for file format&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.2 can be [[Media:Polymutt2_v0.2.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14417</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14417"/>
		<updated>2016-10-26T14:22:00Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Filtering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. If infers Identity-by-Descednt (IBD) allele sharing to increase the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutation calling accuracy. As a result, the IBD sharing for the called &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations is also available in the output file.&lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows (Note that you can mix trios with other nuclear families in the same VCF file):&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
 quartet1 p4  p1 p2  1&lt;br /&gt;
 nuc1 p5  0  0   1&lt;br /&gt;
 nuc1 p6  0  0   2&lt;br /&gt;
 nuc1 p7  p1 p2  1&lt;br /&gt;
 nuc1 p8  p1 p2  1&lt;br /&gt;
 nuc1 p9  p1 p2  1&lt;br /&gt;
 trio1 p10  0  0   1&lt;br /&gt;
 trio1 p11  0  0   2&lt;br /&gt;
 troi1 p12  p1 p2  1&lt;br /&gt;
 trio2 p13  0  0   1&lt;br /&gt;
 trio2 p14  0  0   2&lt;br /&gt;
 troi2 p15  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
* A map file in the PLINK format. See blow for examples how to generate a map file with common and high quality variants&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advanced. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14416</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14416"/>
		<updated>2016-10-26T14:21:23Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Filtering */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. If infers Identity-by-Descednt (IBD) allele sharing to increase the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutation calling accuracy. As a result, the IBD sharing for the called &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations is also available in the output file.&lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows (Note that you can mix trios with other nuclear families in the same VCF file):&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
 quartet1 p4  p1 p2  1&lt;br /&gt;
 nuc1 p5  0  0   1&lt;br /&gt;
 nuc1 p6  0  0   2&lt;br /&gt;
 nuc1 p7  p1 p2  1&lt;br /&gt;
 nuc1 p8  p1 p2  1&lt;br /&gt;
 nuc1 p9  p1 p2  1&lt;br /&gt;
 trio1 p10  0  0   1&lt;br /&gt;
 trio1 p11  0  0   2&lt;br /&gt;
 troi1 p12  p1 p2  1&lt;br /&gt;
 trio2 p13  0  0   1&lt;br /&gt;
 trio2 p14  0  0   2&lt;br /&gt;
 troi2 p15  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
* A map file in the PLINK format. See blow for examples how to generate a map file with common and high quality variants&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advanced. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14415</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14415"/>
		<updated>2016-10-25T19:51:29Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Input files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. If infers Identity-by-Descednt (IBD) allele sharing to increase the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutation calling accuracy. As a result, the IBD sharing for the called &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations is also available in the output file.&lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows (Note that you can mix trios with other nuclear families in the same VCF file):&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
 quartet1 p4  p1 p2  1&lt;br /&gt;
 nuc1 p5  0  0   1&lt;br /&gt;
 nuc1 p6  0  0   2&lt;br /&gt;
 nuc1 p7  p1 p2  1&lt;br /&gt;
 nuc1 p8  p1 p2  1&lt;br /&gt;
 nuc1 p9  p1 p2  1&lt;br /&gt;
 trio1 p10  0  0   1&lt;br /&gt;
 trio1 p11  0  0   2&lt;br /&gt;
 troi1 p12  p1 p2  1&lt;br /&gt;
 trio2 p13  0  0   1&lt;br /&gt;
 trio2 p14  0  0   2&lt;br /&gt;
 troi2 p15  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
* A map file in the PLINK format. See blow for examples how to generate a map file with common and high quality variants&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14414</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14414"/>
		<updated>2016-10-25T19:50:34Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Input files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. If infers Identity-by-Descednt (IBD) allele sharing to increase the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutation calling accuracy. As a result, the IBD sharing for the called &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations is also available in the output file.&lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows (Note that you can mix trios with other nuclear families in the same VCF file):&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
 quartet1 p4  p1 p2  1&lt;br /&gt;
 nuc1 p5  0  0   1&lt;br /&gt;
 nuc1 p6  0  0   2&lt;br /&gt;
 nuc1 p7  p1 p2  1&lt;br /&gt;
 nuc1 p8  p1 p2  1&lt;br /&gt;
 nuc1 p9  p1 p2  1&lt;br /&gt;
 trio1 p10  0  0   1&lt;br /&gt;
 trio1 p11  0  0   2&lt;br /&gt;
 troi1 p12  p1 p2  1&lt;br /&gt;
 trio2 p13  0  0   1&lt;br /&gt;
 trio2 p14  0  0   2&lt;br /&gt;
 troi2 p15  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
* A map file in the PLINK format. See blow for examples how to generate a high quality map file.&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14413</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14413"/>
		<updated>2016-10-25T16:38:30Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. If infers Identity-by-Descednt (IBD) allele sharing to increase the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutation calling accuracy. As a result, the IBD sharing for the called &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations is also available in the output file.&lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
* A map file in the PLINK format. See blow for examples how to generate a high quality map file.&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14412</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14412"/>
		<updated>2016-10-25T16:34:36Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. If infers Identity-by-Descednt (IBD) allele sharing to increase the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutation calling accuracy. As a result, the IBD sharing for the called &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations is also available in the output file.&lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Bayesdenovo.0.01.tar.gz&amp;diff=14411</id>
		<title>File:Bayesdenovo.0.01.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Bayesdenovo.0.01.tar.gz&amp;diff=14411"/>
		<updated>2016-10-25T16:31:55Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14410</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14410"/>
		<updated>2016-10-25T16:30:31Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance. Please see the triodenovo page below for more information:&lt;br /&gt;
&lt;br /&gt;
http://genome.sph.umich.edu/wiki/Triodenovo&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.01 [[Media:bayesdenovo.0.01.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14409</id>
		<title>Bayesdenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Bayesdenovo&amp;diff=14409"/>
		<updated>2016-10-25T16:25:59Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: Created page with &amp;quot;== Update == v0.01 is available for  download  == Compilation == * After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.01 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd bayesdenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;bayesdenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;nuclear families&#039;&#039;&#039; (including trios, quartets, and families with more siblings) for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
    *** This build (v.0.1) was compiled on Oct 25 2016, 11:16:22 ***&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                        Input : --in_vcf [], --submap [1.00]&lt;br /&gt;
   Denovo mutation parameters : --tstv_ratio [2.00], --minDQ [5.00]&lt;br /&gt;
              Multi-threading : --nthreads [1]&lt;br /&gt;
                       Output : --out_prefix []&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 &lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo --min_DQ 7&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 quartet1 p1  0  0   1&lt;br /&gt;
 quartet1 p2  0  0   2&lt;br /&gt;
 quartet1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output will be one file per family, and the prefix to the names  is specified via --out_prefix&lt;br /&gt;
&lt;br /&gt;
An example of output file is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1 &lt;br /&gt;
 ##ProgramStart=Tue Oct 25 11:20:39 2016&lt;br /&gt;
 ##BayesDeNovo=../bin/bayesdenovo -p sim.vcf.ped -d sim.vcf.dat -m sim.vcf.map --in_vcf sim.vcf --out_prefix sim.vcf.denovo &lt;br /&gt;
 ##Note=VCF file modified by polymutt2. Updated fileds include: QUAL, GT and GQ, and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=FDQ,Number=1,Type=Integer,Description=&amp;quot;Family-wise De Novo Mutatoin Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Integer,Description=&amp;quot;De Novo Mutation Quality in log10(BF) format&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=IV,Number=2,Type=Integer,Description=&amp;quot;Best path inheritance vector. Founder alleles are arbiturally labeled (1 to 2*nFounders) and L1|L2 for non-founders indicated L1 and L2 from founders are transmitted&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  Rep1_1_1        Rep1_1_2        Rep1_1_3        Rep1_1_4&lt;br /&gt;
 1       118     .       C       A       100     .       AF=0.333333;AC=7;DP=1629;FDQ=8.667414   GT:DQ:DP:PL     0/0:.:202:1|2:0,100,255 0/0:.:234:3|4:0,100,255 0/1:8.97:203:1|3:100,0,255      0/0:.:206:2|4:0,100,255&lt;br /&gt;
 1       858     .       C       A       100     .       AF=0.333333;AC=10;DP=1592;FDQ=8.688325  GT:DQ:DP:PL     0/0:.:184:1|2:0,100,255 0/0:.:208:3|4:0,100,255 0/0:.:220:1|3:0,100,255 0/1:8.99:197:2|4:100,0,255&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14390</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14390"/>
		<updated>2016-09-06T17:36:57Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.1 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The software suite iDriver is to perform integrative modeling of multi-oimcs data to identify cancer driver genes. Details are in the READ file in the Download&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[Media:iDriverV0.1.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14389</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14389"/>
		<updated>2016-09-06T17:34:34Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.1 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The software suite iDriver is to perform integrative modeling of multi-oimcs data to identify cancer driver genes. Details are in the READ file in the [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[Media:iDriverV0.1.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14388</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14388"/>
		<updated>2016-09-06T17:32:24Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.1 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The software suite iDriver is to perform integrative model of multi-oimcs data to identify cancer driver genes. Details are in the READ file in the [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[Media:iDriverV0.1.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14387</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14387"/>
		<updated>2016-09-06T17:30:32Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:iDriverV0.1.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14386</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14386"/>
		<updated>2016-09-06T17:29:27Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[IDriverV0.1.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14385</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14385"/>
		<updated>2016-09-06T17:28:40Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[iDriverV0.1.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:IDriverV0.1.zip&amp;diff=14384</id>
		<title>File:IDriverV0.1.zip</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:IDriverV0.1.zip&amp;diff=14384"/>
		<updated>2016-09-06T17:28:15Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14383</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14383"/>
		<updated>2016-09-06T17:26:51Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[iDriver0810.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:IDriver_0810.zip&amp;diff=14382</id>
		<title>File:IDriver 0810.zip</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:IDriver_0810.zip&amp;diff=14382"/>
		<updated>2016-09-06T17:26:09Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14381</id>
		<title>Idriver</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Idriver&amp;diff=14381"/>
		<updated>2016-09-06T17:24:43Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: Created page with &amp;quot; == Download == Source code of v0.1  download here.  == Contact == For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu h...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.1 [[iDriver_0810.zip | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Hai Yang:  [mailto:hai.yang@vanderbilt.edu hai.yang@vanderbilt.edu] or Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14247</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14247"/>
		<updated>2016-06-20T22:19:26Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.05 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14246</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14246"/>
		<updated>2016-06-20T22:11:52Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
The output genotypes for Indels are incorrect in this version but the de novo evidence is correctly calculated. The incorrect genotype &amp;quot;A/A&amp;quot; is the homozygous reference allele, &amp;quot;A/C&amp;quot; is the heterozygous, and &amp;quot;C/C&amp;quot; is the homozygous alternative allele, where the reference and alternative alleles for Indels are in the REF and ALT columns.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.05 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14245</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14245"/>
		<updated>2016-06-20T22:08:21Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.05 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14244</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14244"/>
		<updated>2016-06-20T22:08:02Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Update */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
&lt;br /&gt;
Recent VCF files tend to have records with different FORMAT. To avoid a potential problem caused by this please use &#039;&#039;&#039;--mixed_vcf_records&#039;&#039;&#039; on the command line when running triodenovo.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.05 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Triodenovo.0.05.tar.gz&amp;diff=14243</id>
		<title>File:Triodenovo.0.05.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Triodenovo.0.05.tar.gz&amp;diff=14243"/>
		<updated>2016-06-20T22:07:43Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14242</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14242"/>
		<updated>2016-06-20T22:07:27Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
&lt;br /&gt;
Recent VCF files tend to have records with different FORMAT. To avoid a potential problem caused by this please use &#039;&#039;&#039;--mixed_vcf_records&#039;&#039;&#039; on the command line when running triodenovo.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.05 [[Media:triodenovo.0.05.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14241</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14241"/>
		<updated>2016-06-20T18:28:09Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Note */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
&lt;br /&gt;
Recent VCF files tend to have records with different FORMAT. To avoid a potential problem caused by this please use &#039;&#039;&#039;--mixed_vcf_records&#039;&#039;&#039; on the command line when running triodenovo.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14240</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=14240"/>
		<updated>2016-06-20T18:27:28Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Note ==&lt;br /&gt;
&lt;br /&gt;
Recently VCF files tend to have records with different FORMAT. To avoid the problem please use &#039;&#039;&#039;--mixed_vcf_records&#039;&#039;&#039; on the command line when running triodenovo.&lt;br /&gt;
&lt;br /&gt;
== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=14144</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=14144"/>
		<updated>2016-04-07T16:15:33Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of v0.2 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Note ==&lt;br /&gt;
&#039;&#039;&#039;Polymutt2 can only handle one chromosome, so please run it chromosome by chromosome&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.2 can be [[Media:Polymutt2_v0.2.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Genetic_map_HapMapII_GRCh37.tar.gz&amp;diff=14097</id>
		<title>File:Genetic map HapMapII GRCh37.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Genetic_map_HapMapII_GRCh37.tar.gz&amp;diff=14097"/>
		<updated>2016-02-15T19:57:46Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: Bingshan uploaded a new version of &amp;amp;quot;File:Genetic map HapMapII GRCh37.tar.gz&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Genetic_map_HapMapII_GRCh37.tar.gz&amp;diff=14096</id>
		<title>File:Genetic map HapMapII GRCh37.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Genetic_map_HapMapII_GRCh37.tar.gz&amp;diff=14096"/>
		<updated>2016-02-15T19:57:16Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: Bingshan uploaded a new version of &amp;amp;quot;File:Genetic map HapMapII GRCh37.tar.gz&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13898</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13898"/>
		<updated>2015-12-02T06:49:58Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
* Example 5: using --mixed_vcf_records when not all records have the same FORMAT. If NOT all FORMAT columns are the same, it will report error if this option is not provided.  &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=File:Polymutt2_v0.2.tar.gz&amp;diff=13700</id>
		<title>File:Polymutt2 v0.2.tar.gz</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=File:Polymutt2_v0.2.tar.gz&amp;diff=13700"/>
		<updated>2015-09-04T01:05:36Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13699</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13699"/>
		<updated>2015-09-04T01:04:31Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Updates */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of v0.2 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.2 can be [[Media:Polymutt2_v0.2.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13698</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13698"/>
		<updated>2015-09-04T01:04:17Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of 0.1 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.2 can be [[Media:Polymutt2_v0.2.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13694</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13694"/>
		<updated>2015-09-03T15:32:10Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Contact */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of 0.1 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.1 can be [[Media:Polymutt2.0.1.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13619</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13619"/>
		<updated>2015-07-06T15:11:54Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Input files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
** Note: In the VCF file either PL or GL has to be provided, and only the PL (or GL) field is used in the calling.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13618</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13618"/>
		<updated>2015-07-06T15:09:34Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 3: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 4: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13617</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13617"/>
		<updated>2015-07-06T15:08:57Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
* After downloading the source code, unzip and untar it, and cd triodenovo, and then type Make&lt;br /&gt;
* If you encountered errors related to deprecated usage of some syntax please try to comment out the following in the core/Makefile&lt;br /&gt;
 CXXFLAGS += -Werror -Wno-unused-variable -Wno-unused-result&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 1: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 1: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13616</id>
		<title>Triodenovo</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Triodenovo&amp;diff=13616"/>
		<updated>2015-07-06T15:06:19Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Note */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update ==&lt;br /&gt;
v0.04 is available for [[#Download | download]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
* The program &#039;&#039;&#039;triodenovo&#039;&#039;&#039; implemented a Bayesian framework for calling &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations in &#039;&#039;&#039;trios&#039;&#039;&#039; for next-generation sequencing data. &lt;br /&gt;
* It takes as input a standard VCF file with PL or GL fields (storing genotype likelihoods). Commonly used callers, e.g. GATK and samtools, generate VCF files with PL values.&lt;br /&gt;
* It calculates the likelihood of the model with &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; mutations, denoted as L1, and the likelihood of Mendelian transmission, denoted as L0, and represent the &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039; evidence using a Bayesian factor BF=L1/L0. In TrioDeNovo the  &#039;&#039;&#039;&#039;&#039;de novo&#039;&#039;&#039;&#039;&#039;  quality is represented as DQ=log10(BF) = log10(L1/L0).&lt;br /&gt;
* DQ is the major parameter to control the output, along with others. See the [[#Output | example output ]] file below&lt;br /&gt;
* We recommend some basic and also a more advanced  [[#Filtering | filtering]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
A command without any input will invoke triodenovo and display the following message&lt;br /&gt;
&lt;br /&gt;
  The following parameters are in effect:&lt;br /&gt;
                    Input files : --ped [], --in_vcf []&lt;br /&gt;
                   Output files : --out_vcf []&lt;br /&gt;
           Denovo mutation rate : --mu [1.0e-07]&lt;br /&gt;
           Scaled mutation rate : --theta [1.0e-03], --indel_theta [1.0e-04]&lt;br /&gt;
   Prior of de novo ts/tv ratio : --denovo_tstv [2.00]&lt;br /&gt;
            Non-autosome labels : --chrX [X]&lt;br /&gt;
                        Filters : --minDQ [5.00], --minTotalDepth,&lt;br /&gt;
                                  --maxTotalDepth, --minDepth [5], --maxDepth,&lt;br /&gt;
                                  --mixed_vcf_records&lt;br /&gt;
&lt;br /&gt;
* Example 1: using default parameters&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf&lt;br /&gt;
&lt;br /&gt;
* Example 2: using --minDQ 7 to output de novo calls which are a minimum DQ of 7.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDQ 7&lt;br /&gt;
&lt;br /&gt;
* Example 1: using --minDepth 10 to output de novo calls for which all three individuals (father, mother and child) have depth &amp;gt;=10.&lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minDepth 10&lt;br /&gt;
&lt;br /&gt;
* Example 1: using --minTotalDepth 1000 to filter sites that have a total reads less than 1000. This option will filter the entire site. &lt;br /&gt;
 triodenovo --ped trio.ped --in_vcf input.vcf --out denovo.vcf --minTotalDepth 1000&lt;br /&gt;
&lt;br /&gt;
== Input files ==&lt;br /&gt;
* A ped file, with 5 colums [[http://www.sph.umich.edu/csg/abecasis/merlin/tour/ see merlin documentation]]. An example ped file is as follows&lt;br /&gt;
 trio1 p1  0  0   1&lt;br /&gt;
 trio1 p2  0  0   2&lt;br /&gt;
 trio1 p3  p1 p2  1&lt;br /&gt;
&lt;br /&gt;
* A VCF file [[http://www.1000genomes.org/node/101 VCF specs]]. It can contain variant information for more individuals than in the ped file.&lt;br /&gt;
&lt;br /&gt;
== Output ==&lt;br /&gt;
* The output file is specified via --out_vcf&lt;br /&gt;
&lt;br /&gt;
An example use is as follows&lt;br /&gt;
&lt;br /&gt;
 ##fileformat=VCFv4.1&lt;br /&gt;
 ##triodenovo=../src/triodenovo --ped trio.denovo.ped --in_vcf trio.denovo.vcf --out_vcf trio.denovo.vcf.out &lt;br /&gt;
 ##Note=VCF file modified by polymutt. Updated fileds include: QUAL, GT and GQ, AF and AC. NOTE: modification was applied only to biallelic variants&lt;br /&gt;
 ##FILTER=&amp;lt;ID=LOWDP,Description=&amp;quot;Low Depth filter when the average depth per sample is lessn than 1&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Total Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AF,Number=A,Type=Float,Description=&amp;quot;Alternative Allele Frequency&amp;quot;&amp;gt;&lt;br /&gt;
 ##INFO=&amp;lt;ID=AC,Number=1,Type=Integer,Description=&amp;quot;Alternative Allele Count&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GT,Number=1,Type=String,Description=&amp;quot;Genotype&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DQ,Number=1,Type=Denovo Quality,Description=&amp;quot;Denovo Quality: log10(BF) where BF is Bayes Factor calculated as L(M1)/L(M0) for M1 and M0 representing models with and without de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DGQ,Number=1,Type=Integer,Description=&amp;quot;Denovo Genotype Quality: -10*log10(post) where post is the posterior probability of the called trio genotypes among all trios with de novo mutations&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=DP,Number=1,Type=Integer,Description=&amp;quot;Read Depth&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=PL,Number=3,Type=Integer,Description=&amp;quot;Phred-scaled Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 ##FORMAT=&amp;lt;ID=GL,Number=3,Type=Float,Description=&amp;quot;Log10 Genotype Likelihoods&amp;quot;&amp;gt;&lt;br /&gt;
 #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  3       2       1&lt;br /&gt;
 1       10      .       C       T       20.71   .       DP=47   GT:DQ:DGQ:DP:PL C/C:7.52:100:15:0,44,255        C/C:7.52:100:16:0,44,255        C/T:7.52:100:16:100,0,199&lt;br /&gt;
 1       13      .       C       T       117.18  .       DP=34   GT:DQ:DGQ:DP:PL C/C:5.67:100:8:0,23,197 C/C:5.67:100:11:0,32,255        C/T:5.67:100:15:178,0,103&lt;br /&gt;
 1       17      .       C       A       111.15  .       DP=36   GT:DQ:DGQ:DP:PL C/C:5.37:100:12:0,35,255        C/C:5.37:100:10:0,26,222        A/C:5.37:100:14:181,0,82&lt;br /&gt;
 1       82      .       C       G       118.40  .       DP=43   GT:DQ:DGQ:DP:PL C/C:6.45:100:14:0,41,255        C/C:6.45:100:13:0,38,255        C/G:6.45:100:16:199,0,100&lt;br /&gt;
 1       91      .       C       T       28.69   .       DP=36   GT:DQ:DGQ:DP:PL C/C:6.02:100:9:0,26,222 C/C:6.02:100:17:0,50,255        C/T:6.02:100:10:93,0,93&lt;br /&gt;
&lt;br /&gt;
== Filtering ==&lt;br /&gt;
We recommend two filtering strategies. The first is a simple filtering and the second one is more advance&lt;br /&gt;
&lt;br /&gt;
1. Basic filtering for SNVs. The following filter will retain sites of single nucleotides with only two alleles, QUAL&amp;gt;=30, and mutations in which parents are homozygous references and child is heterozygote with the heterozygote PL being zero, and the minimum PL of the other two genotypes in offering is 30 (i.e. the genotype likelihood, defined as P(R|G) in which R represents the aligned bases and G is the underlying genotype, of the called het mutation is &amp;gt;1000 than the genotype likelihood of the other two genotypes). These filtering parameters can be tuned as needed in the following command.&lt;br /&gt;
&lt;br /&gt;
 less trio.vcf.out | egrep &amp;quot;DQ|#&amp;quot; | perl -lane &#039;print if /#/; next if length($F[3])&amp;gt;1 || length($F[4])&amp;gt;1 || $F[4]=~/,/; next if $F[5]&amp;lt;30; $F[9] =~ /([A-Z])\/([A-Z])/; next if $1 ne $2; next if $F[10] !~ /$1\/$1/; $F[11]=~/([A-Z])\/([A-Z])/; next if $1 eq $2; $F[11] =~ /(\d+),(\d+),(\d+)/; next if $2 != 0 || $1&amp;lt;30 || $3&amp;lt;30; print&#039; | less&lt;br /&gt;
&lt;br /&gt;
2. Advanced filtering using a machine-learning approach (i.e. DNMFilter in the following webpage)&lt;br /&gt;
&lt;br /&gt;
http://humangenome.duke.edu/software&lt;br /&gt;
&lt;br /&gt;
3. Further thoughts about filtering for SNVs without bam files (step 2 requires bam files). There is no consensus on filtering so this can be very flexible.&lt;br /&gt;
* If you have a multi-sample call VCF it may be helpful to select those mutation candidates that appear only once in your VCF (AC=1 for example). This can be the top tier to consider. Relaxing AC to 2 or 3 can recover more real mutations but also increase false positives.&lt;br /&gt;
* If it is too stringent to filter out known sites, it may be helpful to select candidates that have low (e.g. &amp;lt;0.002)1000G or ESP allele frequencies. Some mutations can occur on know variant sites but mutations with high population frequencies may not be of great interest, if indeed they are real.&lt;br /&gt;
* Candidates in segmental duplications, low complexity regions or other copy number regions may be flagged for further analysis.&lt;br /&gt;
* Candidates for which parents are not hom-ref or offspring is a double mutant are more likely to be due to artifacts so the interpretation of these candidates may require additional QC if they appear to be interesting to the investigators.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
Source code of v0.04 [[Media:triodenovo.0.04.tar.gz | download]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan.li@vanderbilt.edu bingshan.li@vanderbilt.edu])&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13608</id>
		<title>Polymutt2</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Polymutt2&amp;diff=13608"/>
		<updated>2015-07-02T03:34:35Z</updated>

		<summary type="html">&lt;p&gt;Bingshan: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Updates ==&lt;br /&gt;
The latest version of 0.1 is available for [[#Download | Download]].&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
*After downloading the source code, unzip and untar it, and cd polymutt2, and then type Make&lt;br /&gt;
*Two executables will be generated in bin/ directory: &#039;&#039;&#039;polymutt2&#039;&#039;&#039; and &#039;&#039;&#039;vcf2map&#039;&#039;&#039;&lt;br /&gt;
* vcf2map is to prune LD and generate a map file with high quality SNPs&lt;br /&gt;
* polymutt2 is to generate genotype calls taking a VCF file and a map file as input&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* First an LD pruned map file is generated by vcf2map. The following is the message by command vcf2map without any arguments&lt;br /&gt;
&lt;br /&gt;
            Input : --vcf [], --ped [],&lt;br /&gt;
                    --map [/scratch/cgg/lib13/db/hapmap/genetic_map_GRCh37_chr1.txt],&lt;br /&gt;
                    --include_list [/scratch/cgg/Public/hg19/1000G.SNV.clean.MAF0.05.tbl.gz]&lt;br /&gt;
           Output : --out_map []&lt;br /&gt;
   Variant filter : --min_maf [0.10], --min_avg_dp [0.00],&lt;br /&gt;
                    --max_avg_dp [-1.0e+00], --max_missing_rate [0.05]&lt;br /&gt;
       LD pruning : --win_size [100], --max_r2 [0.10], --ignore_missing&lt;br /&gt;
&lt;br /&gt;
* A command polymutt2 without any argument displays the following message &lt;br /&gt;
&lt;br /&gt;
                       pedfile :                 (-pname)&lt;br /&gt;
                       datfile :                 (-dname)&lt;br /&gt;
                       mapfile :                 (-mname)&lt;br /&gt;
&lt;br /&gt;
 Additional Options&lt;br /&gt;
                Input : --in_vcf [], --in_range [], --mixed_vcf_records&lt;br /&gt;
   Mutation paramters : --theta_snv [1.0e-03], --theta_indel [1.0e-04],&lt;br /&gt;
                        --tstv_ratio [2.00], --submap [1.00]&lt;br /&gt;
      Multi-threading : --nthreads [1]&lt;br /&gt;
               Output : --out_vcf [], --fam_idx, --fam_id [], --out_all,&lt;br /&gt;
                        --out_range [], --best_marginal, --best_path&lt;br /&gt;
        Approximation : --cum_prob [1.00], --single_iv&lt;br /&gt;
&lt;br /&gt;
* NOTE: current version can only process one chromosome at a time&lt;br /&gt;
&lt;br /&gt;
== Examples of generating the map file ==&lt;br /&gt;
* vcf2map: generate a sparse map file (see [[#Download|Download]] for files genetic_map_GRCh37_chr1.txt  and 1000G.SNV.clean.MAF0.05.tbl.gz)&lt;br /&gt;
  vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --out_map chr1.map&lt;br /&gt;
&lt;br /&gt;
* User defined r2 cutoff for LD pruning , min of average depth for filtering&lt;br /&gt;
 vcf2map --vcf input.vcf --ped input.ped --map genetic_map_GRCh37_chr1.txt --include_list 1000G.SNV.clean.MAF0.05.tbl.gz --max_r2 0.2 --min_avg_dp 2 --out_map chr1.r0.2.map&lt;br /&gt;
&lt;br /&gt;
== Examples of running polymutt2 ==&lt;br /&gt;
&lt;br /&gt;
* polymutt2: taking a VCF and the map file generated by vcf2map (the vcf file can be a complete vcf with all variants and samples)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf&lt;br /&gt;
&lt;br /&gt;
* If parents are available genotypes can be phased by transmission (accuracy is not as good as above)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --best_path&lt;br /&gt;
&lt;br /&gt;
* If a single family is desired to be output (the ped file can contain all families but will be ignored)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --fam_id&lt;br /&gt;
&lt;br /&gt;
* If only a range is desire to output (for example the whole chromosome can be divided into multiple parallel jobs each working on a range)&lt;br /&gt;
 polymutt2 -p input.ped -m chr1.map --in_vcf input.vcf --out_vcf out.vcf --out_range 1:1000000-2000000&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
*The latest version of source code v0.1 can be [[Media:Polymutt2.0.1.tar.gz | downloaded]] here.&lt;br /&gt;
*The genetic map files (genetic_map_GRCh37_chr1.txt) used above  can be [[Media:genetic_map_HapMapII_GRCh37.tar.gz | downloaded]] here.&lt;br /&gt;
*The clean and common variants in the 1000 Genome Project (1000G.SNV.clean.MAF0.05.tbl.gz) used above can be [[Media:1000G.SNV.clean.MAF0.05.tbl.gz | downloaded]] here.&lt;br /&gt;
&lt;br /&gt;
== Contact ==&lt;br /&gt;
For questions please contact the authors (Bingshan Li:  [mailto:bingshan@umich.edu bingshan@umich.edu])&lt;br /&gt;
&lt;br /&gt;
== Citation ==&lt;br /&gt;
Li B, Wei Q, Zhan X, Zhong X, Chen W, Li C, et al. (2015) Leveraging Identity-by-Descent for Accurate Genotype Inference in Family Sequencing Data. PLoS Genet 11(6): e1005271. doi:10.1371/journal.pgen.1005271&lt;/div&gt;</summary>
		<author><name>Bingshan</name></author>
	</entry>
</feed>