summaryrefslogtreecommitdiffstats
path: root/PROT.rs
diff options
context:
space:
mode:
Diffstat (limited to 'PROT.rs')
-rw-r--r--PROT.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/PROT.rs b/PROT.rs
new file mode 100644
index 0000000..40979e1
--- /dev/null
+++ b/PROT.rs
@@ -0,0 +1,8 @@
+extern mod rosalind;
+use rosalind::io::input_line;
+use rosalind::protein::translate;
+
+fn main() {
+ let rna = input_line();
+ io::println(translate(rna));
+}