c8952cd00253c2c8176b7d2e3bf39bf93c639b72,atlas/rules/initialize_checkm.py,,,#,56
Before Change
stdout = p.communicate(input=newline.join(response) if isinstance(response, list) else response)[0]
with open(snakemake.log[0],"w") as errlog:
run_popen(["checkm", "data", "setRoot"], [snakemake.params.database_dir, snakemake.params.database_dir],errlog)
run_popen(["checkm", "data", "update"], ["y", "y"],errlog)
// when re-activating a conda env, reset the .dmanifest directory and download
with open(snakemake.output.touched_output, "w") as fh:
fh.write("CheckM successfully initialized.\n")
After Change
fh.write("CheckM successfully initialized.\n")
if __name__ == "__main__":
p = argparse.ArgumentParser(description=__doc__,
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
p.add_argument("dbdir", help="path to database directory")
p.add_argument("confirmation", help="path to touched file confirming completion")
p.add_argument("log", help="stderr output of checkm setup")
args = p.parse_args()
logging.basicConfig(level=logging.INFO, datefmt="%Y-%m-%d %H:%M",
format="[%(asctime)s] %(message)s")
main(args.dbdir, args.confirmation, args.log)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 18
Instances
Project Name: metagenome-atlas/atlas
Commit Name: c8952cd00253c2c8176b7d2e3bf39bf93c639b72
Time: 2018-01-08
Author: brwnjm@gmail.com
File Name: atlas/rules/initialize_checkm.py
Class Name:
Method Name:
Project Name: metagenome-atlas/atlas
Commit Name: c8952cd00253c2c8176b7d2e3bf39bf93c639b72
Time: 2018-01-08
Author: brwnjm@gmail.com
File Name: atlas/rules/initialize_checkm.py
Class Name:
Method Name:
Project Name: metalbubble/moments_models
Commit Name: 70e4855f5608c4481dfffd5f762e310d631d06c3
Time: 2020-10-09
Author: mmonfort@mit.edu
File Name: test_model_CAM.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: 8079adae33711e4886a625df3f0ae9860739f7b9
Time: 2019-09-03
Author: yuhanliu@google.com
File Name: example_zoo/tools/process.py
Class Name:
Method Name: