Changes

From Genome Analysis Wiki
Jump to navigationJump to search
20 bytes removed ,  15:53, 24 May 2010
Line 167: Line 167:  
A: AL1 is an arbitrary allele. To be specific, it is the first allele read in the reference haplotypes (file fed to -h or --haps). The earliest versions of mach1 counted the number of AL2 and the latest versions count the number of AL1. One can find out which allele is counted following the steps below. <br>  
 
A: AL1 is an arbitrary allele. To be specific, it is the first allele read in the reference haplotypes (file fed to -h or --haps). The earliest versions of mach1 counted the number of AL2 and the latest versions count the number of AL1. One can find out which allele is counted following the steps below. <br>  
   −
Take your dosage, geno, and info output (.dose, .geno and .info or .mldose, .mlgeno, and .mlinfo depending on non-mle or mle manner you've used) and check if dosage is the number of AL1 copies or AL2 copies. Example is given below:  
+
Take your dosage, geno, and info output (.dose, .geno and one each from .info/.mlinfo and .dose/.mldose) and check if dosage is the number of AL1 copies or AL2 copies. Example is given below:  
   −
<br>  
+
<source lang="text">
 
+
prompt> head -1 mldose/chr21.mldose | cut -f3 -d ' '  
  '''head -1 mldose/chr21.mldose | cut -f3 -d ' ' '''
   
  1.962  
 
  1.962  
   −
  '''head -2 mlinfo/chr21.mlinfo '''
+
  prompt> head -2 mlinfo/chr21.mlinfo  
 
  SNP Al1 Al2 Freq1 MAF Quality Rsq  
 
  SNP Al1 Al2 Freq1 MAF Quality Rsq  
 
  rs885550 2 4 0.9840 0.0160 0.9682 0.0021  
 
  rs885550 2 4 0.9840 0.0160 0.9682 0.0021  
   −
  ''' head -1 mlgeno/chr21.mlgeno | cut -f3 -d ' ' '''
+
  prompt> head -1 mlgeno/chr21.mlgeno | cut -f3 -d ' '  
 
  2/2  
 
  2/2  
 +
</source>
   −
Based on the three files above, we've confirmed that dosage is the number of AL1 copies: you will only to check for one informative case (i.e, dosage values close to 0 or 2) since it's consistent across all individuals and all SNPs.  
+
Based on the three files above, we've confirmed that dosage is the number of AL1 copies: you will only to check for one informative case (i.e, dosage values close to 0 or 2) since it's consistent across all individuals and all SNPs.
 
  −
<br>
      
=== '''Can I used unphased reference?'''  ===
 
=== '''Can I used unphased reference?'''  ===

Navigation menu