Skip to content

Commit

Permalink
updating pipeline to zip rules for size limits on github
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Jul 29, 2021
1 parent 645487b commit 76e4c2f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pangoLEARN/scripts/curate_alignment.smk
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,13 @@ rule get_decisions:
model = os.path.join(config["outdir"],"decisionTree_v1.joblib"),
txt = rules.run_training.output.txt
output:
txt = os.path.join(config["outdir"],"decision_tree_rules.txt")
txt = os.path.join(config["outdir"],"tree_rules.txt"),
zipped = os.path.join(config["outdir"],"decision_tree_rules.zip")
shell:
"""
python /localdisk/home/s1680070/repositories/pangoLEARN/pangoLEARN/training/getDecisionTreeRules.py \
{input.model:q} {input.headers:q} {input.txt:q} \
> {output.txt:q}
> {output.txt:q} && zip {output.zipped:q} {output.txt:q}
"""

rule create_hash:
Expand Down

0 comments on commit 76e4c2f

Please sign in to comment.