Skip to content

Commit

Permalink
Merge pull request #9 from arnaudbore/fix_rbx_processes
Browse files Browse the repository at this point in the history
Fix processes and cpu count + add original anat for qc
  • Loading branch information
GuillaumeTh authored May 3, 2021
2 parents bd81d31 + 047e9d3 commit 9729306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ process Register_Anat {
set sid, "${sid}__output0GenericAffine.mat" into transformation_for_recognition, transformation_for_centroids
set sid, "${sid}__output0GenericAffine.mat" into transformation_for_average
file "${sid}__outputWarped.nii.gz"
file "${sid}__native_anat.nii.gz"
script:
"""
export ANTS_RANDOM_SEED=1234
antsRegistrationSyNQuick.sh -d 3 -f ${native_anat} -m ${atlas} -n ${params.register_processes} -o ${sid}__output -t a
cp ${native_anat} ${sid}__native_anat.nii.gz
"""
}

Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ params {
//**Number of processes per tasks**//
register_processes=4
rbx_processes=4
params.rbx_memory_limit='8 GB'
rbx_memory_limit='8 GB'

//**Process control**//
processes = false
Expand Down

0 comments on commit 9729306

Please sign in to comment.