-
- All Implemented Interfaces:
-
java.lang.Comparable
public class AnchorDataPHG implements Comparable<T>
THis class differs from AnchorData in WGS_whatever as it includes more fields to match what is stored in PHGSchema's anchor_haplotypes. Specifically it includes ave_allele_depth and additional_data May 26, 2017: Class updated to include gene_start and gene_end These values needed when trimming anchors. The stored anchors have sequence of merged genes whose GFF start/end positions overlapped with 1000bp flanking on each end. THis 1000bp may be less is the distance between 2 genes is less than 2000bps.
-
-
Constructor Summary
Constructors Constructor Description AnchorDataPHG(Range<Position> interval, String asmContig, int asmStart, int asmEnd, String asmStrand, String gvcf, String sequence, int asmFileId, int gvcfFileId)
-
Method Summary
Modifier and Type Method Description static String
getChecksumForString(String seq, String protocol)
Range<Position>
intervalCoordinates()
String
asmContig()
int
asmStart()
int
asmEnd()
String
asmStrand()
String
gvcf()
String
sequence()
int
seqLen()
String
seqHash()
int
asmFileId()
int
gvcfFileId()
boolean
equals(Object obj)
int
hashCode()
int
compareTo(AnchorDataPHG other)
-
-
Method Detail
-
getChecksumForString
static String getChecksumForString(String seq, String protocol)
-
intervalCoordinates
Range<Position> intervalCoordinates()
-
asmStart
int asmStart()
-
asmEnd
int asmEnd()
-
seqLen
int seqLen()
-
asmFileId
int asmFileId()
-
gvcfFileId
int gvcfFileId()
-
hashCode
int hashCode()
-
compareTo
int compareTo(AnchorDataPHG other)
-
-
-
-