public class PEParseBarcodeRead
extends ParseBarcodeRead
public PEParseBarcodeRead(java.lang.String keyFile,
java.lang.String enzyme,
java.lang.String flowcell,
java.lang.String lane)
Construct empty object from key file, enzyme and Illumina data from a lane. Set up likely end and barcode for parsing data
keyFile - the key fileenzyme - enzyme usedflowcell - flowcell namelane - lane numberpublic PEReadBarcodeResult parseReadIntoTagAndTaxa(java.lang.String seqSF, java.lang.String qualSF, java.lang.String seqSB, java.lang.String qualSB, boolean fastq, int minQual, int tagLengthInLong)
Parse sequence pair to a PE tag and taxon.
seqSF - Forward sequencequalSF - Quality string of forward sequenceseqSB - Backward sequencequalSB - Quality string of backward sequencefastq - Boolean value of if the data is fastq formatminQual - Minimum of quality value of sequence, default is 0 (quality is not controled)tagLengthInLong - Tag length in Long primitive data type, defaut is 8 (8 * 32 = 256 bp)public ShortReadBarcodeResult removeSeqAfterSecondCutSite(java.lang.String seq, short maxLength, int tagLengthInLong, java.lang.String taxaName, boolean ifForward)
Remove the sequence of the second cutsite
seq - sequence need to be processedmaxLength - maximum length of padded sequence, e.g. 32 * 8 = 256 bp. 256 is the maxLengthtagLengthInLong - PE Tag in Long primitive data type, e.g. 8taxaName - taxon nameifForward - Forward or backward sequence