public class LiftOver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LiftOver.PartialLiftover
Represents a portion of a liftover operation, for use in diagnosing liftover failures.
|
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_LIFTOVER_MINMATCH |
Constructor and Description |
---|
LiftOver(java.io.File chainFile)
Load UCSC chain file in order to lift over Intervals.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<LiftOver.PartialLiftover> |
diagnosticLiftover(Interval interval) |
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getContigMap() |
double |
getLiftOverMinMatch()
Get minimum fraction of bases that must remap.
|
Interval |
liftOver(Interval interval)
Lift over the given interval to the new genome build using the liftOverMinMatch set for this
LiftOver object.
|
Interval |
liftOver(Interval interval,
double liftOverMinMatch)
Lift over the given interval to the new genome build.
|
void |
setLiftOverMinMatch(double liftOverMinMatch)
Set minimum fraction of bases that must remap.
|
void |
validateToSequences(SAMSequenceDictionary sequenceDictionary)
Throw an exception if all the "to" sequence names in the chains are not found in the given sequence dictionary.
|
public static final double DEFAULT_LIFTOVER_MINMATCH
public LiftOver(java.io.File chainFile)
public void validateToSequences(SAMSequenceDictionary sequenceDictionary)
public Interval liftOver(Interval interval)
interval
- Interval to be lifted over.public Interval liftOver(Interval interval, double liftOverMinMatch)
interval
- Interval to be lifted over.liftOverMinMatch
- Minimum fraction of bases that must remap.public java.util.List<LiftOver.PartialLiftover> diagnosticLiftover(Interval interval)
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getContigMap()
public double getLiftOverMinMatch()
public void setLiftOverMinMatch(double liftOverMinMatch)