-
Notifications
You must be signed in to change notification settings - Fork 83
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
Issues when converting T1 MRI of the ADNI database. #1299
Comments
Hi ! Thanks for reporting. I need a few more details to answer you properly :
Assuming you are using Clinica v0.8.4 :
Did you find an example of subject that should have T1 in your raw data that does not have a folder in your BIDS ? Best, |
Hi, thanks for your reply. My clinica version is 0.8.4. I load the T1 MRI subject from ADNI1, 2, 3 and Go with the description of MPRAGE. As given from the official guideline, I tick all original, pre- and post-processed buttons in the image type. The subjects are attached. For your last question, I found it does exist, for example, I have 002_S_0295 in my raw data folder, however, I can not found any sub-ADNI002S0295 folders in the converted results. By the way, is the .tsv file the exacted tabular data of the sample? I find the column names are not aligned with the adni tabular data. |
Hi ! Thanks for the precisions, they were very helpful. What is happening is that the converter is selecting images ids based on the information it has in the clinical data (the csv) following a specific protocol. This protocol is described in our documentation here but basically it searches for the best possible image inside clinical data. If the image it finds was not actually downloaded then it won't be able to convert anything. My guess is that maybe you did not download all the data (I understand the ADNI download site is a bit tricky !!), and you should make sure to download all types of images : I tested it with subject 002_S_0295 with base screening and it seems to work. Let me know if you encounter other issues ! For the tabular data we are following BIDS specifications so the format is a bit different from raw ADNI clinical data. Best, |
No worries, feel free to ask ! I cannot seem to reproduce this situation. Could you try to run the same command line with a You can send me the logs you get when doing this so we can may be pinpoint the problem better. |
Thanks for your reply. I have relauch the converting process with the .txt file as you suggeted. The same issue happens again. The attahced files are the subject lists and the logs which is printed during the converting process. |
Thanks for the files ! From what I can see :
So there is no associated file for these specific subject/session. For these cases this behavior is expected, but I don't think that is all it is about. Do you mind doing the following ? Relaunch the conversion with the following parameters :
Send me :
Best, |
Hi, I have run the command. This time the convertting reports an error. The attached files are the logs, t1_paths.tsv(I send the screenshot since github do not allow the upload of tsv file) and the result folder |
Thanks ! Clearly the converter cannot find the path to your raw images ; else in the .tsv you would have the actual path for the image in the column to the right end of the table. Could you show me how the raw data in this folder is organized ? I used the same settings as you for the image search so I guess it is not that the issue. |
I downloaded this subject file with the same parameters you indicated before and I got this : The image selected by clinica is in the |
BTW, I guess the participants.tsv lists the tabular data of the converted samples from raw .csv files. But I find it only have around 20 columns. Using the R-based integration method mentioned by ADNI website, we can get a overall tabular data which has more than 100 columns. How to understand the participant.tsv file? The adnimerge file is attached |
Well I would say it depends on what you are aiming for : all the visits, only the first... what do you need ? I had no issue getting folders with the same parameters you described before (ADNI1 only, T1 only, baseline screening only). If the subject has data from ADNI1 then you will get it by checking the case, I don't think you specifically need to add other phases. The problem maybe lies in the way the files are downloaded after. You need to add all images to the collection : Then once again get all images when downloading the collection : For the |
Actually, I have selected all in the two shown screeplots. But as I have said, when I only choose the ADNI1 phase, I will only get around 10 subfolders of the 002_S_0413 sample and therefore the convertting failed. It seems that the converting process relies on some data which are available when selecting other phases. Thus, when I select no specific phases and only kick the ''ADNI'' button, I will get as many as 34 subfolders for this subject, and the coverting succeed. I just wonder whether it is the right way? |
To be fair I am a bit confused ; for 002_S_0413 specifically I get hundreds of folders id I do not restrict the ADNI phase and get only T1. Even when I want the T1 for ADNI screening on phase 1 I get 23 folders. I would say the issue does not lie with our converter but maybe the ADNI website. For now I can only suggest clearing your cache for instance |
Hi, sorry to interrupt again, I have tried again. This time I want to convert 941_S_7106 and 941_S_7087. And according to you previous reply, this time, I get 2 subfolders of each sample, Field_Mapping and Accelerated_Sagittal_MPRAGE (Same for the two samples). However, the converter can not achieve any outcomes, lead to a empty output dir. |
Hi ! What do your logs tell you ? For subject 941_S_7106 for example it's due to missing clinical data so the subject will not be converted anyway, I described this earlier in the conversation. To integrate more tabular features you could try using the --xml option from clinica, which is describe in the documentation in this section. |
output.txt |
In the version of clinica you are using (0.8.4) at the beginning, the converter parses all subjects from clinical data for image paths regardless if they are in your raw directory or not. It produces a lot of noise about subjects you are not even interested in. This was fixed in the latest release (0.9.1) if you want to update. This will not solve the issue but you should get better insight about what is going on ! Yes, that is exactly it ! |
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the |
Description


Hi, recently I am trying to preprocess the T1 MRI and tabular data from the ADNI database. I download the raw data and install clinica as the official guideline. However, when I converted, only some samples can be converted. The converted folders' number is far less than the collected image folders.
The commands in the terminal indicates some paths can not be found. How to handle this problem. Appreciate it a lot for your solid neuroimaging works.
Pipeline
Which Clinica's Pipeline is concerned?
...
Converters
The text was updated successfully, but these errors were encountered: