JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for FSL Archives


FSL Archives

FSL Archives


FSL@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

FSL Home

FSL Home

FSL  October 2017

FSL October 2017

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

constructing structural connectivity matrix

From:

SUBSCRIBE FSL Anonymous <[log in to unmask]>

Reply-To:

FSL - FMRIB's Software Library <[log in to unmask]>

Date:

Mon, 30 Oct 2017 05:17:15 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (91 lines)

Hello. I'm currently attempting to create structural connectivity matrix (adjacency matrix) using FSL.
I'm currently using Bash on Ubuntu on Windows as a platform (terminal) to launch FSL and FreeSurfer program.

I have successfully performed and obtained
1. BET->eddy-correct->dtifit->BEDPOSTX outputs (I'm currently using the latest version of FSL)
2. Desikan-Killiany atlas and Destrieux atlas parcellation (created by freesurfer's command: recon-all)

However, I'm stuck at the step of generating structural connectivity matrix.
I need to combine Desikan-Kiliany or Destrieux parcellated structural brain data of a subject and DTI-fitted data using the command probtrackx, but I still haven't grasped the practical implementation steps on using the command.
As I had so many things to know and consider using 'probtrackx2', I got mixed up about what command options I should use, what order of commands to execute (and any necessary prerequisite steps before executing probtrackx2 command) and of the tons of possible inputs, which ones I should use (and what kind of transformations needed). 
With so many possibilities to consider, I couldn't even dare to attempt using probtrackx2 properly. Any impulsive attempts have failed.

I did tried to follow the steps mentioned in https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FDT/UserGuide.
However, the explanations were not concrete enough with real examples so that I could understand it clear-cut.
I also searched many kinds of relevant sites including the two below.
https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/OutputData_freeview
http://sburns.org/2014/05/03/cortical-tractography-recipe.html
However, none of the sites I've searched had complete explanations with clear-cut examples.
So, the explanations  were vague and abstract to me.
I could find a few people on the internet site with the same kind of errors that I've made, but it didn't critically helped either. 

I'm not still clear about with what data and how I should feed into the seed space or seed mask (single or multiple),
whether I have to include waypoint mask, exclusion mask or termination mask, if so, which one I should use in my case.
I only vaguely know that the surface file? of the FreeSurfer should be converted to binary file using mri_convert or mri_label2vol, and before using the probtrackx command, registration to the DTI space? is needed. I'm also not sure whether I have to use surf_proj before using probtrackx2, and with what FreeSurfer file and how to implement it in the code.
Since I need adjacency matrix, I need to include omatrix1, 2 or 3 in the command but I'm not sure which one to use in my case.
This is all that I can explain to you that I don't clearly know.
Sorry that I couldn't explain it more concretely as my brain is mixed-up trying to do all sorts of things.

I've been stuck and struggling for over a month in this single tiny step. This step shouldn't be a groundbreaking thing for an ordinary neuroscientist analyzing MRI, fMRI or DTI data as thousands of neuroscientists have gone this step.
Here are all of the relevant files for the process (for concreteness).
 
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls
label  mri  scripts  stats  surf  tmp  touch  trash
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls label
BA_exvivo.ctab               lh.BA3b_exvivo.label         lh.BA6_exvivo.thresh.label  lh.aparc.annot                     rh.BA3a_exvivo.thresh.label  rh.BA6_exvivo.label         rh.aparc.a2009s.annot
BA_exvivo.thresh.ctab        lh.BA3b_exvivo.thresh.label  lh.BA_exvivo.annot          lh.cortex.label                    rh.BA3b_exvivo.label         rh.BA6_exvivo.thresh.label  rh.aparc.annot
aparc.annot.DKTatlas.ctab    lh.BA44_exvivo.label         lh.BA_exvivo.thresh.annot   lh.entorhinal_exvivo.label         rh.BA3b_exvivo.thresh.label  rh.BA_exvivo.annot          rh.cortex.label
aparc.annot.a2009s.ctab      lh.BA44_exvivo.thresh.label  lh.MT_exvivo.label          lh.entorhinal_exvivo.thresh.label  rh.BA44_exvivo.label         rh.BA_exvivo.thresh.annot   rh.entorhinal_exvivo.label
aparc.annot.ctab             lh.BA45_exvivo.label         lh.MT_exvivo.thresh.label   lh.perirhinal_exvivo.label         rh.BA44_exvivo.thresh.label  rh.MT_exvivo.label          rh.entorhinal_exvivo.thresh.label
lh.BA1_exvivo.label          lh.BA45_exvivo.thresh.label  lh.V1_exvivo.label          lh.perirhinal_exvivo.thresh.label  rh.BA45_exvivo.label         rh.MT_exvivo.thresh.label   rh.perirhinal_exvivo.label
lh.BA1_exvivo.thresh.label   lh.BA4a_exvivo.label         lh.V1_exvivo.thresh.label   rh.BA1_exvivo.label                rh.BA45_exvivo.thresh.label  rh.V1_exvivo.label          rh.perirhinal_exvivo.thresh.label
lh.BA2_exvivo.label          lh.BA4a_exvivo.thresh.label  lh.V2_exvivo.label          rh.BA1_exvivo.thresh.label         rh.BA4a_exvivo.label         rh.V1_exvivo.thresh.label
lh.BA2_exvivo.thresh.label   lh.BA4p_exvivo.label         lh.V2_exvivo.thresh.label   rh.BA2_exvivo.label                rh.BA4a_exvivo.thresh.label  rh.V2_exvivo.label
lh.BA3a_exvivo.label         lh.BA4p_exvivo.thresh.label  lh.aparc.DKTatlas.annot     rh.BA2_exvivo.thresh.label         rh.BA4p_exvivo.label         rh.V2_exvivo.thresh.label
lh.BA3a_exvivo.thresh.label  lh.BA6_exvivo.label          lh.aparc.a2009s.annot       rh.BA3a_exvivo.label               rh.BA4p_exvivo.thresh.label  rh.aparc.DKTatlas.annot
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls mri
T1.mgz                      aparc.a2009s+aseg.mgz                    aseg.mgz                brainmask.auto.mgz     junk                        nu.mgz       rawavg.mgz             talairach.label_intensities.txt  wm.mgz
aparc+aseg.mgz              aparc.a2009s+aseg.nii.gz                 aseg.presurf.hypos.mgz  brainmask.mgz          lh.ribbon.mgz               orig         rh.ribbon.mgz          talairach.log                    wm.seg.mgz
aparc+aseg.nii.gz           aseg.auto.mgz                            aseg.presurf.mgz        ctrl_pts.mgz           mri_nu_correct.mni.log      orig.mgz     ribbon.mgz             talairach_with_skull.log         wmparc.mgz
aparc.DKTatlas+aseg.mgz     aseg.auto_noCCseg.label_intensities.txt  brain.finalsurfs.mgz    filled.mgz             mri_nu_correct.mni.log.bak  orig.nii.gz  segment.dat            transforms
aparc.DKTatlas+aseg.nii.gz  aseg.auto_noCCseg.mgz                    brain.mgz               freesurfer2struct.mat  norm.mgz                    orig_nu.mgz  struct2freesurfer.mat  wm.asegedit.mgz
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls scripts
build-stamp.txt  lastcall.build-stamp.txt  patchdir.txt  pctsurfcon.log  pctsurfcon.log.old  ponscc.cut.log  recon-all-status.log  recon-all.cmd  recon-all.done  recon-all.env  recon-all.local-copy  recon-all.log
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls stats
aseg.stats          lh.BA_exvivo.thresh.stats  lh.aparc.a2009s.stats  lh.aparc.stats  lh.w-g.pct.stats    rh.BA_exvivo.thresh.stats  rh.aparc.a2009s.stats  rh.aparc.stats  rh.w-g.pct.stats
lh.BA_exvivo.stats  lh.aparc.DKTatlas.stats    lh.aparc.pial.stats    lh.curv.stats   rh.BA_exvivo.stats  rh.aparc.DKTatlas.stats    rh.aparc.pial.stats    rh.curv.stats   wmparc.stats
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls surf
error.log     lh.defect_borders  lh.jacobian_white   lh.smoothwm.C.crv   lh.smoothwm.nofix  lh.white             rh.area.mid        rh.defect_labels   rh.orig.nofix       rh.smoothwm.H.crv   rh.sphere.reg   rh.white.K
lh.area       lh.defect_chull    lh.orig             lh.smoothwm.FI.crv  lh.sphere          lh.white.H           rh.area.pial       rh.inflated        rh.pial             rh.smoothwm.K.crv   rh.sulc         rh.white.preaparc
lh.area.mid   lh.defect_labels   lh.orig.nofix       lh.smoothwm.H.crv   lh.sphere.reg      lh.white.K           rh.avg_curv        rh.inflated.H      rh.qsphere.nofix    rh.smoothwm.K1.crv  rh.thickness    rh.white.preaparc.H
lh.area.pial  lh.inflated        lh.pial             lh.smoothwm.K.crv   lh.sulc            lh.white.preaparc    rh.curv            rh.inflated.K      rh.smoothwm         rh.smoothwm.K2.crv  rh.volume       rh.white.preaparc.K
lh.avg_curv   lh.inflated.H      lh.qsphere.nofix    lh.smoothwm.K1.crv  lh.thickness       lh.white.preaparc.H  rh.curv.pial       rh.inflated.nofix  rh.smoothwm.BE.crv  rh.smoothwm.S.crv   rh.w-g.pct.mgh
lh.curv       lh.inflated.K      lh.smoothwm         lh.smoothwm.K2.crv  lh.volume          lh.white.preaparc.K  rh.defect_borders  rh.jacobian_white  rh.smoothwm.C.crv   rh.smoothwm.nofix   rh.white
lh.curv.pial  lh.inflated.nofix  lh.smoothwm.BE.crv  lh.smoothwm.S.crv   lh.w-g.pct.mgh     rh.area              rh.defect_chull    rh.orig            rh.smoothwm.FI.crv  rh.sphere           rh.white.H
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls tmp
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls touch
aparc.DKTatlas2aseg.touch  fill.touch            lh.final_surfaces.touch  lh.sphmorph.touch       rh.aparc2.touch          rh.jacobian_white.touch  rh.topofix.touch                  rusage.mris_inflate.rh.dat   wmaparc.touch
aparc.a2009s2aseg.touch    inorm1.touch          lh.inflate.H.K.touch     lh.sphreg.touch         rh.aparcstats.touch      rh.pctsurfcon.touch      rh.white.H.K.touch                rusage.mris_register.lh.dat  wmsegment.touch
apas2aseg.touch            inorm2.touch          lh.inflate1.touch        lh.surfvolume.touch     rh.aparcstats2.touch     rh.pial_surface.touch    rh.white_surface.touch            rusage.mris_register.rh.dat
asegmerge.touch            lh.aparc.touch        lh.inflate2.touch        lh.tessellate.touch     rh.aparcstats3.touch     rh.qsphere.touch         rusage.mri_ca_register.dat        rusage.mris_sphere.lh.dat
ca_label.touch             lh.aparc2.touch       lh.jacobian_white.touch  lh.topofix.touch        rh.avgcurv.touch         rh.smoothwm1.touch       rusage.mri_em_register.dat        rusage.mris_sphere.rh.dat
ca_normalize.touch         lh.aparcstats.touch   lh.pctsurfcon.touch      lh.white.H.K.touch      rh.curvstats.touch       rh.smoothwm2.touch       rusage.mri_em_register.skull.dat  segstats.touch
ca_register.touch          lh.aparcstats2.touch  lh.pial_surface.touch    lh.white_surface.touch  rh.final_surfaces.touch  rh.sphmorph.touch        rusage.mri_watershed.dat          skull.lta.touch
conform.touch              lh.aparcstats3.touch  lh.qsphere.touch         nu.touch                rh.inflate.H.K.touch     rh.sphreg.touch          rusage.mris_fix_topology.lh.dat   skull_strip.touch
cortical_ribbon.touch      lh.avgcurv.touch      lh.smoothwm1.touch       relabelhypos.touch      rh.inflate1.touch        rh.surfvolume.touch      rusage.mris_fix_topology.rh.dat   talairach.touch
em_register.touch          lh.curvstats.touch    lh.smoothwm2.touch       rh.aparc.touch          rh.inflate2.touch        rh.tessellate.touch      rusage.mris_inflate.lh.dat        wmaparc.stats.touch
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls trash
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls ../../s3097367/ace/data/NDARupload/NDAR_upload_SN/ndar_DTI51_data/s3097367/
20110217_211141ACEAXIAL723097s011a1001.bval    DTI_FA.nii.gz  DTI_L3.nii.gz  DTI_S0.nii.gz  DTI_V3.nii.gz  b0_brain.nii.gz       bvecs          data.nii.gz
20110217_211141ACEAXIAL723097s011a1001.bvec    DTI_L1.nii.gz  DTI_MD.nii.gz  DTI_V1.nii.gz  MRDC           b0_brain_mask.nii.gz  data           data_eddy.ecclog
20110217_211141ACEAXIAL723097s011a1001.nii.gz  DTI_L2.nii.gz  DTI_MO.nii.gz  DTI_V2.nii.gz  b0.nii.gz      bvals                 data.bedpostX  data_eddy.nii.gz
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls ../../s3097367/ace/data/NDARupload/NDAR_upload_SN/ndar_DTI51_data/s3097367/data
bedpostcom_log.tcl  bvals  bvecs  data.nii.gz  nodif_brain_mask.nii.gz
eternal@DESKTOP-UNTM4IS:~/c9image/NDARAF706DLN/s3078815/seg3078815$ ls ../../s3097367/ace/data/NDARupload/NDAR_upload_SN/ndar_DTI51_data/s3097367/data.bedpostX/
bvals          dyads1_dispersion.nii.gz  dyads2_thr0.05_modf2.nii.gz  mean_dsamples.nii.gz     mean_ph1samples.nii.gz  merged_f1samples.nii.gz   merged_th1samples.nii.gz  xfms
bvecs          dyads2.nii.gz             logs                         mean_f1samples.nii.gz    mean_ph2samples.nii.gz  merged_f2samples.nii.gz   merged_th2samples.nii.gz
commands.txt   dyads2_dispersion.nii.gz  mean_S0samples.nii.gz        mean_f2samples.nii.gz    mean_th1samples.nii.gz  merged_ph1samples.nii.gz  monitor
dyads1.nii.gz  dyads2_thr0.05.nii.gz     mean_d_stdsamples.nii.gz     mean_fsumsamples.nii.gz  mean_th2samples.nii.gz  merged_ph2samples.nii.gz  nodif_brain_mask.nii.gz
 
Since I'm desperate, any help would be very appreciating :)

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

May 2024
April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager