public final class ReferenceShard
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
REFERENCE_SHARD_SIZE |
Constructor and Description |
---|
ReferenceShard(int shardNumber,
java.lang.String contig) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContig() |
int |
getShardNumber() |
static ReferenceShard |
getShardNumberFromInterval(htsjdk.samtools.util.Locatable location)
getShardNumberFromInterval returns the ReferenceShard that overlap the read's start position.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final int REFERENCE_SHARD_SIZE
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getContig()
public int getShardNumber()
public java.lang.String toString()
toString
in class java.lang.Object
public static ReferenceShard getShardNumberFromInterval(htsjdk.samtools.util.Locatable location)
location,
- the start of which is used to determine the shard