fc_run.py 454 B

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