Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistently getting wrong registration in the same dataset #3286

Open
lalalavi opened this issue May 13, 2024 · 0 comments
Open

Consistently getting wrong registration in the same dataset #3286

lalalavi opened this issue May 13, 2024 · 0 comments
Labels

Comments

@lalalavi
Copy link

What happened?

Hello!

I am writing a test for HALFpipe that runs the same kind of preprocessing for participants coming from different datasets, and the registration is consistently wrong (although the process succeeds without any errors) for one of the datasets. The dataset in question is the ADHD200 dataset (available at https://datasets.datalad.org/adhd200/RawDataBIDS/NeuroIMAGE/ ). This dataset was collected with a 1.5T scanner, but I don't think that is the problem, since I managed to preprocess data from another a 1.5T dataset without issues.

I tried to run different subjects from the ADHD200 dataset, and I also tried doing fslreorient2std before starting preprocessing in fmriprep, but this did nothing to the results. All of the subjects show a weird EPI to structural registration. As an example, these is how the results for sub-3190461 look like:

sub-3190461_ses-1_task-rest_run-1_reg

sub-3190461_ses-1_task-rest_run-1_bold_rois

We re-ran the registrations with FSL BBR on the same subject and it worked fine.

BBR in FSL

Do you have a hunch on what might be going wrong or what would be useful to try? The script works fine for the other datasets.

What command did you use?

singularity exec --cleanenv --contain --fakeroot \
    --overlay /home/${USER}/overlay.img \
    --bind "${src_directory}":/halfpipe \
    --bind "${output_directory}":/tmp/pytest-of-root \
    halfpipe-latest.sif bash -c ' \
        pytest -tests/workflows/test_consistency.py --full-trace'


I also tried to run it through a bind to a HALFpipe docker image with the same pytest command.

https://github.com/HALFpipe/HALFpipe/blob/cd877a5141410d6696d040979a172fb2c5a0e5a8/tests/workflows/test_consistency.py

What version of fMRIPrep are you running?

20.2.7

How are you running fMRIPrep?

Singularity

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

No response

Additional information / screenshots

No response

@lalalavi lalalavi added the bug label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant