Search in sources :

Example 1 with BachelorSchema

use of com.hartwig.hmftools.bachelor.BachelorSchema in project hmftools by hartwigmedical.

the class BlacklistPredicateTest method setup.

@Before
public void setup() throws SAXException {
    BachelorSchema schema = BachelorSchema.make();
    final Program program = schema.processXML(Paths.get(BLACKLIST_XML));
    assertNotNull(program);
    blacklistPredicate = new BlacklistPredicate(Sets.newHashSet("ENST00000380152"), program.getBlacklist());
    VCFHeader header = new VCFHeader(Sets.newHashSet(), Sets.newHashSet(SAMPLE));
    codec = new VCFCodec();
    codec.setVCFHeader(header, VCFHeaderVersion.VCF4_2);
}
Also used : VCFCodec(htsjdk.variant.vcf.VCFCodec) Program(nl.hartwigmedicalfoundation.bachelor.Program) BachelorSchema(com.hartwig.hmftools.bachelor.BachelorSchema) VCFHeader(htsjdk.variant.vcf.VCFHeader) Before(org.junit.Before)

Aggregations

BachelorSchema (com.hartwig.hmftools.bachelor.BachelorSchema)1 VCFCodec (htsjdk.variant.vcf.VCFCodec)1 VCFHeader (htsjdk.variant.vcf.VCFHeader)1 Program (nl.hartwigmedicalfoundation.bachelor.Program)1 Before (org.junit.Before)1