Difference between revisions of "Analysis with Nipype"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
===Nipype configuration for Biowulf=== |
===Nipype configuration for Biowulf=== |
||
pull pyctf <br> |
pull pyctf <br> |
||
module load fftw..... # |
module load fftw/3.3.8/openmpi-4.0.0/gcc-7.3.0 ## it is possible to use another version - do 'module spider fftw' |
||
cd $PYCTF_DIR #Folde will have the Makefile |
|||
make clean |
|||
make |
|||
make install |
|||
make usersite (will add a link so package is seen in conda) |
|||
pull SAMsrcV5 <br> |
pull SAMsrcV5 <br> |
||
For installation instructions read the INSTALL text file - somewhat summarized below |
|||
cd $SAMSRCV5_DIR |
|||
make |
|||
cd config |
|||
make symlinks |
|||
pull megblocks <br> |
pull megblocks <br> |
||
install miniconda (or Anaconda) <br> |
install miniconda (or Anaconda) <br> |
||
https://hpc.nih.gov/apps/python.html#envs << Go to the Creating Python Environments Section to configure |
|||
*Add environment information to miniconda ##Need to provide environment.yml |
*Add environment information to miniconda ##Need to provide environment.yml |
||
*Add pyctf, SAMsrc, and megblocks to the miniconda environment ## TODO < provide a way to do this. Add the paths to miniconda/env......pth file |
*Add pyctf, SAMsrc, and megblocks to the miniconda environment ## TODO < provide a way to do this. Add the paths to miniconda/env......pth file |
||
Revision as of 14:52, 24 January 2020
UNDER CONSTRUCTION
Nipype is a pipeline configuration tool that controls analysis flow and easily reconfigures for added functionality.
Nipye controls the flow of data and automatically determines dependencies to create filenames and folders
Nipype Resources
https://nipype.readthedocs.io/en/latest/
https://miykael.github.io/nipype_tutorial/
Nipype configuration for Biowulf
pull pyctf
module load fftw/3.3.8/openmpi-4.0.0/gcc-7.3.0 ## it is possible to use another version - do 'module spider fftw' cd $PYCTF_DIR #Folde will have the Makefile make clean make make install make usersite (will add a link so package is seen in conda)
pull SAMsrcV5
For installation instructions read the INSTALL text file - somewhat summarized below cd $SAMSRCV5_DIR make cd config make symlinks
pull megblocks
install miniconda (or Anaconda)
https://hpc.nih.gov/apps/python.html#envs << Go to the Creating Python Environments Section to configure *Add environment information to miniconda ##Need to provide environment.yml
- Add pyctf, SAMsrc, and megblocks to the miniconda environment ## TODO < provide a way to do this. Add the paths to miniconda/env......pth file
Nipype has strict requirements on inputs and outputs
- InputSpec
- OutputSpec
Preconfigured pipeline templates:
- Epilepsy
- Sam_epi
- Task
- Parsemarks, addmarks, samcov, sam3d, ... stats?
- Resting State
SAM input base class used for all of the SAM functions
Configuration on Biowulf:
- Set up conda: instructions on NIH HPC - https://hpc.nih.gov/apps/python.html
- Activate the conda environment and install nipype
#If you do not know your environment name type: conda env list conda activate $ENVIRONMENT_NAME conda install -c nipype conda-forge