# HG changeset patch # User bornea # Date 1470518114 14400 # Node ID 6794a638a50443765170d91a63b44f0c27dd0cdd # Parent afcea0f23a55e98eda35855a5f574376707fc79f Uploaded diff -r afcea0f23a55 -r 6794a638a504 filter_fasta.py --- 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