public void trimSequenceTail(int maxSize) {
        // Trim sequence and quality strings
        this.setSeq(this.sequence.substring(0, maxSize));
        this.setQuality(this.quality.substring(0, maxSize));
    }
public void trimSequenceTail ( int maxSize ) { this . setSeq ( this . sequence . substring ( 0 , maxSize ) ) ; this . setQuality ( this . quality . substring ( 0 , maxSize ) ) ; }
Trim the sequence's tail, if it is longer than a determined size

@param maxSize - Maximum size allowed