def _download_mirbase(args, version="<STR_LIT>"):
if not args.hairpin or not args.mirna:<EOL><INDENT>logger.info("<STR_LIT>" % version)<EOL>hairpin_fn = op.join(op.abspath(args.out), "<STR_LIT>")<EOL>mirna_fn = op.join(op.abspath(args.out), "<STR_LIT>")<EOL>if not file_exists(hairpin_fn):<EOL><INDENT>cmd_h = "<STR_LIT>" % (version, hairpin_fn)<EOL>do.run(cmd_h, "<STR_LIT>")<EOL><DEDENT>if not file_exists(mirna_fn):<EOL><INDENT>cmd_m = "<STR_LIT>" % (version, mirna_fn)<EOL>do.run(cmd_m, "<STR_LIT>")<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return args.hairpin, args.mirna<EOL><DEDENT>
Download files from mirbase