public class SAMRecordQueryNameComparator extends java.lang.Object implements SAMRecordComparator, java.io.Serializable
| Constructor and Description |
|---|
SAMRecordQueryNameComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(SAMRecord samRecord1,
SAMRecord samRecord2) |
static int |
compareReadNames(java.lang.String readName1,
java.lang.String readName2)
Encapsulate algorithm for comparing read names in queryname-sorted file, since there have been
conversations about changing the behavior.
|
int |
fileOrderCompare(SAMRecord samRecord1,
SAMRecord samRecord2)
Less stringent compare method than the regular compare.
|
public int compare(SAMRecord samRecord1, SAMRecord samRecord2)
compare in interface java.util.Comparator<SAMRecord>public int fileOrderCompare(SAMRecord samRecord1, SAMRecord samRecord2)
fileOrderCompare in interface SAMRecordComparatorpublic static int compareReadNames(java.lang.String readName1,
java.lang.String readName2)