[ create a new paste ] login | about

Link: http://codepad.org/J5BqYBuz    [ raw code | fork ]

Perl, pasted on May 5:
1
2
3
$type = "DNA" if $line =~ m/[ATCG]+/;
$type = "RNA" if $line =~ m/[AUCG]+/;
$type = "AC" if $line =~ m/[ARNDCEQGHILKMFPSTWYVBZJX]+/;


Output:
No errors or program output.


Create a new paste based on this one


Comments: