public Sequence < AminoAcidCompound > translate ( Sequence < NucleotideCompound > dna ) { Map < Frame , Sequence < AminoAcidCompound > > trans = multipleFrameTranslation ( dna , Frame . ONE ) ; return trans . get ( Frame . ONE ) ; }
Quick method to let you go from a CDS to a Peptide quickly . It assumes you are translating only in the first frame