code: public void rTrim(int n) {
          super.rTrim(n);
          this.setQuality(this.quality.substring(0, this.quality.length() - n));
      }
docs: Trim the sequence removing the last 'n' characters
  
  @param n - Number of characters to remove