Skip to content

Commit

Permalink
refactor: use jobby & spooker from CCBR/Tools
Browse files Browse the repository at this point in the history
they are added to the path when ccbrpipeliner/7 is loaded
  • Loading branch information
kelly-sovacool committed Sep 10, 2024
1 parent 7b548f0 commit a3a6ca1
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 a3a6ca1

Please sign in to comment.