You can only run the steps you want from the tICA pipeline. No need to modify it. We built that in as it is a relatively common usecase (or even wanting to run parts of the tICA pipeline at different times). Let us know if you have any issues figuring out how to do that.
Matt.
--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
hcp-users+...@humanconnectome.org.
To view this discussion on the web visit
https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/CANHS7XiqO4QB8iM1jMTrDxTay-oD9DOE%2BoKrBVUZYn8nBOULhA%40mail.gmail.com.
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
Here is the usage:
tICAPipeline.sh: implements temporal ICA decomposition and cleanup
Usage: tICAPipeline.sh PARAMETER ...
A parameter enclosed in [ ] is optional.
A parameter enclosed in { } is required, but can be provided by a config file.
All other parameters must be specified.
Anything enclosed in < > is a placeholder for a user supplied value.
[--help or -h] - show this usage information and exit
[--config=<file>] - load parameter values from a file
--study-folder=<path> - folder that contains all subjects
--subject-list=100206@100307... - list of subject IDs separated by @s
--fmri-names=rfMRI_REST1_LR@rfMRI_REST1_RL... - list of fmri run names separated by @s
[--mrfix-concat-name=<rfMRI_REST>] - if multi-run FIX was used, you must specify the concat name with this option
--output-fmri-name=<rfMRI_REST> - name to use for tICA pipeline outputs
--proc-string=<string> - file name component representing the preprocessing already done, e.g. '_Atlas_MSMAll_hp0_clean'
--fix-high-pass=<integer> - the high pass value that was used when running FIX
--out-group-name=<string> - name to use for the group output folder
--fmri-resolution=<string> - resolution of data, like '2' or '1.60'
--surf-reg-name=<MSMAll> - the registration string corresponding to the input files
{--num-wishart=<integer>} - how many wisharts to use in icaDim
{--low-res=<meshnum>} - mesh resolution, like '32' for 32k_fs_LR
--subject-expected-timepoints=<string> - output spectra size for sICA individual projection, RunsXNumTimePoints, like '4800'
[--ica-mode=<string>] - whether to use parts of a previous tICA run (for instance, if this group has too few subjects to simply estimate a new tICA). Defaults to NEW, all other modes require specifying the --precomputed-* options. Value must be one of:
NEW - estimate a new sICA and a new tICA
REUSE_SICA_ONLY - reuse an existing sICA and estimate a new tICA
INITIALIZE_TICA - reuse an existing sICA and use an existing tICA to start the estimation
REUSE_TICA - reuse an existing sICA and an existing tICA
[--precomputed-clean-folder=<folder>] - group folder containing an existing tICA cleanup to make use of for REUSE or INITIALIZE modes
[--precomputed-clean-fmri-name=<rfMRI_REST>] - the output fMRI name used in the previously computed tICA
[--precomputed-group-name=<PrecomputedGroupName>] - the group name used during the previously computed tICA
[--extra-output-suffix=<string>] - add something extra to most output filenames, for collision avoidance
[--pca-out-dim=<integer>] - override number of PCA components to use for group sICA
[--pca-internal-dim=<integer>] - override internal MIGP dimensionality
[--migp-resume=<YES or NO>] - resume from a previous interrupted MIGP run, if present, default YES
[--sicadim-iters=<integer>] - number of iterations or mode for estimating sICA dimensionality, default 100
[--sicadim-override=<integer>] - use this dimensionality instead of icaDim's estimate
[--low-sica-dims=num@num@num...] - the low sICA dimensionalities to use for determining weighting for individual projection, defaults to '7@8@9@10@11@12@13@14@15@16@17@18@19@20@21'
[--reclean-mode=<YES or NO>] - whether the data should use ReCleanSignal.txt for DVARS
[--manual-components-to-remove=<file>] - text file containing the component numbers to be removed by cleanup, separated by spaces, requires either --ica-mode=REUSE_TICA or --starting-step=CleanData
[--fix-legacy-bias=<YES or NO>] - whether the input data used the legacy bias correction
[--config-out=<file>] - generate config file for rerunning with similar settings, or for reusing these results for future cleaning
[--starting-step=<step>] - what step to start processing at, one of:
MIGP
GroupSICA
indProjSICA
ConcatGroupSICA
ComputeGroupTICA
indProjTICA
ComputeTICAFeatures
ClassifyTICA
CleanData
[--stop-after-step=<step>] - what step to stop processing after, same valid values as --starting-step
[--parallel-limit=<integer>] - set how many subjects to do in parallel (local, not cluster-distributed) during individual projection and cleanup, defaults to all detected physical cores
[--matlab-run-mode=<0, 1, or 2>] - defaults to 1
0 = compiled MATLAB
1 = interpreted MATLAB
2 = Octave
It sounds like you want to do the equivalent of a “dual regression” type analysis (we use a weighted multiple regression described in Glasser et al., 2016 Nature). That would be --starting-step=MIGP and --stop-after-step=ConcatGroupSICA. I have CCed Alex who can help too.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/22e81ac0-1531-418a-8e21-ac204d790bc9n%40humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/F2A2B4A0-8959-4045-9D3F-D6B2AB564B6F%40wustl.edu.
tICAPipeline.sh
--study-folder=fmriresults01
–subject-list=<subject1>@<subject2>@<subject3>
--fmri-names=rfMRI_REST_Atlas_MSMAll_hp0_clean.dtseries.nii@rfMRI_REST_Atlas_MSMAll_hp0_clean.dtseries.nii@rfMRI_REST_Atlas_MSMAll_hp0_clean.dtseries.nii
--proc-string='_Atlas_MSMAll_hp0_clean' --surf-reg-name='MSMAll'
--num-wishart=5 --starting-step='MIGP'
--stop-after-step=ConcatGroupSICA --output-fmri-name='rfMRI_REST'
--fix-high-pass='0' --out-group-name='output' --fmri-resolution='2'
--low-res='32' –subject-expected-timepoints='1912'
s
= 1
Warning:
failed to save to checkpoint file
>
In MIGP (line 83)
s
= 2
Error
using eigs>checkInputs
Number
of eigenvalues requested must be a nonnegative integer. Instead, it
was -1.
Error
in eigs (line 90)
innerOpts,
useEig, originalB] = checkInputs(varargin{:});
Error
in MIGP (line 67)
[uu,
~] = eigs(W * W', min(dPCAinternal, size(W, 1) - 1)); % reduce W to
dPCAinternal eigenvectors
How can I resolve this?
Thank you in advance,
Lin
tICAPipeline.sh --study-folder=fmriresults01 –subject-list=<subject1>@<subject2>@<subject3> --fmri-names='rfMRI_REST'--mrfix-concat-name='rfMRI_REST'
--proc-string='_Atlas_MSMAll_hp0_clean' --surf-reg-name='MSMAll' --num-wishart=5 --starting-step='MIGP' --stop-after-step=ConcatGroupSICA --output-fmri-name='rfMRI_REST' --fix-high-pass='0' --out-group-name='output' --fmri-resolution='2' --low-res='32' –subject-expected-timepoints='1912'
tICAPipeline.sh --study-folder=${StudyFolder}–subject-list=<subject1>@<subject2>@<subject3> --fmri-names='rfMRI_REST1_RL@rfMRI_REST1_LR@rfMRI_REST2_LR@rfMRI_REST2_RL'
--proc-string='_Atlas_MSMAll_hp0_clean' --surf-reg-name='MSMAll' --num-wishart=5 --starting-step='MIGP' --stop-after-step=ConcatGroupSICA --output-fmri-name='rfMRI_REST' --fix-high-pass='0' --out-group-name=GroupAnalysis_n${nSubj} --fmri-resolution='2'
--low-res='32' –subject-expected-timepoints='1912'Please let me know if you encounter any issues.tICAPipeline.sh --study-folder=${StudyFolder} \ --subject-list=<subject1>@<subject2>@<subject3>
\ --fmri-names='rfMRI_REST1_RL@rfMRI_REST1_LR@rfMRI_REST2_LR@rfMRI_REST2_RL'
\ --proc-string='_Atlas_MSMAll_hp2000_clean' \ --surf-reg-name='MSMAll' \ --num-wishart=5 \ --starting-step='MIGP' \ --stop-after-step=ConcatGroupSICA \ --output-fmri-name='rfMRI_REST' \ --fix-high-pass='2000' \ --out-group-name=GroupAnalysis_n${nSubj} \ --fmri-resolution='2' \ --low-res='32' \ --subject-expected-timepoints='1912'
tICAPipeline.sh
--study-folder=${StudyFolder} \
--subject-list=<subject1>@<subject2>@<subject3>
\ --fmri-names='rfMRI_REST1_AP@rfMRI_REST1_PA@rfMRI_REST2_AP@rfMRI_REST2_PA'
\ --mrfix-concat-name='rfMRI_REST'
\
--proc-string='_Atlas_MSMAll_hp0_clean' \ --surf-reg-name='MSMAll' \ --num-wishart=5 \ --starting-step='MIGP' \ --stop-after-step=ConcatGroupSICA \ --output-fmri-name='rfMRI_REST' \ --fix-high-pass='0' \ --out-group-name=GroupAnalysis_n${nSubj} \ --fmri-resolution='2' \ --low-res='32' \ --subject-expected-timepoints='1912'I will note that there is a new data release percolating through the NDA now. That has all of the fMRI data and improved spatial ICA and new temporal ICA denoising. You would definitely want to use that one for any final analyses.
Matt.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/CH2PR02MB6342282FEC6B3C979CF7B49EBCCEA%40CH2PR02MB6342.namprd02.prod.outlook.com.