Analysis AWS: Difference between revisions

From MEG Core
Jump to navigation Jump to search
Content added Content deleted
Line 26: Line 26:


== Installed software ==
== Installed software ==
Human Neocortical Neurosolver <br>
'''Human Neocortical Neurosolver ''' <br>
HNN website: https://hnn.brown.edu/
HNN website: https://hnn.brown.edu/
conda deactivate
conda deactivate
hnn
hnn


MNE python, Eelbrain, PyCTF <br>
'''MNE python, Eelbrain, PyCTF''' <br>
MNE website: https://mne.tools/stable/index.html <br>
MNE website: https://mne.tools/stable/index.html <br>
Eelbrain website: https://eelbrain.readthedocs.io/en/stable/ <br>
Eelbrain website: https://eelbrain.readthedocs.io/en/stable/ <br>
Line 37: Line 37:
conda activate workshop (This environment has MNE, Eelbrain, and PyCtf installed)
conda activate workshop (This environment has MNE, Eelbrain, and PyCtf installed)


CTF software
'''CTF software'''
singularity shell /opt/ctf/ctf.img
singularity shell /opt/ctf/ctf.img
$ctf_command
$ctf_command
Line 43: Line 43:
singularity exec /opt/ctf/ctf.img $ctf_command
singularity exec /opt/ctf/ctf.img $ctf_command


SAM version 5
'''SAM version 5'''
sam_cov ...
sam_cov ...
sam_3d ...
sam_3d ...


Afni
'''Afni'''
afni -dset $MRI_file
afni -dset $MRI_file



Revision as of 14:48, 1 November 2019

For Workshop members without access to computing resources - Preconfigured Amazon Web Services servers can be used

Accessing compute resources on AWS:

Speak with Jeff Stout to get the current IP address and PEM key
${PATH} is the path to the PEM key provided to you

 ssh -X -i ${PATH}/AWS.pem ubuntu@IP_ADDRESS_PROVIDED
    • FOR WINDOWS LAPTOPS TO WORK - YOU MUST DOWNLOAD AN Xterm software

MobaXterm has been tested to work: https://mobaxterm.mobatek.net/download.html

Jupyter Notebook Over a Remote Connection

1) Run one terminal to start the notebook and forward the outputs to local web browser:

 ssh -i AWS.pem -L 8887:localhost:8887  ubuntu@IP_ADDRESS
 conda activate workshop  
 jupyter notebook --no-browser --port=8887

2) Copy the output of the jupyter notebook command (see example below) and enter into your laptop web browser (Firefox, Chrome, etc.). Do not click on the link - it will try to launch on the AWS computer

 

3) Use the jupyter notebook to analyze MEG data with python tools

 


Installed software

Human Neocortical Neurosolver
HNN website: https://hnn.brown.edu/

 conda deactivate
 hnn

MNE python, Eelbrain, PyCTF
MNE website: https://mne.tools/stable/index.html
Eelbrain website: https://eelbrain.readthedocs.io/en/stable/
PyCTF website: https://megcore.nih.gov/index.php/MEG_Software_and_Analysis#MEG_Core_pyctf_tools_ported_to_Python_3

 conda activate workshop  (This environment has MNE, Eelbrain, and PyCtf installed)

CTF software

 singularity shell /opt/ctf/ctf.img
 $ctf_command
 singularity exec /opt/ctf/ctf.img $ctf_command

SAM version 5

 sam_cov ...
 sam_3d ...

Afni

 afni -dset $MRI_file

Done

SAM v5 singularity ? >> CTF Afni Jupyter HNN


TODO

Freesurfer Reinstall MNE python Pyctf FSL Brainstorm Fieldtrip Spyder