Example 3: Normalize data to MNI template¶
This example covers the normalization of data. Some people prefer to normalize the data during the preprocessing, just before smoothing. I prefer to do the 1st-level analysis completely in subject space and only normalize the contrasts for the 2nd-level analysis. But both approaches are fine.
For the current example, we will take the computed 1st-level contrasts from the previous experiment (again once done with fwhm=4mm and fwhm=8mm) and normalize them into MNI-space. To show two different approaches, we will do the normalization once with ANTs and once with SPM.
Preparation¶
Before we can start with the ANTs example, we first need to download the already computed deformation field. The data can be found in the derivatives/fmriprep
folder of the dataset and can be downloaded with the following datalad
command:
%%bash
datalad get -J 4 -d /home/neuro/workshop/data/ds000114 /home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-0[2345789]/anat/*h5
action summary:
get (notneeded: 8)
It is highly recommended to configure Git before using DataLad. Set both 'user.name' and 'user.email' configuration variables.
It is highly recommended to configure Git before using DataLad. Set both 'user.name' and 'user.email' configuration variables.
Note: This might take a while, as datalad needs to download ~710MB of data
Alternatively: Prepare yourself¶
We’re using the precomputed warp field from fmriprep, as this step otherwise would take up to 10 hours or more for all subjects to complete. If you’re nonetheless interested in computing the warp parameters with ANTs yourself, without using fmriprep, either check out the script ANTS_registration.py or even quicker, use RegistrationSynQuick, Nipype’s implementation of antsRegistrationSynQuick.sh
.
Normalization with ANTs¶
The normalization with ANTs requires that you first compute the transformation matrix that would bring the anatomical images of each subject into template space. Depending on your system this might take a few hours per subject. To facilitate this step, the transformation matrix is already computed for the T1 images.
The data for it can be found under:
!ls /home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-*/anat/*h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-01/anat/sub-01_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-02/anat/sub-02_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-03/anat/sub-03_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-04/anat/sub-04_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-05/anat/sub-05_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-06/anat/sub-06_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-07/anat/sub-07_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-08/anat/sub-08_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-09/anat/sub-09_t1w_space-mni152nlin2009casym_warp.h5
/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-10/anat/sub-10_t1w_space-mni152nlin2009casym_warp.h5
Now, let’s start with the ANTs normalization workflow!
Imports (ANTs)¶
First, we need to import all the modules we later want to use.
from os.path import join as opj
from nipype import Workflow, Node, MapNode
from nipype.interfaces.ants import ApplyTransforms
from nipype.interfaces.utility import IdentityInterface
from nipype.interfaces.io import SelectFiles, DataSink
from nipype.interfaces.fsl import Info
Experiment parameters (ANTs)¶
It’s always a good idea to specify all parameters that might change between experiments at the beginning of your script. And remember that we decided to run the group analysis without subject sub-01
, sub-06
and sub-10
because they are left-handed (see this section).
experiment_dir = '/output'
output_dir = 'datasink'
working_dir = 'workingdir'
# list of subject identifiers (remember we use only right handed subjects)
subject_list = ['02', '03', '04', '05', '07', '08', '09']
# task name
task_name = "fingerfootlips"
# Smoothing widths used during preprocessing
fwhm = [4, 8]
# Template to normalize to
template = '/data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c/1mm_T1.nii.gz'
Note if you’re not using the corresponding docker image, than the template
file might not be in your data
directory. To get mni_icbm152_nlin_asym_09c
, either download it from this website, unpack it and move it to /data/ds000114/derivatives/fmriprep/
or run the following command in a cell:
%%bash
curl -L https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/580705089ad5a101f17944a9 \
-o /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c.tar.gz
tar xf /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c.tar.gz \
-C /data/ds000114/derivatives/fmriprep/.
rm /data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c.tar.gz
Specify Nodes (ANTs)¶
Initiate all the different interfaces (represented as nodes) that you want to use in your workflow.
# Apply Transformation - applies the normalization matrix to contrast images
apply2con = MapNode(ApplyTransforms(args='--float',
input_image_type=3,
interpolation='BSpline',
invert_transform_flags=[False],
num_threads=1,
reference_image=template,
terminal_output='file'),
name='apply2con', iterfield=['input_image'])
Specify input & output stream (ANTs)¶
Specify where the input data can be found & where and how to save the output data.
# Infosource - a function free node to iterate over the list of subject names
infosource = Node(IdentityInterface(fields=['subject_id', 'fwhm_id']),
name="infosource")
infosource.iterables = [('subject_id', subject_list),
('fwhm_id', fwhm)]
# SelectFiles - to grab the data (alternativ to DataGrabber)
templates = {'con': opj(output_dir, '1stLevel',
'sub-{subject_id}/fwhm-{fwhm_id}', '???_00??.nii'),
'transform': opj('/home/neuro/workshop/data/ds000114/derivatives/fmriprep/', 'sub-{subject_id}', 'anat',
'sub-{subject_id}_t1w_space-mni152nlin2009casym_warp.h5')}
selectfiles = Node(SelectFiles(templates,
base_directory=experiment_dir,
sort_filelist=True),
name="selectfiles")
# Datasink - creates output folder for important outputs
datasink = Node(DataSink(base_directory=experiment_dir,
container=output_dir),
name="datasink")
# Use the following DataSink output substitutions
substitutions = [('_subject_id_', 'sub-')]
subjFolders = [('_fwhm_id_%ssub-%s' % (f, sub), 'sub-%s_fwhm%s' % (sub, f))
for f in fwhm
for sub in subject_list]
subjFolders += [('_apply2con%s/' % (i), '') for i in range(9)] # number of contrast used in 1stlevel an.
substitutions.extend(subjFolders)
datasink.inputs.substitutions = substitutions
Specify Workflow (ANTs)¶
Create a workflow and connect the interface nodes and the I/O stream to each other.
# Initiation of the ANTs normalization workflow
antsflow = Workflow(name='antsflow')
antsflow.base_dir = opj(experiment_dir, working_dir)
# Connect up the ANTs normalization components
antsflow.connect([(infosource, selectfiles, [('subject_id', 'subject_id'),
('fwhm_id', 'fwhm_id')]),
(selectfiles, apply2con, [('con', 'input_image'),
('transform', 'transforms')]),
(apply2con, datasink, [('output_image', 'norm_ants.@con')]),
])
Visualize the workflow (ANTs)¶
It always helps to visualize your workflow.
# Create ANTs normalization graph
antsflow.write_graph(graph2use='colored', format='png', simple_form=True)
# Visualize the graph
from IPython.display import Image
Image(filename=opj(antsflow.base_dir, 'antsflow', 'graph.png'))
211018-12:20:59,859 nipype.workflow INFO:
Generated workflow graph: /output/workingdir/antsflow/graph.png (graph2use=colored, simple_form=True).
Run the Workflow (ANTs)¶
Now that everything is ready, we can run the ANTs normalization workflow. Change n_procs
to the number of jobs/cores you want to use.
antsflow.run('MultiProc', plugin_args={'n_procs': 4})
211018-12:20:59,897 nipype.workflow INFO:
Workflow antsflow settings: ['check', 'execution', 'logging', 'monitoring']
211018-12:20:59,954 nipype.workflow INFO:
Running in parallel.
211018-12:20:59,958 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 14 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:00,16 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_09/selectfiles".
211018-12:21:00,18 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_09/selectfiles".
211018-12:21:00,22 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_08/selectfiles".
211018-12:21:00,22 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_08/selectfiles".
211018-12:21:00,26 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:00,30 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:00,33 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:00,32 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:00,34 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:00,39 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:00,43 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:00,44 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:01,962 nipype.workflow INFO:
[Job 0] Completed (antsflow.selectfiles).
211018-12:21:01,966 nipype.workflow INFO:
[Job 3] Completed (antsflow.selectfiles).
211018-12:21:01,967 nipype.workflow INFO:
[Job 6] Completed (antsflow.selectfiles).
211018-12:21:01,969 nipype.workflow INFO:
[Job 9] Completed (antsflow.selectfiles).
211018-12:21:01,972 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 14 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:02,87 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_07/selectfiles".
211018-12:21:02,89 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_07/selectfiles".
211018-12:21:02,92 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_05/selectfiles".
211018-12:21:02,93 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:02,96 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:02,95 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:02,104 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:02,102 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:02,97 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_05/selectfiles".
211018-12:21:02,104 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:02,109 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:02,117 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:03,964 nipype.workflow INFO:
[Job 12] Completed (antsflow.selectfiles).
211018-12:21:03,966 nipype.workflow INFO:
[Job 15] Completed (antsflow.selectfiles).
211018-12:21:03,968 nipype.workflow INFO:
[Job 18] Completed (antsflow.selectfiles).
211018-12:21:03,970 nipype.workflow INFO:
[Job 21] Completed (antsflow.selectfiles).
211018-12:21:03,973 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 46 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:04,61 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_04/selectfiles".
211018-12:21:04,62 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_04/selectfiles".
211018-12:21:04,65 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_03/selectfiles".
211018-12:21:04,66 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:04,67 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_03/selectfiles".
211018-12:21:04,67 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:04,70 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:04,73 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:04,75 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:04,78 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:04,81 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:04,81 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:05,970 nipype.workflow INFO:
[Job 24] Completed (antsflow.selectfiles).
211018-12:21:05,973 nipype.workflow INFO:
[Job 27] Completed (antsflow.selectfiles).
211018-12:21:05,976 nipype.workflow INFO:
[Job 30] Completed (antsflow.selectfiles).
211018-12:21:05,978 nipype.workflow INFO:
[Job 33] Completed (antsflow.selectfiles).
211018-12:21:05,982 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 78 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:06,76 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_02/selectfiles".
211018-12:21:06,77 nipype.workflow INFO:
[Job 42] Cached (_apply2con0).
211018-12:21:06,76 nipype.workflow INFO:
[Node] Setting-up "antsflow.selectfiles" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_02/selectfiles".
211018-12:21:06,81 nipype.workflow INFO:
[Job 43] Cached (_apply2con1).
211018-12:21:06,80 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:06,83 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:21:06,86 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:06,87 nipype.workflow INFO:
[Node] Finished "antsflow.selectfiles".
211018-12:21:07,973 nipype.workflow INFO:
[Job 36] Completed (antsflow.selectfiles).
211018-12:21:07,975 nipype.workflow INFO:
[Job 39] Completed (antsflow.selectfiles).
211018-12:21:07,978 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 108 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:08,39 nipype.workflow INFO:
[Job 44] Cached (_apply2con2).
211018-12:21:08,42 nipype.workflow INFO:
[Job 45] Cached (_apply2con3).
211018-12:21:08,44 nipype.workflow INFO:
[Job 46] Cached (_apply2con4).
211018-12:21:08,46 nipype.workflow INFO:
[Job 47] Cached (_apply2con5).
211018-12:21:09,977 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 120 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:10,14 nipype.workflow INFO:
[Job 48] Cached (_apply2con6).
211018-12:21:10,18 nipype.workflow INFO:
[Job 49] Cached (_apply2con7).
211018-12:21:10,21 nipype.workflow INFO:
[Job 50] Cached (_apply2con8).
211018-12:21:10,26 nipype.workflow INFO:
[Job 51] Cached (_apply2con0).
211018-12:21:11,979 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 117 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:12,23 nipype.workflow INFO:
[Job 1] Cached (antsflow.apply2con).
211018-12:21:12,28 nipype.workflow INFO:
[Job 52] Cached (_apply2con1).
211018-12:21:12,33 nipype.workflow INFO:
[Job 53] Cached (_apply2con2).
211018-12:21:12,38 nipype.workflow INFO:
[Job 54] Cached (_apply2con3).
211018-12:21:13,984 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 114 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:14,49 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_09/datasink".
211018-12:21:14,54 nipype.workflow INFO:
[Job 55] Cached (_apply2con4).
211018-12:21:14,57 nipype.workflow INFO:
[Job 56] Cached (_apply2con5).
211018-12:21:14,56 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:14,60 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0001_trans.nii
211018-12:21:14,64 nipype.workflow INFO:
[Job 57] Cached (_apply2con6).
211018-12:21:14,64 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0002_trans.nii
211018-12:21:14,66 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0003_trans.nii
211018-12:21:14,69 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0004_trans.nii
211018-12:21:14,71 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0005_trans.nii
211018-12:21:14,74 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0006_trans.nii
211018-12:21:14,75 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/con_0007_trans.nii
211018-12:21:14,79 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/ess_0008_trans.nii
211018-12:21:14,81 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_09/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm8/ess_0009_trans.nii
211018-12:21:14,86 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:15,987 nipype.workflow INFO:
[Job 2] Completed (antsflow.datasink).
211018-12:21:15,990 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 110 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:16,31 nipype.workflow INFO:
[Job 58] Cached (_apply2con7).
211018-12:21:16,34 nipype.workflow INFO:
[Job 59] Cached (_apply2con8).
211018-12:21:16,38 nipype.workflow INFO:
[Job 60] Cached (_apply2con0).
211018-12:21:16,42 nipype.workflow INFO:
[Job 61] Cached (_apply2con1).
211018-12:21:17,994 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 107 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:18,35 nipype.workflow INFO:
[Job 4] Cached (antsflow.apply2con).
211018-12:21:18,39 nipype.workflow INFO:
[Job 62] Cached (_apply2con2).
211018-12:21:18,43 nipype.workflow INFO:
[Job 63] Cached (_apply2con3).
211018-12:21:18,47 nipype.workflow INFO:
[Job 64] Cached (_apply2con4).
211018-12:21:19,997 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 104 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:20,56 nipype.workflow INFO:
[Job 65] Cached (_apply2con5).
211018-12:21:20,56 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_09/datasink".
211018-12:21:20,59 nipype.workflow INFO:
[Job 66] Cached (_apply2con6).
211018-12:21:20,62 nipype.workflow INFO:
[Job 67] Cached (_apply2con7).
211018-12:21:20,62 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:20,64 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0001_trans.nii
211018-12:21:20,66 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0002_trans.nii
211018-12:21:20,69 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0003_trans.nii
211018-12:21:20,70 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0004_trans.nii
211018-12:21:20,72 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0005_trans.nii
211018-12:21:20,74 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0006_trans.nii
211018-12:21:20,75 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/con_0007_trans.nii
211018-12:21:20,77 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/ess_0008_trans.nii
211018-12:21:20,79 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_09/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-09_fwhm4/ess_0009_trans.nii
211018-12:21:20,84 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:22,2 nipype.workflow INFO:
[Job 5] Completed (antsflow.datasink).
211018-12:21:22,6 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 100 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:22,48 nipype.workflow INFO:
[Job 68] Cached (_apply2con8).
211018-12:21:22,51 nipype.workflow INFO:
[Job 69] Cached (_apply2con0).
211018-12:21:22,56 nipype.workflow INFO:
[Job 70] Cached (_apply2con1).
211018-12:21:22,62 nipype.workflow INFO:
[Job 71] Cached (_apply2con2).
211018-12:21:24,5 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 97 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:24,43 nipype.workflow INFO:
[Job 7] Cached (antsflow.apply2con).
211018-12:21:24,48 nipype.workflow INFO:
[Job 72] Cached (_apply2con3).
211018-12:21:24,51 nipype.workflow INFO:
[Job 73] Cached (_apply2con4).
211018-12:21:24,57 nipype.workflow INFO:
[Job 74] Cached (_apply2con5).
211018-12:21:26,19 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 94 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:26,142 nipype.workflow INFO:
[Job 75] Cached (_apply2con6).
211018-12:21:26,142 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_08/datasink".
211018-12:21:26,150 nipype.workflow INFO:
[Job 76] Cached (_apply2con7).
211018-12:21:26,155 nipype.workflow INFO:
[Job 77] Cached (_apply2con8).
211018-12:21:26,156 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:26,160 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0001_trans.nii
211018-12:21:26,163 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0002_trans.nii
211018-12:21:26,166 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0003_trans.nii
211018-12:21:26,169 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0004_trans.nii
211018-12:21:26,172 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0005_trans.nii
211018-12:21:26,175 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0006_trans.nii
211018-12:21:26,177 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/con_0007_trans.nii
211018-12:21:26,179 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/ess_0008_trans.nii
211018-12:21:26,181 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_08/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm8/ess_0009_trans.nii
211018-12:21:26,187 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:28,24 nipype.workflow INFO:
[Job 8] Completed (antsflow.datasink).
211018-12:21:28,30 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 91 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:28,71 nipype.workflow INFO:
[Job 10] Cached (antsflow.apply2con).
211018-12:21:28,76 nipype.workflow INFO:
[Job 78] Cached (_apply2con0).
211018-12:21:28,79 nipype.workflow INFO:
[Job 79] Cached (_apply2con1).
211018-12:21:28,83 nipype.workflow INFO:
[Job 80] Cached (_apply2con2).
211018-12:21:30,27 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 88 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:30,152 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_08/datasink".
211018-12:21:30,158 nipype.workflow INFO:
[Job 81] Cached (_apply2con3).
211018-12:21:30,162 nipype.workflow INFO:
[Job 82] Cached (_apply2con4).
211018-12:21:30,162 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:30,168 nipype.workflow INFO:
[Job 83] Cached (_apply2con5).
211018-12:21:30,166 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0001_trans.nii
211018-12:21:30,170 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0002_trans.nii
211018-12:21:30,174 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0003_trans.nii
211018-12:21:30,177 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0004_trans.nii
211018-12:21:30,180 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0005_trans.nii
211018-12:21:30,185 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0006_trans.nii
211018-12:21:30,193 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/con_0007_trans.nii
211018-12:21:30,196 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/ess_0008_trans.nii
211018-12:21:30,199 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_08/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-08_fwhm4/ess_0009_trans.nii
211018-12:21:30,206 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:32,31 nipype.workflow INFO:
[Job 11] Completed (antsflow.datasink).
211018-12:21:32,36 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 84 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:32,79 nipype.workflow INFO:
[Job 84] Cached (_apply2con6).
211018-12:21:32,82 nipype.workflow INFO:
[Job 85] Cached (_apply2con7).
211018-12:21:32,86 nipype.workflow INFO:
[Job 86] Cached (_apply2con8).
211018-12:21:32,93 nipype.workflow INFO:
[Job 87] Cached (_apply2con0).
211018-12:21:34,39 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 81 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:34,80 nipype.workflow INFO:
[Job 13] Cached (antsflow.apply2con).
211018-12:21:34,86 nipype.workflow INFO:
[Job 88] Cached (_apply2con1).
211018-12:21:34,91 nipype.workflow INFO:
[Job 89] Cached (_apply2con2).
211018-12:21:34,94 nipype.workflow INFO:
[Job 90] Cached (_apply2con3).
211018-12:21:36,41 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 78 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:36,118 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_07/datasink".
211018-12:21:36,119 nipype.workflow INFO:
[Job 91] Cached (_apply2con4).
211018-12:21:36,123 nipype.workflow INFO:
[Job 92] Cached (_apply2con5).
211018-12:21:36,126 nipype.workflow INFO:
[Job 93] Cached (_apply2con6).
211018-12:21:36,126 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:36,129 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0001_trans.nii
211018-12:21:36,133 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0002_trans.nii
211018-12:21:36,135 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0003_trans.nii
211018-12:21:36,138 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0004_trans.nii
211018-12:21:36,140 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0005_trans.nii
211018-12:21:36,142 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0006_trans.nii
211018-12:21:36,144 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/con_0007_trans.nii
211018-12:21:36,146 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/ess_0008_trans.nii
211018-12:21:36,148 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_07/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm8/ess_0009_trans.nii
211018-12:21:36,154 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:38,43 nipype.workflow INFO:
[Job 14] Completed (antsflow.datasink).
211018-12:21:38,48 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 74 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:38,87 nipype.workflow INFO:
[Job 94] Cached (_apply2con7).
211018-12:21:38,93 nipype.workflow INFO:
[Job 95] Cached (_apply2con8).
211018-12:21:38,98 nipype.workflow INFO:
[Job 96] Cached (_apply2con0).
211018-12:21:38,103 nipype.workflow INFO:
[Job 97] Cached (_apply2con1).
211018-12:21:40,45 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 71 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:40,89 nipype.workflow INFO:
[Job 16] Cached (antsflow.apply2con).
211018-12:21:40,91 nipype.workflow INFO:
[Job 98] Cached (_apply2con2).
211018-12:21:40,94 nipype.workflow INFO:
[Job 99] Cached (_apply2con3).
211018-12:21:40,97 nipype.workflow INFO:
[Job 100] Cached (_apply2con4).
211018-12:21:42,55 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 68 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:42,110 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_07/datasink".
211018-12:21:42,112 nipype.workflow INFO:
[Job 101] Cached (_apply2con5).
211018-12:21:42,115 nipype.workflow INFO:
[Job 102] Cached (_apply2con6).
211018-12:21:42,117 nipype.workflow INFO:
[Job 103] Cached (_apply2con7).
211018-12:21:42,117 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:42,119 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0001_trans.nii
211018-12:21:42,120 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0002_trans.nii
211018-12:21:42,122 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0003_trans.nii
211018-12:21:42,125 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0004_trans.nii
211018-12:21:42,127 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0005_trans.nii
211018-12:21:42,128 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0006_trans.nii
211018-12:21:42,130 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/con_0007_trans.nii
211018-12:21:42,132 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/ess_0008_trans.nii
211018-12:21:42,133 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_07/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-07_fwhm4/ess_0009_trans.nii
211018-12:21:42,139 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:44,56 nipype.workflow INFO:
[Job 17] Completed (antsflow.datasink).
211018-12:21:44,59 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 64 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:44,94 nipype.workflow INFO:
[Job 104] Cached (_apply2con8).
211018-12:21:44,97 nipype.workflow INFO:
[Job 105] Cached (_apply2con0).
211018-12:21:44,100 nipype.workflow INFO:
[Job 106] Cached (_apply2con1).
211018-12:21:44,103 nipype.workflow INFO:
[Job 107] Cached (_apply2con2).
211018-12:21:46,63 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 61 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:46,112 nipype.workflow INFO:
[Job 19] Cached (antsflow.apply2con).
211018-12:21:46,116 nipype.workflow INFO:
[Job 108] Cached (_apply2con3).
211018-12:21:46,119 nipype.workflow INFO:
[Job 109] Cached (_apply2con4).
211018-12:21:46,123 nipype.workflow INFO:
[Job 110] Cached (_apply2con5).
211018-12:21:48,63 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 58 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:48,111 nipype.workflow INFO:
[Job 111] Cached (_apply2con6).
211018-12:21:48,111 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_05/datasink".
211018-12:21:48,115 nipype.workflow INFO:
[Job 112] Cached (_apply2con7).
211018-12:21:48,116 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:48,119 nipype.workflow INFO:
[Job 113] Cached (_apply2con8).
211018-12:21:48,118 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0001_trans.nii
211018-12:21:48,120 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0002_trans.nii
211018-12:21:48,121 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0003_trans.nii
211018-12:21:48,123 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0004_trans.nii
211018-12:21:48,126 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0005_trans.nii
211018-12:21:48,127 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0006_trans.nii
211018-12:21:48,129 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/con_0007_trans.nii
211018-12:21:48,131 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/ess_0008_trans.nii
211018-12:21:48,133 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_05/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm8/ess_0009_trans.nii
211018-12:21:48,137 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:50,64 nipype.workflow INFO:
[Job 20] Completed (antsflow.datasink).
211018-12:21:50,68 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 55 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:50,107 nipype.workflow INFO:
[Job 22] Cached (antsflow.apply2con).
211018-12:21:50,111 nipype.workflow INFO:
[Job 114] Cached (_apply2con0).
211018-12:21:50,113 nipype.workflow INFO:
[Job 115] Cached (_apply2con1).
211018-12:21:50,116 nipype.workflow INFO:
[Job 116] Cached (_apply2con2).
211018-12:21:52,72 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 52 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:52,128 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_05/datasink".
211018-12:21:52,130 nipype.workflow INFO:
[Job 117] Cached (_apply2con3).
211018-12:21:52,133 nipype.workflow INFO:
[Job 118] Cached (_apply2con4).
211018-12:21:52,134 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:52,135 nipype.workflow INFO:
[Job 119] Cached (_apply2con5).
211018-12:21:52,137 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0001_trans.nii
211018-12:21:52,140 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0002_trans.nii
211018-12:21:52,142 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0003_trans.nii
211018-12:21:52,145 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0004_trans.nii
211018-12:21:52,146 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0005_trans.nii
211018-12:21:52,148 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0006_trans.nii
211018-12:21:52,150 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/con_0007_trans.nii
211018-12:21:52,152 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/ess_0008_trans.nii
211018-12:21:52,153 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_05/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-05_fwhm4/ess_0009_trans.nii
211018-12:21:52,158 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:21:54,72 nipype.workflow INFO:
[Job 23] Completed (antsflow.datasink).
211018-12:21:54,76 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 48 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:54,125 nipype.workflow INFO:
[Job 120] Cached (_apply2con6).
211018-12:21:54,128 nipype.workflow INFO:
[Job 121] Cached (_apply2con7).
211018-12:21:54,131 nipype.workflow INFO:
[Job 122] Cached (_apply2con8).
211018-12:21:54,139 nipype.workflow INFO:
[Job 123] Cached (_apply2con0).
211018-12:21:56,78 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 45 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:56,121 nipype.workflow INFO:
[Job 25] Cached (antsflow.apply2con).
211018-12:21:56,125 nipype.workflow INFO:
[Job 124] Cached (_apply2con1).
211018-12:21:56,128 nipype.workflow INFO:
[Job 125] Cached (_apply2con2).
211018-12:21:56,132 nipype.workflow INFO:
[Job 126] Cached (_apply2con3).
211018-12:21:58,82 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 42 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:21:58,153 nipype.workflow INFO:
[Job 127] Cached (_apply2con4).
211018-12:21:58,152 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_04/datasink".
211018-12:21:58,157 nipype.workflow INFO:
[Job 128] Cached (_apply2con5).
211018-12:21:58,161 nipype.workflow INFO:
[Job 129] Cached (_apply2con6).
211018-12:21:58,160 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:21:58,164 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0001_trans.nii
211018-12:21:58,165 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0002_trans.nii
211018-12:21:58,167 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0003_trans.nii
211018-12:21:58,169 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0004_trans.nii
211018-12:21:58,171 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0005_trans.nii
211018-12:21:58,173 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0006_trans.nii
211018-12:21:58,176 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/con_0007_trans.nii
211018-12:21:58,177 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/ess_0008_trans.nii
211018-12:21:58,179 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_04/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm8/ess_0009_trans.nii
211018-12:21:58,183 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:22:00,80 nipype.workflow INFO:
[Job 26] Completed (antsflow.datasink).
211018-12:22:00,83 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 38 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:00,121 nipype.workflow INFO:
[Job 130] Cached (_apply2con7).
211018-12:22:00,124 nipype.workflow INFO:
[Job 131] Cached (_apply2con8).
211018-12:22:00,128 nipype.workflow INFO:
[Job 132] Cached (_apply2con0).
211018-12:22:00,131 nipype.workflow INFO:
[Job 133] Cached (_apply2con1).
211018-12:22:02,84 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 35 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:02,131 nipype.workflow INFO:
[Job 28] Cached (antsflow.apply2con).
211018-12:22:02,137 nipype.workflow INFO:
[Job 134] Cached (_apply2con2).
211018-12:22:02,140 nipype.workflow INFO:
[Job 135] Cached (_apply2con3).
211018-12:22:02,143 nipype.workflow INFO:
[Job 136] Cached (_apply2con4).
211018-12:22:04,90 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 32 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:04,150 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_04/datasink".
211018-12:22:04,153 nipype.workflow INFO:
[Job 137] Cached (_apply2con5).
211018-12:22:04,156 nipype.workflow INFO:
[Job 138] Cached (_apply2con6).
211018-12:22:04,156 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:04,160 nipype.workflow INFO:
[Job 139] Cached (_apply2con7).
211018-12:22:04,159 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0001_trans.nii
211018-12:22:04,161 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0002_trans.nii
211018-12:22:04,163 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0003_trans.nii
211018-12:22:04,164 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0004_trans.nii
211018-12:22:04,166 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0005_trans.nii
211018-12:22:04,168 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0006_trans.nii
211018-12:22:04,170 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/con_0007_trans.nii
211018-12:22:04,173 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/ess_0008_trans.nii
211018-12:22:04,174 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_04/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-04_fwhm4/ess_0009_trans.nii
211018-12:22:04,179 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:22:06,93 nipype.workflow INFO:
[Job 29] Completed (antsflow.datasink).
211018-12:22:06,98 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 28 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:06,140 nipype.workflow INFO:
[Job 140] Cached (_apply2con8).
211018-12:22:06,145 nipype.workflow INFO:
[Job 141] Cached (_apply2con0).
211018-12:22:06,151 nipype.workflow INFO:
[Job 142] Cached (_apply2con1).
211018-12:22:06,155 nipype.workflow INFO:
[Job 143] Cached (_apply2con2).
211018-12:22:08,94 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 25 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:08,139 nipype.workflow INFO:
[Job 31] Cached (antsflow.apply2con).
211018-12:22:08,144 nipype.workflow INFO:
[Job 144] Cached (_apply2con3).
211018-12:22:08,149 nipype.workflow INFO:
[Job 145] Cached (_apply2con4).
211018-12:22:08,157 nipype.workflow INFO:
[Job 146] Cached (_apply2con5).
211018-12:22:10,97 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 22 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:10,158 nipype.workflow INFO:
[Job 147] Cached (_apply2con6).
211018-12:22:10,157 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_03/datasink".
211018-12:22:10,162 nipype.workflow INFO:
[Job 148] Cached (_apply2con7).
211018-12:22:10,165 nipype.workflow INFO:
[Job 149] Cached (_apply2con8).
211018-12:22:10,166 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:10,168 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0001_trans.nii
211018-12:22:10,171 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0002_trans.nii
211018-12:22:10,172 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0003_trans.nii
211018-12:22:10,175 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0004_trans.nii
211018-12:22:10,178 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0005_trans.nii
211018-12:22:10,180 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0006_trans.nii
211018-12:22:10,182 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/con_0007_trans.nii
211018-12:22:10,184 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/ess_0008_trans.nii
211018-12:22:10,187 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_03/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm8/ess_0009_trans.nii
211018-12:22:10,194 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:22:12,101 nipype.workflow INFO:
[Job 32] Completed (antsflow.datasink).
211018-12:22:12,107 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 19 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:12,152 nipype.workflow INFO:
[Job 34] Cached (antsflow.apply2con).
211018-12:22:12,156 nipype.workflow INFO:
[Job 150] Cached (_apply2con0).
211018-12:22:12,159 nipype.workflow INFO:
[Job 151] Cached (_apply2con1).
211018-12:22:12,164 nipype.workflow INFO:
[Job 152] Cached (_apply2con2).
211018-12:22:14,105 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 16 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:14,176 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_03/datasink".
211018-12:22:14,179 nipype.workflow INFO:
[Job 153] Cached (_apply2con3).
211018-12:22:14,183 nipype.workflow INFO:
[Job 154] Cached (_apply2con4).
211018-12:22:14,184 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:14,188 nipype.workflow INFO:
[Job 155] Cached (_apply2con5).
211018-12:22:14,187 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0001_trans.nii
211018-12:22:14,191 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0002_trans.nii
211018-12:22:14,192 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0003_trans.nii
211018-12:22:14,194 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0004_trans.nii
211018-12:22:14,195 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0005_trans.nii
211018-12:22:14,197 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0006_trans.nii
211018-12:22:14,199 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/con_0007_trans.nii
211018-12:22:14,200 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/ess_0008_trans.nii
211018-12:22:14,202 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_03/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-03_fwhm4/ess_0009_trans.nii
211018-12:22:14,207 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:22:16,110 nipype.workflow INFO:
[Job 35] Completed (antsflow.datasink).
211018-12:22:16,113 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 12 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:16,151 nipype.workflow INFO:
[Job 156] Cached (_apply2con6).
211018-12:22:16,154 nipype.workflow INFO:
[Job 157] Cached (_apply2con7).
211018-12:22:16,159 nipype.workflow INFO:
[Job 158] Cached (_apply2con8).
211018-12:22:16,164 nipype.workflow INFO:
[Job 159] Cached (_apply2con0).
211018-12:22:18,114 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 9 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:18,160 nipype.workflow INFO:
[Job 37] Cached (antsflow.apply2con).
211018-12:22:18,164 nipype.workflow INFO:
[Job 160] Cached (_apply2con1).
211018-12:22:18,168 nipype.workflow INFO:
[Job 161] Cached (_apply2con2).
211018-12:22:18,175 nipype.workflow INFO:
[Job 162] Cached (_apply2con3).
211018-12:22:20,118 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 6 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:20,189 nipype.workflow INFO:
[Job 163] Cached (_apply2con4).
211018-12:22:20,188 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_8_subject_id_02/datasink".
211018-12:22:20,192 nipype.workflow INFO:
[Job 164] Cached (_apply2con5).
211018-12:22:20,195 nipype.workflow INFO:
[Job 165] Cached (_apply2con6).
211018-12:22:20,194 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:20,196 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0001_trans.nii
211018-12:22:20,198 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0002_trans.nii
211018-12:22:20,199 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0003_trans.nii
211018-12:22:20,201 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0004_trans.nii
211018-12:22:20,203 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0005_trans.nii
211018-12:22:20,204 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0006_trans.nii
211018-12:22:20,206 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/con_0007_trans.nii
211018-12:22:20,207 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/ess_0008_trans.nii
211018-12:22:20,208 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_8_subject_id_02/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm8/ess_0009_trans.nii
211018-12:22:20,213 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:22:22,119 nipype.workflow INFO:
[Job 38] Completed (antsflow.datasink).
211018-12:22:22,124 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 2 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:22,162 nipype.workflow INFO:
[Job 166] Cached (_apply2con7).
211018-12:22:22,166 nipype.workflow INFO:
[Job 167] Cached (_apply2con8).
211018-12:22:24,124 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 1 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:24,168 nipype.workflow INFO:
[Job 40] Cached (antsflow.apply2con).
211018-12:22:26,204 nipype.workflow INFO:
[Node] Setting-up "antsflow.datasink" in "/output/workingdir/antsflow/_fwhm_id_4_subject_id_02/datasink".
211018-12:22:26,209 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:26,211 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con0/con_0001_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0001_trans.nii
211018-12:22:26,212 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con1/con_0002_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0002_trans.nii
211018-12:22:26,213 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con2/con_0003_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0003_trans.nii
211018-12:22:26,215 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con3/con_0004_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0004_trans.nii
211018-12:22:26,216 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con4/con_0005_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0005_trans.nii
211018-12:22:26,218 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con5/con_0006_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0006_trans.nii
211018-12:22:26,220 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con6/con_0007_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/con_0007_trans.nii
211018-12:22:26,221 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con7/ess_0008_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/ess_0008_trans.nii
211018-12:22:26,223 nipype.interface INFO:
sub: /output/datasink/norm_ants/_fwhm_id_4_subject_id_02/_apply2con8/ess_0009_trans.nii -> /output/datasink/norm_ants/sub-02_fwhm4/ess_0009_trans.nii
211018-12:22:26,227 nipype.workflow INFO:
[Node] Finished "antsflow.datasink".
211018-12:22:28,133 nipype.workflow INFO:
[Job 41] Completed (antsflow.datasink).
211018-12:22:28,138 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 0 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
<networkx.classes.digraph.DiGraph at 0x7f81ed1dcd10>
Normalization with SPM12¶
The normalization with SPM12 is rather straightforward. The only thing we need to do is run the Normalize12 module. So let’s start!
Imports (SPM12)¶
First, we need to import all the modules we later want to use.
from os.path import join as opj
from nipype.interfaces.spm import Normalize12
from nipype.interfaces.utility import IdentityInterface
from nipype.interfaces.io import SelectFiles, DataSink
from nipype.algorithms.misc import Gunzip
from nipype import Workflow, Node
Experiment parameters (SPM12)¶
It’s always a good idea to specify all parameters that might change between experiments at the beginning of your script. And remember that we decided to run the group analysis without subject sub-01
, sub-06
and sub-10
because they are left-handed (see this section).
experiment_dir = '/output'
output_dir = 'datasink'
working_dir = 'workingdir'
# list of subject identifiers
subject_list = ['02', '03', '04', '05', '07', '08', '09']
# task name
task_name = "fingerfootlips"
# Smoothing withds used during preprocessing
fwhm = [4, 8]
template = '/opt/spm12-r7219/spm12_mcr/spm12/tpm/TPM.nii'
Specify Nodes (SPM12)¶
Initiate all the different interfaces (represented as nodes) that you want to use in your workflow.
# Gunzip - unzip the anatomical image
gunzip = Node(Gunzip(), name="gunzip")
# Normalize - normalizes functional and structural images to the MNI template
normalize = Node(Normalize12(jobtype='estwrite',
tpm=template,
write_voxel_sizes=[1, 1, 1]),
name="normalize")
Specify input & output stream (SPM12)¶
Specify where the input data can be found & where and how to save the output data.
# Infosource - a function free node to iterate over the list of subject names
infosource = Node(IdentityInterface(fields=['subject_id', 'fwhm_id']),
name="infosource")
infosource.iterables = [('subject_id', subject_list),
('fwhm_id', fwhm)]
# SelectFiles - to grab the data (alternativ to DataGrabber)
templates = {'con': opj(output_dir, '1stLevel',
'sub-{subject_id}/fwhm-{fwhm_id}', '???_00??.nii'),
'anat': opj('/home/neuro/workshop/data/ds000114/derivatives', 'fmriprep', 'sub-{subject_id}',
'anat', 'sub-{subject_id}_t1w_preproc.nii.gz')}
selectfiles = Node(SelectFiles(templates,
base_directory=experiment_dir,
sort_filelist=True),
name="selectfiles")
# Datasink - creates output folder for important outputs
datasink = Node(DataSink(base_directory=experiment_dir,
container=output_dir),
name="datasink")
# Use the following DataSink output substitutions
substitutions = [('_subject_id_', 'sub-')]
subjFolders = [('_fwhm_id_%ssub-%s' % (f, sub), 'sub-%s_fwhm%s' % (sub, f))
for f in fwhm
for sub in subject_list]
substitutions.extend(subjFolders)
datasink.inputs.substitutions = substitutions
Specify Workflow (SPM12)¶
Create a workflow and connect the interface nodes and the I/O stream to each other.
# Specify Normalization-Workflow & Connect Nodes
spmflow = Workflow(name='spmflow')
spmflow.base_dir = opj(experiment_dir, working_dir)
# Connect up SPM normalization components
spmflow.connect([(infosource, selectfiles, [('subject_id', 'subject_id'),
('fwhm_id', 'fwhm_id')]),
(selectfiles, normalize, [('con', 'apply_to_files')]),
(selectfiles, gunzip, [('anat', 'in_file')]),
(gunzip, normalize, [('out_file', 'image_to_align')]),
(normalize, datasink, [('normalized_files', 'norm_spm.@files'),
('normalized_image', 'norm_spm.@image'),
]),
])
Visualize the workflow (SPM12)¶
It always helps to visualize your workflow.
# Create SPM normalization graph
spmflow.write_graph(graph2use='colored', format='png', simple_form=True)
# Visualize the graph
from IPython.display import Image
Image(filename=opj(spmflow.base_dir, 'spmflow', 'graph.png'))
211018-12:22:30,470 nipype.workflow INFO:
Generated workflow graph: /output/workingdir/spmflow/graph.png (graph2use=colored, simple_form=True).
Run the Workflow (SPM12)¶
Now that everything is ready, we can run the SPM normalization workflow. Change n_procs
to the number of jobs/cores you want to use.
spmflow.run('MultiProc', plugin_args={'n_procs': 4})
211018-12:22:30,485 nipype.workflow INFO:
Workflow spmflow settings: ['check', 'execution', 'logging', 'monitoring']
211018-12:22:30,537 nipype.workflow INFO:
Running in parallel.
211018-12:22:30,541 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 14 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:30,606 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_09/selectfiles".
211018-12:22:30,608 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_09/selectfiles".
211018-12:22:30,612 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_08/selectfiles".
211018-12:22:30,612 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_08/selectfiles".
211018-12:22:30,617 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:30,622 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:30,622 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:30,623 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:30,631 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:30,631 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:30,636 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:30,636 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:32,545 nipype.workflow INFO:
[Job 0] Completed (spmflow.selectfiles).
211018-12:22:32,548 nipype.workflow INFO:
[Job 4] Completed (spmflow.selectfiles).
211018-12:22:32,551 nipype.workflow INFO:
[Job 8] Completed (spmflow.selectfiles).
211018-12:22:32,553 nipype.workflow INFO:
[Job 12] Completed (spmflow.selectfiles).
211018-12:22:32,556 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 14 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:32,620 nipype.workflow INFO:
[Job 1] Cached (spmflow.gunzip).
211018-12:22:32,624 nipype.workflow INFO:
[Job 5] Cached (spmflow.gunzip).
211018-12:22:32,628 nipype.workflow INFO:
[Job 9] Cached (spmflow.gunzip).
211018-12:22:32,634 nipype.workflow INFO:
[Job 13] Cached (spmflow.gunzip).
211018-12:22:34,596 nipype.workflow INFO:
[Job 2] Cached (spmflow.normalize).
211018-12:22:34,605 nipype.workflow INFO:
[Job 6] Cached (spmflow.normalize).
211018-12:22:34,613 nipype.workflow INFO:
[Job 10] Cached (spmflow.normalize).
211018-12:22:34,620 nipype.workflow INFO:
[Job 14] Cached (spmflow.normalize).
211018-12:22:36,611 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_09/datasink".
211018-12:22:36,619 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:36,625 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0001.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0001.nii
211018-12:22:36,627 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0002.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0002.nii
211018-12:22:36,629 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0003.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0003.nii
211018-12:22:36,630 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_09/datasink".
211018-12:22:36,632 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0004.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0004.nii
211018-12:22:36,641 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:36,644 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0005.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0005.nii
211018-12:22:36,645 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0001.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0001.nii
211018-12:22:36,647 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0006.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0006.nii
211018-12:22:36,648 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0002.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0002.nii
211018-12:22:36,650 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wcon_0007.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wcon_0007.nii
211018-12:22:36,652 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wess_0008.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wess_0008.nii
211018-12:22:36,653 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0003.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0003.nii
211018-12:22:36,655 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wess_0009.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wess_0009.nii
211018-12:22:36,657 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0004.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0004.nii
211018-12:22:36,659 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0005.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0005.nii
211018-12:22:36,658 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_08/datasink".
211018-12:22:36,661 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0006.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0006.nii
211018-12:22:36,663 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_09/wsub-09_t1w_preproc.nii -> /output/datasink/norm_spm/sub-09_fwhm8/wsub-09_t1w_preproc.nii
211018-12:22:36,671 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wcon_0007.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wcon_0007.nii
211018-12:22:36,675 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:36,675 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:36,677 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wess_0008.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wess_0008.nii
211018-12:22:36,681 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wess_0009.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wess_0009.nii
211018-12:22:36,682 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0001.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0001.nii
211018-12:22:36,683 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_09/wsub-09_t1w_preproc.nii -> /output/datasink/norm_spm/sub-09_fwhm4/wsub-09_t1w_preproc.nii
211018-12:22:36,689 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0002.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0002.nii
211018-12:22:36,694 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0003.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0003.nii
211018-12:22:36,699 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:36,697 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0004.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0004.nii
211018-12:22:36,701 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_08/datasink".
211018-12:22:36,703 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0005.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0005.nii
211018-12:22:36,706 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0006.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0006.nii
211018-12:22:36,742 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wcon_0007.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wcon_0007.nii
211018-12:22:36,743 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:36,744 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wess_0008.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wess_0008.nii
211018-12:22:36,746 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wess_0009.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wess_0009.nii
211018-12:22:36,746 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0001.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0001.nii
211018-12:22:36,748 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_08/wsub-08_t1w_preproc.nii -> /output/datasink/norm_spm/sub-08_fwhm8/wsub-08_t1w_preproc.nii
211018-12:22:36,748 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0002.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0002.nii
211018-12:22:36,751 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0003.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0003.nii
211018-12:22:36,754 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0004.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0004.nii
211018-12:22:36,758 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:36,756 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0005.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0005.nii
211018-12:22:36,760 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0006.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0006.nii
211018-12:22:36,762 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wcon_0007.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wcon_0007.nii
211018-12:22:36,764 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wess_0008.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wess_0008.nii
211018-12:22:36,767 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wess_0009.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wess_0009.nii
211018-12:22:36,770 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_08/wsub-08_t1w_preproc.nii -> /output/datasink/norm_spm/sub-08_fwhm4/wsub-08_t1w_preproc.nii
211018-12:22:36,777 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:38,556 nipype.workflow INFO:
[Job 3] Completed (spmflow.datasink).
211018-12:22:38,558 nipype.workflow INFO:
[Job 7] Completed (spmflow.datasink).
211018-12:22:38,560 nipype.workflow INFO:
[Job 11] Completed (spmflow.datasink).
211018-12:22:38,562 nipype.workflow INFO:
[Job 15] Completed (spmflow.datasink).
211018-12:22:38,565 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 10 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:38,599 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_07/selectfiles".
211018-12:22:38,600 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_07/selectfiles".
211018-12:22:38,602 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:38,605 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_05/selectfiles".
211018-12:22:38,603 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:38,608 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_05/selectfiles".
211018-12:22:38,609 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:38,608 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:38,613 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:38,617 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:38,622 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:38,624 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:40,562 nipype.workflow INFO:
[Job 16] Completed (spmflow.selectfiles).
211018-12:22:40,565 nipype.workflow INFO:
[Job 20] Completed (spmflow.selectfiles).
211018-12:22:40,567 nipype.workflow INFO:
[Job 24] Completed (spmflow.selectfiles).
211018-12:22:40,569 nipype.workflow INFO:
[Job 28] Completed (spmflow.selectfiles).
211018-12:22:40,573 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 10 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:40,615 nipype.workflow INFO:
[Job 17] Cached (spmflow.gunzip).
211018-12:22:40,619 nipype.workflow INFO:
[Job 21] Cached (spmflow.gunzip).
211018-12:22:40,624 nipype.workflow INFO:
[Job 25] Cached (spmflow.gunzip).
211018-12:22:40,629 nipype.workflow INFO:
[Job 29] Cached (spmflow.gunzip).
211018-12:22:42,610 nipype.workflow INFO:
[Job 18] Cached (spmflow.normalize).
211018-12:22:42,617 nipype.workflow INFO:
[Job 22] Cached (spmflow.normalize).
211018-12:22:42,626 nipype.workflow INFO:
[Job 26] Cached (spmflow.normalize).
211018-12:22:42,632 nipype.workflow INFO:
[Job 30] Cached (spmflow.normalize).
211018-12:22:44,628 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_07/datasink".
211018-12:22:44,635 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:44,638 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0001.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0001.nii
211018-12:22:44,640 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0002.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0002.nii
211018-12:22:44,642 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0003.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0003.nii
211018-12:22:44,644 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0004.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0004.nii
211018-12:22:44,646 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0005.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0005.nii
211018-12:22:44,647 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0006.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0006.nii
211018-12:22:44,649 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wcon_0007.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wcon_0007.nii
211018-12:22:44,649 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_07/datasink".
211018-12:22:44,654 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wess_0008.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wess_0008.nii
211018-12:22:44,655 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:44,657 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0001.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0001.nii
211018-12:22:44,659 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wess_0009.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wess_0009.nii
211018-12:22:44,659 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0002.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0002.nii
211018-12:22:44,662 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0003.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0003.nii
211018-12:22:44,662 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_07/wsub-07_t1w_preproc.nii -> /output/datasink/norm_spm/sub-07_fwhm8/wsub-07_t1w_preproc.nii
211018-12:22:44,664 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0004.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0004.nii
211018-12:22:44,666 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0005.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0005.nii
211018-12:22:44,668 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:44,668 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0006.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0006.nii
211018-12:22:44,670 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wcon_0007.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wcon_0007.nii
211018-12:22:44,671 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_05/datasink".
211018-12:22:44,672 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wess_0008.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wess_0008.nii
211018-12:22:44,675 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wess_0009.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wess_0009.nii
211018-12:22:44,677 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_07/wsub-07_t1w_preproc.nii -> /output/datasink/norm_spm/sub-07_fwhm4/wsub-07_t1w_preproc.nii
211018-12:22:44,680 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:44,683 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:44,685 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0001.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0001.nii
211018-12:22:44,687 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0002.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0002.nii
211018-12:22:44,689 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_05/datasink".
211018-12:22:44,690 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0003.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0003.nii
211018-12:22:44,694 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:44,696 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0001.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0001.nii
211018-12:22:44,697 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0004.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0004.nii
211018-12:22:44,698 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0002.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0002.nii
211018-12:22:44,699 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0005.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0005.nii
211018-12:22:44,699 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0003.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0003.nii
211018-12:22:44,700 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0004.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0004.nii
211018-12:22:44,701 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0006.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0006.nii
211018-12:22:44,702 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0005.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0005.nii
211018-12:22:44,704 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wcon_0007.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wcon_0007.nii
211018-12:22:44,704 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0006.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0006.nii
211018-12:22:44,706 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wess_0008.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wess_0008.nii
211018-12:22:44,707 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wess_0009.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wess_0009.nii
211018-12:22:44,708 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wcon_0007.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wcon_0007.nii
211018-12:22:44,709 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_05/wsub-05_t1w_preproc.nii -> /output/datasink/norm_spm/sub-05_fwhm8/wsub-05_t1w_preproc.nii
211018-12:22:44,710 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wess_0008.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wess_0008.nii
211018-12:22:44,712 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wess_0009.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wess_0009.nii
211018-12:22:44,714 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:44,714 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_05/wsub-05_t1w_preproc.nii -> /output/datasink/norm_spm/sub-05_fwhm4/wsub-05_t1w_preproc.nii
211018-12:22:44,718 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:46,575 nipype.workflow INFO:
[Job 19] Completed (spmflow.datasink).
211018-12:22:46,578 nipype.workflow INFO:
[Job 23] Completed (spmflow.datasink).
211018-12:22:46,581 nipype.workflow INFO:
[Job 27] Completed (spmflow.datasink).
211018-12:22:46,584 nipype.workflow INFO:
[Job 31] Completed (spmflow.datasink).
211018-12:22:46,587 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 6 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:46,628 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_04/selectfiles".
211018-12:22:46,631 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_04/selectfiles".
211018-12:22:46,633 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:46,635 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_03/selectfiles".
211018-12:22:46,635 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_03/selectfiles".
211018-12:22:46,635 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:46,640 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:46,642 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:46,643 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:46,649 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:46,648 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:46,653 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:48,578 nipype.workflow INFO:
[Job 32] Completed (spmflow.selectfiles).
211018-12:22:48,582 nipype.workflow INFO:
[Job 36] Completed (spmflow.selectfiles).
211018-12:22:48,584 nipype.workflow INFO:
[Job 40] Completed (spmflow.selectfiles).
211018-12:22:48,586 nipype.workflow INFO:
[Job 44] Completed (spmflow.selectfiles).
211018-12:22:48,591 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 6 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:48,631 nipype.workflow INFO:
[Job 33] Cached (spmflow.gunzip).
211018-12:22:48,636 nipype.workflow INFO:
[Job 37] Cached (spmflow.gunzip).
211018-12:22:48,640 nipype.workflow INFO:
[Job 41] Cached (spmflow.gunzip).
211018-12:22:48,645 nipype.workflow INFO:
[Job 45] Cached (spmflow.gunzip).
211018-12:22:50,626 nipype.workflow INFO:
[Job 34] Cached (spmflow.normalize).
211018-12:22:50,632 nipype.workflow INFO:
[Job 38] Cached (spmflow.normalize).
211018-12:22:50,640 nipype.workflow INFO:
[Job 42] Cached (spmflow.normalize).
211018-12:22:50,646 nipype.workflow INFO:
[Job 46] Cached (spmflow.normalize).
211018-12:22:52,644 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_04/datasink".
211018-12:22:52,650 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:52,652 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0001.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0001.nii
211018-12:22:52,654 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0002.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0002.nii
211018-12:22:52,656 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0003.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0003.nii
211018-12:22:52,657 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0004.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0004.nii
211018-12:22:52,660 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0005.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0005.nii
211018-12:22:52,661 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0006.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0006.nii
211018-12:22:52,663 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wcon_0007.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wcon_0007.nii
211018-12:22:52,666 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wess_0008.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wess_0008.nii
211018-12:22:52,667 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wess_0009.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wess_0009.nii
211018-12:22:52,670 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_04/wsub-04_t1w_preproc.nii -> /output/datasink/norm_spm/sub-04_fwhm8/wsub-04_t1w_preproc.nii
211018-12:22:52,674 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:52,675 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_04/datasink".
211018-12:22:52,681 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:52,684 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0001.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0001.nii
211018-12:22:52,686 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0002.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0002.nii
211018-12:22:52,687 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0003.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0003.nii
211018-12:22:52,689 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0004.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0004.nii
211018-12:22:52,691 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_03/datasink".
211018-12:22:52,696 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:52,692 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0005.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0005.nii
211018-12:22:52,698 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0006.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0006.nii
211018-12:22:52,699 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0001.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0001.nii
211018-12:22:52,700 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wcon_0007.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wcon_0007.nii
211018-12:22:52,702 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0002.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0002.nii
211018-12:22:52,703 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wess_0008.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wess_0008.nii
211018-12:22:52,704 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0003.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0003.nii
211018-12:22:52,706 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wess_0009.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wess_0009.nii
211018-12:22:52,707 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0004.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0004.nii
211018-12:22:52,708 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_04/wsub-04_t1w_preproc.nii -> /output/datasink/norm_spm/sub-04_fwhm4/wsub-04_t1w_preproc.nii
211018-12:22:52,710 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0005.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0005.nii
211018-12:22:52,712 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0006.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0006.nii
211018-12:22:52,715 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_03/datasink".
211018-12:22:52,716 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:52,717 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wcon_0007.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wcon_0007.nii
211018-12:22:52,719 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wess_0008.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wess_0008.nii
211018-12:22:52,722 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wess_0009.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wess_0009.nii
211018-12:22:52,723 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:22:52,724 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_03/wsub-03_t1w_preproc.nii -> /output/datasink/norm_spm/sub-03_fwhm8/wsub-03_t1w_preproc.nii
211018-12:22:52,726 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0001.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0001.nii
211018-12:22:52,730 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0002.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0002.nii
211018-12:22:52,731 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:52,733 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0003.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0003.nii
211018-12:22:52,734 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0004.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0004.nii
211018-12:22:52,735 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0005.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0005.nii
211018-12:22:52,737 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0006.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0006.nii
211018-12:22:52,739 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wcon_0007.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wcon_0007.nii
211018-12:22:52,740 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wess_0008.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wess_0008.nii
211018-12:22:52,743 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wess_0009.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wess_0009.nii
211018-12:22:52,745 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_03/wsub-03_t1w_preproc.nii -> /output/datasink/norm_spm/sub-03_fwhm4/wsub-03_t1w_preproc.nii
211018-12:22:52,757 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:22:54,585 nipype.workflow INFO:
[Job 35] Completed (spmflow.datasink).
211018-12:22:54,586 nipype.workflow INFO:
[Job 39] Completed (spmflow.datasink).
211018-12:22:54,589 nipype.workflow INFO:
[Job 43] Completed (spmflow.datasink).
211018-12:22:54,590 nipype.workflow INFO:
[Job 47] Completed (spmflow.datasink).
211018-12:22:54,593 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 2 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:54,634 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_02/selectfiles".
211018-12:22:54,636 nipype.workflow INFO:
[Node] Setting-up "spmflow.selectfiles" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_02/selectfiles".
211018-12:22:54,640 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:54,641 nipype.workflow INFO:
[Node] Running "selectfiles" ("nipype.interfaces.io.SelectFiles")
211018-12:22:54,647 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:54,647 nipype.workflow INFO:
[Node] Finished "spmflow.selectfiles".
211018-12:22:56,589 nipype.workflow INFO:
[Job 48] Completed (spmflow.selectfiles).
211018-12:22:56,591 nipype.workflow INFO:
[Job 52] Completed (spmflow.selectfiles).
211018-12:22:56,594 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 2 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
211018-12:22:56,639 nipype.workflow INFO:
[Job 49] Cached (spmflow.gunzip).
211018-12:22:56,642 nipype.workflow INFO:
[Job 53] Cached (spmflow.gunzip).
211018-12:22:58,638 nipype.workflow INFO:
[Job 50] Cached (spmflow.normalize).
211018-12:22:58,644 nipype.workflow INFO:
[Job 54] Cached (spmflow.normalize).
211018-12:23:00,670 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_8_subject_id_02/datasink".
211018-12:23:00,677 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:23:00,679 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0001.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0001.nii
211018-12:23:00,681 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0002.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0002.nii
211018-12:23:00,683 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0003.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0003.nii
211018-12:23:00,685 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0004.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0004.nii
211018-12:23:00,688 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0005.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0005.nii
211018-12:23:00,689 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0006.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0006.nii
211018-12:23:00,693 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wcon_0007.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wcon_0007.nii
211018-12:23:00,694 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wess_0008.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wess_0008.nii
211018-12:23:00,696 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wess_0009.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wess_0009.nii
211018-12:23:00,698 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_8_subject_id_02/wsub-02_t1w_preproc.nii -> /output/datasink/norm_spm/sub-02_fwhm8/wsub-02_t1w_preproc.nii
211018-12:23:00,704 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:23:00,707 nipype.workflow INFO:
[Node] Setting-up "spmflow.datasink" in "/output/workingdir/spmflow/_fwhm_id_4_subject_id_02/datasink".
211018-12:23:00,713 nipype.workflow INFO:
[Node] Running "datasink" ("nipype.interfaces.io.DataSink")
211018-12:23:00,715 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0001.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0001.nii
211018-12:23:00,716 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0002.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0002.nii
211018-12:23:00,717 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0003.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0003.nii
211018-12:23:00,719 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0004.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0004.nii
211018-12:23:00,720 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0005.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0005.nii
211018-12:23:00,722 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0006.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0006.nii
211018-12:23:00,724 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wcon_0007.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wcon_0007.nii
211018-12:23:00,726 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wess_0008.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wess_0008.nii
211018-12:23:00,727 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wess_0009.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wess_0009.nii
211018-12:23:00,729 nipype.interface INFO:
sub: /output/datasink/norm_spm/_fwhm_id_4_subject_id_02/wsub-02_t1w_preproc.nii -> /output/datasink/norm_spm/sub-02_fwhm4/wsub-02_t1w_preproc.nii
211018-12:23:00,733 nipype.workflow INFO:
[Node] Finished "spmflow.datasink".
211018-12:23:02,599 nipype.workflow INFO:
[Job 51] Completed (spmflow.datasink).
211018-12:23:02,602 nipype.workflow INFO:
[Job 55] Completed (spmflow.datasink).
211018-12:23:02,607 nipype.workflow INFO:
[MultiProc] Running 0 tasks, and 0 jobs ready. Free memory (GB): 5.23/5.23, Free processors: 4/4.
<networkx.classes.digraph.DiGraph at 0x7f81ece28250>
Comparison between ANTs and SPM normalization¶
Now that we ran the normalization with ANTs and SPM, let us compare their output.
from nilearn.plotting import plot_stat_map
%matplotlib inline
anatimg = '/data/ds000114/derivatives/fmriprep/mni_icbm152_nlin_asym_09c/1mm_T1.nii.gz'
First, let’s compare the normalization of the anatomical images:
plot_stat_map(
'/home/neuro/workshop/data/ds000114/derivatives/fmriprep/sub-02/anat/sub-02_t1w_space-mni152nlin2009casym_preproc.nii.gz',
title='anatomy - ANTs (normalized to ICBM152)', bg_img=anatimg,
threshold=200, display_mode='ortho', cut_coords=(-50, 0, -10));
plot_stat_map(
'/output/datasink/norm_spm/sub-02_fwhm4/wsub-02_t1w_preproc.nii',
title='anatomy - SPM (normalized to SPM\'s TPM)', bg_img=anatimg,
threshold=200, display_mode='ortho', cut_coords=(-50, 0, -10));
And what about the contrast images for Finger > others?
plot_stat_map(
'/output/datasink/norm_ants/sub-02_fwhm8/con_0005_trans.nii', title='contrast5 - fwhm=8 - ANTs',
bg_img=anatimg, threshold=2, vmax=5, display_mode='ortho', cut_coords=(-39, -37, 56));
plot_stat_map(
'/output/datasink/norm_spm/sub-02_fwhm8/wcon_0005.nii', title='contrast5 - fwhm=8 - SPM',
bg_img=anatimg, threshold=2, vmax=5, display_mode='ortho', cut_coords=(-39, -37, 56));
from nilearn.plotting import plot_glass_brain
plot_glass_brain(
'/output/datasink/norm_ants/sub-02_fwhm8/con_0005_trans.nii', colorbar=True,
threshold=3, display_mode='lyrz', black_bg=True, vmax=6, title='contrast5 - fwhm=8 - ANTs')
plot_glass_brain(
'/output/datasink/norm_spm/sub-02_fwhm8/wcon_0005.nii', colorbar=True,
threshold=3, display_mode='lyrz', black_bg=True, vmax=6, title='contrast5 - fwhm=8 - SPM');