-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* initial tests * first step: variant stats to iterate over gts * second step: variant stats logic generalized * change reader logic to remove diploid assumptions * remove old diploid check * initial tests for polyploid reading and writing --------- Co-authored-by: Adam Wenocur <[email protected]> Co-authored-by: Jeremy Leipzig <[email protected]>
- Loading branch information
1 parent
f6ad8fb
commit 1fae8df
Showing
8 changed files
with
171 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
##fileformat=VCFv4.2 | ||
##FILTER=<ID=PASS,Description="All filters passed"> | ||
##ALT=<ID=NON_REF,Description="Represents any possible alternative allele at this location"> | ||
##INFO=<ID=ExcessHet,Number=1,Type=Float,Description="Phred-scaled p-value for exact test of excess heterozygosity"> | ||
##FORMAT=<ID=AB,Number=1,Type=Float,Description="Allele balance for each het genotype"> | ||
##FORMAT=<ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##contig=<ID=chr1> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT first | ||
chr1 1 . T C,<NON_REF> 829.77 . ExcessHet=3.0103 GT 0/1 | ||
chr1 2 . G GTTTA,T,<NON_REF> 1042.73 . ExcessHet=4.8532 GT 0/1 | ||
chr1 3 . C A,G 10.032 . ExcessHet=2.0134 GT 2/2 | ||
chr1 4 . G GTTTA,<NON_REF> 1042.73 . ExcessHet=4.8532 GT 0/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
##fileformat=VCFv4.2 | ||
##FILTER=<ID=PASS,Description="All filters passed"> | ||
##ALT=<ID=NON_REF,Description="Represents any possible alternative allele at this location"> | ||
##INFO=<ID=ExcessHet,Number=1,Type=Float,Description="Phred-scaled p-value for exact test of excess heterozygosity"> | ||
##FORMAT=<ID=AB,Number=1,Type=Float,Description="Allele balance for each het genotype"> | ||
##FORMAT=<ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##contig=<ID=chr1> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT second | ||
chr1 1 . T C,<NON_REF> 829.77 . ExcessHet=3.0103 GT 0/0/1/1 | ||
chr1 2 . G GTTTA,T,<NON_REF> 343.73 . ExcessHet=2.8532 GT 0/0/1/1 | ||
chr1 3 . C A,G 10.032 . ExcessHet=8.34 GT 2/2/2/2 | ||
chr1 4 . G GTTTA,<NON_REF> 343.73 . ExcessHet=2.8532 GT 0/0/1/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
##fileformat=VCFv4.2 | ||
##FILTER=<ID=PASS,Description="All filters passed"> | ||
##ALT=<ID=NON_REF,Description="Represents any possible alternative allele at this location"> | ||
##INFO=<ID=ExcessHet,Number=1,Type=Float,Description="Phred-scaled p-value for exact test of excess heterozygosity"> | ||
##FORMAT=<ID=AB,Number=1,Type=Float,Description="Allele balance for each het genotype"> | ||
##FORMAT=<ID=AD,Number=.,Type=Integer,Description="Allelic depths for the ref and alt alleles in the order listed"> | ||
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype"> | ||
##contig=<ID=chr1> | ||
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT third | ||
chr1 1 . T C,<NON_REF> 829.77 . ExcessHet=3.0103 GT 0/0/0/0/0/0/1/1 | ||
chr1 2 . G GTTTA,T,<NON_REF> 343.73 . ExcessHet=2.8532 GT 0/0/0/0/0/1/1/1 | ||
chr1 3 . C A,T 10.032 . ExcessHet=8.34 GT 0/0/0/0/1/1/1/1 | ||
chr1 4 . G GTTTA,<NON_REF> 343.73 . ExcessHet=2.8532 GT 0/0/0/0/0/0/0/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters