Search in sources :

Example 1 with SampleDBBuilder

use of org.broadinstitute.hellbender.utils.samples.SampleDBBuilder in project gatk by broadinstitute.

the class SelectVariants method initializeSampleDB.

/**
     * Entry-point function to initialize the samples database from input data
     */
private SampleDB initializeSampleDB() {
    final SampleDBBuilder sampleDBBuilder = new SampleDBBuilder(PedigreeValidationType.STRICT);
    sampleDBBuilder.addSamplesFromPedigreeFiles(Collections.singletonList(pedigreeFile));
    return sampleDBBuilder.getFinalSampleDB();
}
Also used : SampleDBBuilder(org.broadinstitute.hellbender.utils.samples.SampleDBBuilder)

Aggregations

SampleDBBuilder (org.broadinstitute.hellbender.utils.samples.SampleDBBuilder)1