use of com.hartwig.hmftools.common.variant.filter.ChromosomeFilter in project hmftools by hartwigmedical.
the class SomaticVariantFactory method filteredInstance.
@NotNull
public static SomaticVariantFactory filteredInstance(@NotNull VariantContextFilter... filters) {
final CompoundFilter filter = new CompoundFilter(true);
filter.add(new ChromosomeFilter());
filter.addAll(Arrays.asList(filters));
return new SomaticVariantFactory(filter);
}
use of com.hartwig.hmftools.common.variant.filter.ChromosomeFilter in project hmftools by hartwigmedical.
the class SomaticVariantFactory method passOnlyInstance.
@NotNull
public static SomaticVariantFactory passOnlyInstance() {
final CompoundFilter filter = new CompoundFilter(true);
filter.add(new ChromosomeFilter());
filter.add(new PassingVariantFilter());
return new SomaticVariantFactory(filter);
}
Aggregations