import sys import logging from falcon_kit import run_support from falcon_kit.mains.run1 import main LOG = logging.getLogger() def clean(): import os cmd = "rm -rf 0-rawreads 1-preads_ovl 2-asm-falcon all.log config.json General_config.json foo.snake log.out" rc = os.system(cmd) LOG.info("clean cmd={}, \nresult={}".format(cmd, rc)) if __name__ == "__main__": LOG = run_support.setup_logger(None) clean() main(sys.argv)