Skip to content

Longitudinal fmriprep with pre-run Freesurfer #21

Open
@araikes

Description

@araikes

Hi all,
In a previous issue (#993), there was a discussion about using fmriprep for longitudinal studies. The question came down to the reusability of Freesurfer outputs. The suggestion was made by @chrisfilo to run Freesurfer first (preferably the BIDS App Freesurfer) and then let fmriprep pull from that.

I've run Freesurfer's recon all for my participants. When I run fmriprep, should I use the --no-fs-reconall option. When I include the flag, the process crashes out with an error (see attached crash text file). When I do not include the flag, the process runs but it's not clear if the freesurfer output is being incorporated.

My call to fmriprep was:
-wrap "docker run -i --rm \ -v $INDIVDIR:/data:ro \ -v $OUTDIR:/out \ -v /data/BL2/BIDS_derivatives/code/license.txt:/opt/freesurfer/license.txt \ poldracklab/fmriprep \ /data /out \ participant \ --longitudinal \ --low-mem \ --n_cpus 1 \ --output-space template T1w fsaverage \ --work-dir /scratch \ --use-aroma \ --participant_label "sub-$subject" \ --write-graph"

where $OUTDIR already contains a "freesurfer" folder built from my $INDIVDIR. The --no-fs-reconall was included for one participant and excluded for one participant. The one where it was included completed.

Please let me know what other files might be needed to identify if freesurfer is getting incorporated as intended.

crash-20180414-015316-root-autorecon1-f42ca378-4525-48ee-ac26-65982571c354.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    freesurferFreeSurfer related improvements and issuesmultiple imagesMultiple T1w or T2w images (e.g., longitudinal, multisession, etc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions