def blastdb(fasta, maxfile = <NUM_LIT>):
db = fasta.rsplit('<STR_LIT:.>', <NUM_LIT:1>)[<NUM_LIT:0>]<EOL>type = check_type(fasta)<EOL>if type == '<STR_LIT>':<EOL><INDENT>type = ['<STR_LIT>', type]<EOL><DEDENT>else:<EOL><INDENT>type = ['<STR_LIT>', type]<EOL><DEDENT>if os.path.exists('<STR_LIT>' % (db, type[<NUM_LIT:0>])) is Falseand os.path.exists('<STR_LIT>' % (db, type[<NUM_LIT:0>])) is False:<EOL><INDENT>print('<STR_LIT>' % (fasta), file=sys.stderr)<EOL>os.system('<STR_LIT>'% (fasta, db, type[<NUM_LIT:1>], maxfile))<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>' % (fasta), file=sys.stderr)<EOL><DEDENT>return db<EOL>
make blast db