Energy-based prediction of amino acid-nucleotide base recognition