Difference between revisions of "NiftyPipe"

From CMIC
Jump to: navigation, search
Line 24: Line 24:
 
<h1>Using NiftyPipe on the DRC network</h1>
 
<h1>Using NiftyPipe on the DRC network</h1>
 
The nipype enabled python version can be find here: <code>/var/drc/software/64bit/nipype</code>
 
The nipype enabled python version can be find here: <code>/var/drc/software/64bit/nipype</code>
We recommend to add the following lines to your <code>~/.bash_profile</code> file.
+
Add the following lines to your <code>~/.bash_profile</code> file towards the end.
 
<pre>
 
<pre>
 
export PATH=/var/drc/software/64bit/nipype/bin:${PATH}
 
export PATH=/var/drc/software/64bit/nipype/bin:${PATH}
export LD_LIBRARY_PATH=/var/drc/software/64bit/nipype/bin:${LD_LIBRARY_PATH}
+
export PATH=/var/drc/software/64bit/niftymidas-nightly/bin:${PATH}
 +
export PYTHONPATH=/var/drc/software/64bit/niftymidas-nightly/python:${PYTHONPATH}
 
</pre>
 
</pre>
  
 +
This will ensure that you use the latest and correct version of the different scripts and software (niftireg/niftyseg/etc) necessary for the pipelines. Note that you need extra software if you are using the dti groupwise/tbss/regional-analysis as it needs dti-tk which is not installed in the DRC network by default.
  
''Kirsi, for the time being, I installed the latest NiftyPipe version in <code>/var/drc/scratch1/modat/Code/NiftyPipe_install</code> and you should set the <code>PYTHONPATH</code> variable to <code>/var/drc/scratch1/modat/Code/NiftyPipe_install/python</code> by using:''
+
The pipelines are now in your PATH so you will be able to call them directly, e.g:  
 
<pre>
 
<pre>
export PYTHONPATH=/var/drc/scratch1/modat/Code/NiftyPipe_install/python:${PYTHONPATH}
+
perform_dti_processing.py -i DWI -a bval -e bvec -t T1 -m mag -p phase -o output_dir
export PATH=/var/drc/scratch1/modat/Code/NiftyPipe_install/python:${PATH}
+
 
</pre>
 
</pre>
 +
 +
Please refer to [[]] for documentation of the different pipelines.

Revision as of 15:59, 28 August 2015

Description of NiftyPipe

NiftyPipe is installed as part of NifTK (or NiftyMIDAS) and requires to have python set to use nipype. You can find more information about the nipype package on this page


Using NiftyPipe on the Computer Science cluster

The nipype enabled python version can be find here: /share/apps/cmic/nipype We recommend to add the following lines to your ~/.bashrc file.

export PATH=/share/apps/cmic/nipype/bin:${PATH}
export LD_LIBRARY_PATH=/share/apps/cmic/nipype/bin:${LD_LIBRARY_PATH}


Kirsi, for the time being, I installed the latest NiftyPipe version in /share/apps/cmic/niftypipe and you should set the PYTHONPATH variable to /share/apps/cmic/niftypipe/python by using:

export PYTHONPATH=/share/apps/cmic/niftypipe/python:${PYTHONPATH}
export PATH=/share/apps/cmic/niftypipe/python:${PATH}


Using NiftyPipe on the DRC network

The nipype enabled python version can be find here: /var/drc/software/64bit/nipype Add the following lines to your ~/.bash_profile file towards the end.

export PATH=/var/drc/software/64bit/nipype/bin:${PATH}
export PATH=/var/drc/software/64bit/niftymidas-nightly/bin:${PATH}
export PYTHONPATH=/var/drc/software/64bit/niftymidas-nightly/python:${PYTHONPATH}

This will ensure that you use the latest and correct version of the different scripts and software (niftireg/niftyseg/etc) necessary for the pipelines. Note that you need extra software if you are using the dti groupwise/tbss/regional-analysis as it needs dti-tk which is not installed in the DRC network by default.

The pipelines are now in your PATH so you will be able to call them directly, e.g:

perform_dti_processing.py -i DWI -a bval -e bvec -t T1 -m mag -p phase -o output_dir

Please refer to [[]] for documentation of the different pipelines.