public class Barcode
Container class for storing information on GBS barcodes.
public Barcode(java.lang.String barcodeS,
java.lang.String[] overhangSunsort,
java.lang.String taxa,
int globalTaxaIndex,
java.lang.String flowcell,
java.lang.String lane)
Constructor creating a barcode
barcodeS - barcode sequenceoverhangSunsort - overhang sequence array unsorted (array size is 1 for non-degerate restriction enzymes, degenerate enzymes >1)taxa - name of taxon (sample)flowcell - name of the flowcelllane - name of the lanepublic Barcode(java.lang.String barcodeS,
java.lang.String[] overhangSunsort,
java.lang.String taxa,
int globalTaxaIndex,
java.lang.String tissue,
int globalTissueIndex,
java.lang.String flowcell,
java.lang.String lane)
Constructor creating a barcode
barcodeS - barcode sequenceoverhangSunsort - overhang sequence array unsorted (array size is 1 for non-degerate restriction enzymes, degenerate enzymes >1)taxa - name of taxon (sample)tissue - name identifying the tissueflowcell - name of the flowcelllane - name of the lanepublic int compareSequence(long queryLong,
int maxDivCheck)
Return the minimum sequence divergence between a query sequence and barcode with its overhang
queryLong - query sequence encoded in 2-bit longmaxDivCheck - maximum divergence to search uptopublic int compareTo(Barcode anotherBarcode)
public java.lang.String getTaxaName()
public java.lang.String getBarcodeString()
public kotlin.Array[] getBarWOverHangLong()
public java.lang.String[] getBarWOverHang()
public int getBarWithOverHangLength()
public int getBarLength()
public int getTaxaIndex()
public int getTissueIndex()
public Taxon getTaxon()
public java.lang.String toString()