AFNIGUI: A simple interface for configuring AFNI commands

 

Latest updates

Click here for latest updates

What is it?

afnigui is a simple graphical interface for configuring AFNI commands and setting up batch scripts and logging operations. It runs under Linux and SPARC Solaris systems, though it has been mainly used and debugged under Linux. At present, afnigui provides interfaces for the AFNI commands that I, or my colleagues, most commonly use. Likewise, not all command options are catered for – I have included those that we use most commonly in our lab.

 

Here are some screenshots:

 

Converting images to AFNI format using to3d

Motion correction using 3dvolreg

Performing GLM with 3dDeconvolve

 

Valid reasons why you might want to use afnigui:

 

Invalid reasons why you might want to use afnigui:

 

How do I get it and install it?

Simple. All you need to do is download one of the following files to your Unix system and decompress it using tar -xzf <filename>. Please be aware that I am providing this tool in case it might be useful to you. I make no guarantees as to its reliability or performance. Please check all the commands that afnigui creates, to make sure that the correct options are included.

 

Afnigui for Linux

Afnigui for SPARC Solaris

 

How do I use it?

Afnigui is fairly intuitive to use if you know how to use AFNI commands. The help menu for each command will call the AFNI help and display it for you. For the time being, that’s all the documentation there is, so you’re on your own. The basic idea is to fill in the various options for a command and then click on the view command button. After inspecting the generated command to make sure all the options are correct, you can then click on run command or add to batch. Please read the following notes about use:

 

Remember that this is an alpha release – there will probably be many bugs. I cannot guarantee to be able to fix them, but I will do my best if you email details to me. Even better – email me about getting the source code (see below), and that way you can fix any bugs yourself, and potentially add features that you would find useful

How did you program afnigui?

Afnigui was scripted using Runtime Revolution, a cross-platform graphical scripting environment based on Hypercard (that was available on Apple Macs). Revolution is a very quick and easy way to create simple user interfaces and set up batch scripts. Its scripting language is very close to English. Full development versions of Revolution are not free. However, student versions are cheap, and the starter version is free. The starter version has only one limitation – programming scripts cannot exceed 10 lines of code per object. This seems like quite a limitation, but it is easy to make code modular and distribute it across objects. Afnigui was completely created using the free Revolution starter kit. If you are interested in adding to afnigui, please email me and we can try to coordinate our efforts.