changeset 9:6794a638a504 draft

Uploaded
author bornea
date Sat, 06 Aug 2016 17:15:14 -0400
parents afcea0f23a55
children c9e6e2e7697c
files filter_fasta.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/filter_fasta.py	Sat Aug 06 17:12:36 2016 -0400
+++ b/filter_fasta.py	Sat Aug 06 17:15:14 2016 -0400
@@ -79,7 +79,7 @@
                 if merged!="":
                     seq.append(merged)
     cnt=0
-    x = open("output.fasta","w")
+    x = open("output.txt","w")
     for i in header:
         x.write(i+'\n'+seq[cnt]+'\n')
         cnt+=1
@@ -88,4 +88,4 @@
 data = sys.argv[2] # scaffold report #2 -- filename
 
 FilterFastaSeq(fasta,getAccessions(data))
-os.rename("output.fasta", sys.argv[3])
\ No newline at end of file
+os.rename("output.txt", sys.argv[3])
\ No newline at end of file