Minor updates to test code
This commit is contained in:
parent
54817f8d16
commit
cfd1e50068
|
|
@ -291,8 +291,6 @@ public class VariantContextTestProvider {
|
||||||
|
|
||||||
|
|
||||||
private static void addGenotypes( final VariantContext site) {
|
private static void addGenotypes( final VariantContext site) {
|
||||||
final GenotypesContext gc = new GenotypesContext();
|
|
||||||
|
|
||||||
// test ref/ref
|
// test ref/ref
|
||||||
final Allele ref = site.getReference();
|
final Allele ref = site.getReference();
|
||||||
final Allele alt1 = site.getNAlleles() > 1 ? site.getAlternateAllele(0) : null;
|
final Allele alt1 = site.getNAlleles() > 1 ? site.getAlternateAllele(0) : null;
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,10 @@ public class VariantContextWritersUnitTest extends BaseTest {
|
||||||
|
|
||||||
@BeforeSuite
|
@BeforeSuite
|
||||||
public void before() throws IOException {
|
public void before() throws IOException {
|
||||||
IndexedFastaSequenceFile seq = new CachingIndexedFastaSequenceFile(new File(b37KGReference));
|
final File source = new File(b37KGReference);
|
||||||
|
//final File source = new File("/Users/depristo/Desktop/broadLocal/localData/human_g1k_v37.fasta");
|
||||||
|
IndexedFastaSequenceFile seq = new CachingIndexedFastaSequenceFile(source);
|
||||||
|
//IndexedFastaSequenceFile seq = new CachingIndexedFastaSequenceFile(new File(b37KGReference));
|
||||||
dictionary = seq.getSequenceDictionary();
|
dictionary = seq.getSequenceDictionary();
|
||||||
VariantContextTestProvider.initializeTests();
|
VariantContextTestProvider.initializeTests();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue