gatk-3.8/public/java/test/org/broadinstitute/sting/utils/variantcontext
Christopher Hartl 5d19fca649 A couple of bug-fixy changes.
1) SelectVariants could throw a ReviewedStingException (one of the nasty "Bug:") ones if the user requested a sample that wasn't present in the VCF. The walker now
    checks for this in the initialize() phase, and throws a more informative error if the situation is detected. If the user simply wants to subset the VCF to
    all the samples requested that are actually present in the VCF, the --ALLOW_NONOVERLAPPING_COMMAND_LINE_SAMPLES flag changes this UserException to a Warning,
    and does the appropriate subsetting. Added integration tests for this.

 2) GenotypeLikelihoods has an unsafe method getLog10GQ(GenotypeType), which is completely broken for multi-allelic sites. I marked that method
    as deprecated, and added methods that use the context of the allele ordering (either directly specified or as a VC) to retrieve the appropriate GQ, and
    added a unit test to cover this case. VariantsToBinaryPed needs to dynamically calculate the GQ field sometimes (because I have some VCFs with PLs but no GQ).
2012-09-11 23:01:00 -04:00
..
writer Allele refactoring checkpoint 2: all code finally compiles, AD and STR annotations are fixed, and most of the UG integration tests pass. 2012-07-26 23:27:11 -04:00
AlleleUnitTest.java All integration tests and VC/Allele unit tests are passing 2012-07-27 17:03:49 -04:00
GenotypeLikelihoodsUnitTest.java A couple of bug-fixy changes. 2012-09-11 23:01:00 -04:00
GenotypeUnitTest.java Genotype filters are now just Strings, not Set<String> 2012-06-30 11:22:47 -04:00
GenotypesContextUnitTest.java Efficient Genotype object Intermediate commit 2012-06-14 16:42:24 -04:00
VCFJarClassLoadingUnitTest.java Remove reference dependence in BCF2Codec 2012-07-25 08:56:38 -04:00
VariantContextBenchmark.java Bugfix for incorrect allele counting in IndelSummary 2012-08-01 15:45:12 -04:00
VariantContextTestProvider.java BCF2 optimizations; parallel CombineVariants 2012-08-15 21:13:16 -04:00
VariantContextUnitTest.java Using the simple VCBuilder constructor and then subsequently trying to modify attributes was throwing a NPE. This is easily solved (without a performance hit) by initializing the attributes map to an immutable Collections.emptyMap(). Added unit test to cover this case. 2012-08-22 12:54:29 -04:00
VariantContextUtilsUnitTest.java Re-enabling the unit tests for reverse allele clipping 2012-07-29 22:24:56 -04:00
VariantJEXLContextUnitTest.java With the new Allele representation we can finally handle complex events (because they aren't so complex anymore). One place this manifests itself is with the strict VCF validation (ValidateVariants used to skip these events but doesn't anymore) so I've added a new test with complex events to the VV integration test. 2012-07-29 19:22:02 -04:00