Package picard.sam.util
Class PrimaryAlignmentKey
- java.lang.Object
-
- picard.sam.util.PrimaryAlignmentKey
-
- All Implemented Interfaces:
Comparable<PrimaryAlignmentKey>
public final class PrimaryAlignmentKey extends Object implements Comparable<PrimaryAlignmentKey>
It is useful to define a key such that the key will occur at most once among the primary alignments in a given file (assuming the file is valid). The read name + pairing status should be sufficient for this.
-
-
Constructor Summary
Constructors Constructor Description PrimaryAlignmentKey(htsjdk.samtools.SAMRecord rec)
-
-
-
Method Detail
-
compareTo
public int compareTo(PrimaryAlignmentKey that)
- Specified by:
compareTo
in interfaceComparable<PrimaryAlignmentKey>
-
-