Search in sources :

Example 6 with MappingQualityReadFilter

use of org.broadinstitute.hellbender.engine.filters.MappingQualityReadFilter in project gatk by broadinstitute.

the class HaplotypeCallerEngine method makeStandardHCReadFilters.

/**
     * @return the default set of read filters for use with the HaplotypeCaller
     */
public static List<ReadFilter> makeStandardHCReadFilters() {
    List<ReadFilter> filters = new ArrayList<>();
    filters.add(new MappingQualityReadFilter(READ_QUALITY_FILTER_THRESHOLD));
    filters.add(ReadFilterLibrary.MAPPING_QUALITY_AVAILABLE);
    filters.add(ReadFilterLibrary.MAPPED);
    filters.add(ReadFilterLibrary.PRIMARY_ALIGNMENT);
    filters.add(ReadFilterLibrary.NOT_DUPLICATE);
    filters.add(ReadFilterLibrary.PASSES_VENDOR_QUALITY_CHECK);
    filters.add(ReadFilterLibrary.NON_ZERO_REFERENCE_LENGTH_ALIGNMENT);
    filters.add(ReadFilterLibrary.GOOD_CIGAR);
    filters.add(new WellformedReadFilter());
    return filters;
}
Also used : WellformedReadFilter(org.broadinstitute.hellbender.engine.filters.WellformedReadFilter) MappingQualityReadFilter(org.broadinstitute.hellbender.engine.filters.MappingQualityReadFilter) ReadFilter(org.broadinstitute.hellbender.engine.filters.ReadFilter) WellformedReadFilter(org.broadinstitute.hellbender.engine.filters.WellformedReadFilter) MappingQualityReadFilter(org.broadinstitute.hellbender.engine.filters.MappingQualityReadFilter)

Aggregations

MappingQualityReadFilter (org.broadinstitute.hellbender.engine.filters.MappingQualityReadFilter)6 WellformedReadFilter (org.broadinstitute.hellbender.engine.filters.WellformedReadFilter)6 ReadFilter (org.broadinstitute.hellbender.engine.filters.ReadFilter)5 IndexedFastaSequenceFile (htsjdk.samtools.reference.IndexedFastaSequenceFile)1 File (java.io.File)1 Path (java.nio.file.Path)1 ArrayList (java.util.ArrayList)1 Pair (org.apache.commons.lang3.tuple.Pair)1 CountingReadFilter (org.broadinstitute.hellbender.engine.filters.CountingReadFilter)1 SimpleInterval (org.broadinstitute.hellbender.utils.SimpleInterval)1 ActivityProfileState (org.broadinstitute.hellbender.utils.activityprofile.ActivityProfileState)1 CachingIndexedFastaSequenceFile (org.broadinstitute.hellbender.utils.fasta.CachingIndexedFastaSequenceFile)1 BaseTest (org.broadinstitute.hellbender.utils.test.BaseTest)1 Test (org.testng.annotations.Test)1