public class ChimeraUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> |
DEFAULT_EXPECTED_ORIENTATIONS |
static int |
DEFAULT_INSERT_SIZE_LIMIT |
| Constructor and Description |
|---|
ChimeraUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isChimeric(htsjdk.samtools.SAMRecord rec,
int maxInsertSize,
java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> expectedOrientations)
Checks whether the given read is part of a chimeric pair.
|
static boolean |
isChimeric(htsjdk.samtools.SAMRecord r1,
htsjdk.samtools.SAMRecord r2,
int maxInsertSize,
java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> expectedOrientations)
Checks whether the given read is part of a chimeric pair.
|
public static int DEFAULT_INSERT_SIZE_LIMIT
public static java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> DEFAULT_EXPECTED_ORIENTATIONS
public static boolean isChimeric(htsjdk.samtools.SAMRecord rec,
int maxInsertSize,
java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> expectedOrientations)
rec - the readmaxInsertSize - max insert size to be considered non-chimericexpectedOrientations - set of orientations that are not chimeric; must not ne nullpublic static boolean isChimeric(htsjdk.samtools.SAMRecord r1,
htsjdk.samtools.SAMRecord r2,
int maxInsertSize,
java.util.Set<htsjdk.samtools.SamPairUtil.PairOrientation> expectedOrientations)
r1 - first read of the pairr2 - second read of the pairmaxInsertSize - max insert size to be considered non-chimericexpectedOrientations - set of orientations that are not chimeric