将 DNA 转录为 RNA

作者:gerdr

http://rosalind.info/problems/rna/

示例输入

GATGGAACTTGACTACGTAAATT

示例输出

GAUGGAACUUGACUACGUAAAUU

源代码: rna-gerdr.pl

use v6;

sub MAIN(Str $input = "GATGGAACTTGACTACGTAAATT") {
    .trans('T' => 'U').say given $input;
}