Search in sources :

Example 1 with SVKmerShort

use of org.broadinstitute.hellbender.tools.spark.sv.SVKmerShort in project gatk by broadinstitute.

the class ContainsKmerReadFilterTest method before.

@BeforeMethod
public void before() {
    final String kmerRef = "ATCGAGCGCTAGCGATGGCGCGCGATCGCGCTAGCGCGCTAGC";
    final SVKmerizer kmerizer = new SVKmerizer(kmerRef.getBytes(), kSize, new SVKmerShort(kSize));
    final ArrayList<SVKmer> kmerList = new ArrayList<>();
    while (kmerizer.hasNext()) {
        kmerList.add(kmerizer.next());
    }
    kmerSet = new HopscotchSet<>(kmerList);
}
Also used : SVKmer(org.broadinstitute.hellbender.tools.spark.sv.SVKmer) SVKmerShort(org.broadinstitute.hellbender.tools.spark.sv.SVKmerShort) ArrayList(java.util.ArrayList) SVKmerizer(org.broadinstitute.hellbender.tools.spark.sv.SVKmerizer) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

ArrayList (java.util.ArrayList)1 SVKmer (org.broadinstitute.hellbender.tools.spark.sv.SVKmer)1 SVKmerShort (org.broadinstitute.hellbender.tools.spark.sv.SVKmerShort)1 SVKmerizer (org.broadinstitute.hellbender.tools.spark.sv.SVKmerizer)1 BeforeMethod (org.testng.annotations.BeforeMethod)1