How are you running it?
I just ran it and it worked fine
Try to modify the input and output in the else part
of the code at the bottom:
I just ran it and it worked fine
Try to modify the input and output in the else part
of the code at the bottom:
if __name__ == '__main__': sf = SplitFasta() numargs = len(sys.argv) if numargs > 1: infile = sys.argv[1] outfile = sys.argv[2] minlen = sys.argv[3] else: infile = '2013_1056H.contigs.fa' outfile = '2013_1056HTestOutput.fa' minlen = 1000 sf.split_file(infile, outfile, int(minlen)) sf.show_seq_out()