Skip to content

Commit

Permalink
Merge pull request #144 from CCBR/spooker
Browse files Browse the repository at this point in the history
refactor: use jobby & spooker from CCBR/Tools
  • Loading branch information
kelly-sovacool authored Sep 10, 2024
2 parents 7b548f0 + a3a6ca1 commit 228d5cd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 841 deletions.
6 changes: 2 additions & 4 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,8 @@ rule all:
unpack(get_enrichment)

# create jobby tables
## command for jobby: bash scripts/_run_jobby_on_snakemake_log logs/snakemake.log _jobby.py | tee logs/snakemake.log.jobby | cut -f2,3,18 > logs/snakemake.log.jobby.short
## command for spooker: bash scripts/_spooker /data/sevillas2/carlisle/spook1 | tee logs/spooker.log
jobby_cmd = "bash " + join(SCRIPTSDIR, '_run_jobby_on_snakemake_log') + " " + join('logs', 'snakemake.log') + " " + join(SCRIPTSDIR, '_jobby.py') + " | tee " + join('logs', 'snakemake.log.jobby') + " | cut -f2,3,18 > " + join('logs', 'snakemake.log.jobby.short')
spook_cmd = "bash " + join(SCRIPTSDIR, '_spooker') + " " + WORKDIR + " | tee " + join('logs', 'spooker.log')
jobby_cmd = 'run_jobby_on_snakemake_log logs/snakemake.log | tee logs/snakemake.log.jobby | cut -f2,3,18 > logs/snakemake.log.jobby.short'
spook_cmd = f'spooker {WORKDIR} CARLISLE'

onsuccess:
print("OnSuccess")
Expand Down
Loading

0 comments on commit 228d5cd

Please sign in to comment.