private void obtainQualityStringFromQualityScoresArray ( int encoding ) { char [ ] qualityChars = new char [ this . qualityScoresArray . length ] ; // add the scale offset to each individual score and transform the result to a char for ( int i = 0 ; i < this . qualityScoresArray . length ; i ++ ) { qualityChars [ i ] = ( char ) ( this . qualityScoresArray [ i ] + FastQ . SCALE_OFFSET [ encoding ] ) ; } this . quality = new String ( qualityChars ) ; }
Obtain the quality string in the indicated quality encoding from the quality scores array