Skip to content

Commit

Permalink
added job groups for cluster execution
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanf committed Nov 11, 2020
1 parent 316566c commit fb36b7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workflow/Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ rule smooth:
output:
nii = bids(root='results',datatype='func',desc='smoothed',fwhm='{fwhm}',suffix='bold.nii.gz',**config['input_wildcards']['preproc_bold']),
json = bids(root='results',datatype='func',desc='smoothed',fwhm='{fwhm}',suffix='bold.json',**config['input_wildcards']['preproc_bold'])
group: 'subj'
script: 'scripts/smooth.py'


Expand All @@ -61,6 +62,7 @@ rule denoise:
output:
nii = bids(root='results',datatype='func',desc='denoised',fwhm='{fwhm}',confounds='{confounds_idx}',suffix='bold.nii.gz',**config['input_wildcards']['preproc_bold']),
json= bids(root='results',datatype='func',desc='denoised',fwhm='{fwhm}',confounds='{confounds_idx}',suffix='bold.json',**config['input_wildcards']['preproc_bold'])
group: 'subj'
script: 'scripts/denoise.py'


Expand All @@ -76,6 +78,7 @@ rule aroma_nonaggr:
output:
nii = bids(root='results',datatype='func',desc='AROMAnonaggr',fwhm='{fwhm}',suffix='bold.nii.gz',**config['input_wildcards']['preproc_bold']),
container: config['singularity']['fsl']
group: 'subj'
shell:
'fsl_regfilt -i {input.nii} -f `cat {input.noiseICs}` -d {input.mixing} -o {output.nii} -m {input.mask_nii}'

Expand All @@ -96,6 +99,7 @@ rule aroma_aggr:
output:
nii = bids(root='results',datatype='func',desc='AROMAdenoised',fwhm='{fwhm}',confounds='{confounds_idx}',suffix='bold.nii.gz',**config['input_wildcards']['preproc_bold']),
json= bids(root='results',datatype='func',desc='AROMAdenoised',fwhm='{fwhm}',confounds='{confounds_idx}',suffix='bold.json',**config['input_wildcards']['preproc_bold'])
group: 'subj'
script: 'scripts/denoise.py'


Expand Down

0 comments on commit fb36b7d

Please sign in to comment.