Thanks Matt That worked. - Cibu -----Original Message----- From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Matt Glasser Sent: Wednesday, December 17, 2008 4:57 PM To: [log in to unmask] Subject: Re: [FSL] bvecs and bvals are incompatible They need to be ordered horizontally, not vertically. You can easily change this using excel's transpose function (located under paste special). Peace, Matt. -----Original Message----- From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On Behalf Of Cibu Thomas Sent: Wednesday, December 17, 2008 3:37 PM To: [log in to unmask] Subject: [FSL] bvecs and bvals are incompatible Hello all I ran the bedpostx_datacheck command with the required input files within the folder, with filenames as mentioned in the FSL website, and got the following error message. The bval and bvec files are attached. data_type INT16 dim1 128 dim2 128 dim3 64 dim4 1 datatype 4 pixdim1 2.0000000000 pixdim2 2.0000000000 pixdim3 2.0000009537 pixdim4 1.0000000000 cal_max 0.0000 cal_min 0.0000 file_type NIFTI-1+ num lines in /autofs/space/barlab_001/users/cibu/FSL/DTIdata/0422_Dep_DTI/dti/004/bvals 70 num words in /autofs/space/barlab_001/users/cibu/FSL/DTIdata/0422_Dep_DTI/dti/004/bvals 70 num lines in /autofs/space/barlab_001/users/cibu/FSL/DTIdata/0422_Dep_DTI/dti/004/bvecs 70 num words in /autofs/space/barlab_001/users/cibu/FSL/DTIdata/0422_Dep_DTI/dti/004/bvecs 210 bvecs and bvals are incompatible number of elements per line in bvecs is not equal to number of vols in data Do I need to reformat one of the bval or bvec files? Many thanks in advance Cibu