# HG changeset patch
# User gianmarco_piccinno
# Date 1544622502 18000
# Node ID 3cb2af2435d3df84f5a16a73a2d1fa35c37121bd
# Parent  e12061ce9601bdf0b9c1532dfbfda417e7462b25
Uploaded
diff -r e12061ce9601 -r 3cb2af2435d3 codon_usage.py
--- a/codon_usage.py	Wed Dec 12 08:23:56 2018 -0500
+++ b/codon_usage.py	Wed Dec 12 08:48:22 2018 -0500
@@ -9,7 +9,6 @@
 import sys
 import os
 import pandas as pd
-#from BCBio import GFF
 
 
 def read_input(data = "example.fna", type_ = "fasta"):
@@ -143,7 +142,7 @@
     seqs = read_input(data=args['input'], type_=args['type'])
     out = codon_usage(seqs, args['codonTable'])
 
-    with open(args['output'], "w") as outf:
+    with open(args['output']+".csv", "w") as outf:
         out["Table"].to_csv(outf, sep="\t", index_label=["AA", "Codon"])
 
     
\ No newline at end of file
diff -r e12061ce9601 -r 3cb2af2435d3 codon_usage.xml
--- a/codon_usage.xml	Wed Dec 12 08:23:56 2018 -0500
+++ b/codon_usage.xml	Wed Dec 12 08:48:22 2018 -0500
@@ -5,6 +5,7 @@
     python
     biopython
     pandas
+    numpy