Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 361 Bytes
import sys
from Bio import SeqIO
from Bio.Seq import Seq
from Bio.SeqRecord import SeqRecord
if(len(sys.argv) <3):
print('two arguments needed: input path, output path')
with open(sys.argv[1],'r') as inFile:
with open(sys.argv[2], "w") as output_handle:
SeqIO.write(list(SeqIO.parse(inFile,'stockholm')), output_handle, "fasta")