Repository 'filter_fasta'
hg clone https://toolshed.g2.bx.psu.edu/repos/bornea/filter_fasta

Changeset 8:afcea0f23a55 (2016-08-06)
Previous changeset 7:e01b49c112b0 (2016-08-06) Next changeset 9:6794a638a504 (2016-08-06)
Commit message:
Uploaded
modified:
filter_fasta.py
b
diff -r e01b49c112b0 -r afcea0f23a55 filter_fasta.py
--- a/filter_fasta.py Sat Aug 06 17:10:23 2016 -0400
+++ b/filter_fasta.py Sat Aug 06 17:12:36 2016 -0400
[
@@ -79,7 +79,7 @@
                 if merged!="":
                     seq.append(merged)
     cnt=0
-    x = open("output.fasta","w"):
+    x = open("output.fasta","w")
     for i in header:
         x.write(i+'\n'+seq[cnt]+'\n')
         cnt+=1