Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 95: Line 95:  
== Algorithm for Normalization ==
 
== Algorithm for Normalization ==
   −
So now that we know how to tell if a variant is normalized, we simply need to manipulate the variant till the rightmost ends of the alleles are not the same, apply truncation to the superfluous nucleotides on the left side of the variant to obtain a normalized variant.
+
So now that we know how to tell if a variant is normalized, we simply need to manipulate the variant till the rightmost ends of the alleles are not the same, and apply truncation to the superfluous nucleotides on the left side of the variant to obtain a normalized variant.
The algorithm to normalize a variant; biallelic or multiallelic is as follows:
+
The algorithm to normalize a biallelic or multiallelic variant is as follows:
    
[[Image:variant_normalization_algorithm.png|none|600px|Lines 1 to 8 performs the left alignment and ensures parsimonious representation on  the right side.  Lines 9 to 11 ensures parsimonious representation on the left side. ]]
 
[[Image:variant_normalization_algorithm.png|none|600px|Lines 1 to 8 performs the left alignment and ensures parsimonious representation on  the right side.  Lines 9 to 11 ensures parsimonious representation on the left side. ]]
1,102

edits

Navigation menu