public String getConceptualTranslation ( ) { if ( codons == null ) { return "" ; } StringBuilder translation = new StringBuilder ( ) ; for ( int i = 0 ; i < conceptualTranslationCodons ; ++ i ) { Codon codon = codons . get ( i ) ; translation . append ( codon . getAminoAcid ( ) ) ; } return translation . toString ( ) ; }
Returns the translation excluding stop codons and trailing bases .