Hi,
I’m totally new to this program. When I execute a command like:
$ 3dSkullStrip -input sub-08_T1w.nii.gz
I receive an error saying glob error like bellow,
** glob error: Invalid argument
** You may need to ‘setenv AFNI_SHELL_GLOB YES’
**
** In particular, if you are trying to access an NFS (network file
** system) mounted drive, you might be running into the situation
** where the NFS ‘cookie’ length on the remote system does not
** match the cookie length on your local system – this is the only
** situation in which we have ever seen this error. In that case,
** you can either set the environment variable as described above,
** or fix the cookie length mismatch by changing the way the NFS
** drive is exported.
**-------------------------------------------------------------------
** The following information from Graham Wideman of UCSD might also
** be helpful if you are reading this ‘glob error’ message:
**
** I’ve changed the NFS export settings on our Mac OS X 10.5 server
** to include the ‘-32bitclients’ option, and can confirm that
** this does cause AFNI to be able to see files that it could not
** see without this option. So this appears to be the more general
** way to fix the problem.
**
** For others in the same boat who may stumble on this message:
** It’s not at all obvious how to actually set this option,
** as OS X 10.5’s Server Admin NFS settings panels don’t have
** any way to do it.
**
** The short story is:
** You have to edit the /etc/exports file, as per usual in Unix,
** but decidedly not in line with all other SharePoint related
** settings in 10.5. But first, in order to have the edits not
** conflict with Server Admin management of those settings, you
** have to uncheck Server Admin’s ‘NFS Enabled’ checkbox for the
** relevant shares. Then, when editing the exports file, move
** the relevant lines outside the ‘Server Admin managed’ brackets,
** and add your options. In general, such options have to go in
** the middle section of a line; for example, after the path.
** Example:
**
** /Somedir -32bitclients -maproot=nobody -sec=sys -network 123.1.2.3 -mask 255.255.255.0
The intensity in the output dataset is a modified version
of the intensity in the input volume.
To obtain a masked version of the input with identical values inside
the brain, you can either use 3dSkullStrip’s -orig_vol option
or run the following command:
3dcalc -a sub-08_T1w.nii.gz -b ./skull_strip_out+orig -expr ‘a*step(b)’
-prefix ./skull_strip_out_orig_vol
to generate a new masked version of the input.
What should I do to complete skull-stripping?
My system is Ubuntu18.04 on WSL2.
I will be grateful for any help you can provide.