Skip to content

Please offer the customized .txt file and clean.py etc, and check the reproducibility of all code on data preparing, thank you. #2

@ShoujunYu

Description

@ShoujunYu
Image Image

Main Issues:

  1. Missing txt file

    labelconvert "${parcellation}" ./txt_files/FreeSurferColorLUT.txt ./txt_files/fs_${parc}.txt "${parcellation_converted}" 2>&1 | tee -a "${log_file}"

  2. Registration error

    mrregister "${dwi_meanbzero_brain}" "${T1_brain_nii}" \

  3. Missing .py file

    python3 ./clean_log.py "${log_file}"

  4. Please clearly describe the source of each file. For example, in the HCP directory there are two versions of aparc.a2009s+aseg.nii.gz and aparc+aseg.nii.gz: one under the T1w folder and another under the MNINonLinear folder.

Other:
Based on my understanding and the code logic you provided, I made some modifications to parts of /data/tractography.sh.

transform_T1_to_DWI="${dmri_dir}/struct2diff_mrtrix.txt"

mrregister "${T1_brain}" "${dwi_meanbzero}" \
          -type rigid \
          -rigid "${transform_T1_to_DWI}" \
          -transformed "${dmri_dir}/T1_brain_dwi_from_mrregister.mif" \
          -mask2 "${dwi_meanbzero_brain_mask}" \
          -rigid_init_translation geometric \
          ${threading} -info 2>&1 | tee -a "${log_file}"

mrtransform "${seg_5tt_T1}" "${seg_5tt}" \
          -linear "${transform_T1_to_DWI}" \
          -template "${dwi_meanbzero}" -interp nearest \
          ${threading} -info 2>&1 | tee -a "${log_file}"

mrtransform "${T1_brain}" "${T1_brain_dwi}" \
          -linear "${transform_T1_to_DWI}" \
          -template "${dwi_meanbzero}" -interp linear \
          ${threading} -info 2>&1 | tee -a "${log_file}"

mrtransform "${gmwm_seed_T1}" "${gmwm_seed}" \
          -linear "${transform_T1_to_DWI}" \
          -template "${dwi_meanbzero}" -interp nearest \
          ${threading} -info 2>&1 | tee -a "${log_file}"

At present, the connectome generated with aparc+aseg looks fine, but the connectome matrix generated with aparc.a2009s+aseg appears to have the following issue. Could you please let me know how to resolve it? The connectome figure is attached.

Thank you again, looking forward to your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions