public void changeEncoding ( int newEncoding ) { if ( this . encoding != newEncoding ) { int oldEncoding = this . encoding ; // Transform the quality scores, if necessary this . transformQualityScoresArray ( oldEncoding , newEncoding ) ; // Transform the quality string this . obtainQualityStringFromQualityScoresArray ( newEncoding ) ; this . encoding = newEncoding ; } }
Change the encoding of the sequence and recalculates the quality scores array