ENIGMA MEG data upload: Difference between revisions
(Add FAQ link) |
|||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Converting Data to BIDS= |
|||
⚫ | |||
# Fieldtrip |
|||
## data2bids.m |
|||
# Brainstorm |
|||
## https://neuroimage.usc.edu/brainstorm/ExportBids |
|||
## Add fiducials to MRI json: https://github.com/jstout211/meg_fiducials_extract |
|||
# SPM |
|||
## SPM currently does not export to BIDS - use the following scripts to make the bids files |
|||
## https://github.com/jstout211/meg_fiducials_extract |
|||
# Biscuit |
|||
## GUI driven BIDS conversion for KIT and Elekta data |
|||
## https://macquarie-meg-research.github.io/Biscuit/ |
|||
=Steps prior to data upload= |
|||
⚫ | An endpoint per lab will be created on NIH storage and given access credentials via email. Only users within your lab and the NIH MEG Core will be able to view and write data in the |
||
(if data is already anonymized+bids format skip this section) <br> |
|||
#Anonymize MEG data |
|||
#Anonymize and deface MRI (options below) |
|||
## Freesurfer: mri_deface : https://surfer.nmr.mgh.harvard.edu/fswiki/mri_deface |
|||
## Pydeface: pydeface : https://github.com/poldracklab/pydeface |
|||
## SPM: spm_deface : https://www.fil.ion.ucl.ac.uk/spm/software/spm12/ |
|||
## Brainstorm : MRI (right click) > Deface Volume : https://neuroimage.usc.edu/brainstorm/Introduction |
|||
## Fieldtrip: ft_defacevolume: https://www.fieldtriptoolbox.org/reference/ft_defacevolume |
|||
## Afni: @afni_refacer_run : https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/tutorials/refacer/refacer_run.html |
|||
## Brainvoyager: : https://download.brainvoyager.com/bv/doc/UsersGuide/GettingStarted/AnonymizationAndDefacing.html |
|||
#Confirm defacing algorithm prior to upload using an MR viewer (many options above) |
|||
#Datasets for upload |
|||
##MEG resting state |
|||
##MEG emptyroom |
|||
##MEG/MRI Transformation matrix (or locations of head coils in MRI coordinates). Provided MRI must match transform or coil locations. |
|||
###MNE python (-trans.fif) |
|||
###Brainstorm |
|||
###SPM |
|||
###Fieldtrip |
|||
###Vendor transform (Still to be determined if this is acceptable) |
|||
##Coded subject list with age, gender, and other demographics (TBD) |
|||
#Information on data acquisition |
|||
##EyesOpen/EyesClosed |
|||
##VerticalAcquisition/SupineAcquisition |
|||
##Scanner Vendor/Model |
|||
##If Vertical/Horizontal EOG and ECG - provide channel numbers |
|||
Consult the [https://megcore.nih.gov/index.php/ENIGMA_MEG_Pipeline_FAQ Pipeline FAQ] if you run into any problems. |
|||
=Globus Website= |
=Globus Website= |
||
⚫ | Data to be included in the Enigma MEG mega-analysis and data harmonization procedure will be uploaded using the Globus software. Globus is a secure, fault-tolerant, peer-to-peer software based on GridFTP. Secure control signals are communicated with the Globus website, but data transfer is only performed between endpoints (peer-to-peer). |
||
⚫ | An endpoint per lab will be created on NIH storage and given access credentials via email. Only users within your lab and the NIH MEG Core will be able to view and write data in the provided endpoint. Once you receive an email from globus connecting you to a globus endpoint, you will need to create an account on the globus website associated with your institution. |
||
The globus website will allow you to see the upload endpoint |
The globus website will allow you to see the upload endpoint |
||
https://www.globus.org/ |
https://www.globus.org/ |
||
=Required Software to see local data= |
|||
Globus connect personal is used to browse local data for upload. |
Globus connect personal is used to browse local data for upload. |
||
https://www.globus.org/globus-connect-personal |
https://www.globus.org/globus-connect-personal |
||
=Data upload process= |
|||
⚫ | |||
<big>'''* DATA MUST BE ANONYMIZED BEFORE UPLOAD! *'''</big> |
|||
<br><br> |
|||
*'''Log into the Globus website to view main menu''' |
|||
<br> |
|||
[[File:GlobusMainMenu.png| 900px | Alt text]] |
|||
<br><br> |
|||
⚫ | |||
<br> |
<br> |
||
[[File:GlobusSearch.png| 900px | Alt text]] |
[[File:GlobusSearch.png| 900px | Alt text]] |
||
<br><br> |
<br><br> |
||
''' |
*'''Select Remote Endpoint provided over email - Go to the "Your Collections" or "Shared With You" tab''' |
||
<br> |
<br> |
||
[[File:GlobusSelectEndpoint.png | 900px | Alt text]] |
[[File:GlobusSelectEndpoint.png | 900px | Alt text]] |
||
<br><br> |
<br><br> |
||
''' |
*'''Connected to Remote Endpoint - View Contents and select folder (It is possible that the folder is empty) ''' |
||
<br> |
<br> |
||
[[File:GlobusConnectRemote.png | 900px | Alt text]] |
[[File:GlobusConnectRemote.png | 900px | Alt text]] |
||
<br><br> |
<br><br> |
||
*'''Start Globus Connect Personal on your computer to interact with local files/folders.''' |
|||
'''*This step''' |
|||
''If no collection available - see next section to create endpoint.'' |
|||
<br> |
<br> |
||
[[File:GlobusConnectLocalContent.png |900px | Alt text]] |
[[File:GlobusConnectLocalContent.png |900px | Alt text]] |
||
<br><br> |
<br><br> |
||
*'''Create a local endpoint (on your computer)''' |
|||
'''*This step''' |
|||
<br> |
<br> |
||
[[File:GlobusCreateLocalEndpoint.png |900px | Alt text]] |
[[File:GlobusCreateLocalEndpoint.png |900px | Alt text]] |
||
<br><br> |
<br><br> |
||
*'''Navigate Local Path. Select Data. Hit Start to initiate upload''' |
|||
'''*This step''' |
|||
<br> |
<br> |
||
[[File: |
[[File:GlobusLocalDataSearchForUpload.png |900px | Alt text]] |
||
<br><br> |
<br><br> |
||
*'''Visualize Ongoing Activity ''' |
|||
<br> |
|||
[[File:GlobusVisualizeOngoingActivity.png |900px | Alt text]] |
|||
<br><br> |
|||
*'''After completion: Globus upload details and email of successful transfer''' |
|||
<br> |
|||
[[File:GlobusUploadConfirmation.png |900px | Alt text]] |
|||
<br><br> |
|||
==Admin - Globus Endpoint Creation (Ignore)== |
|||
Setup Endpoint [https://megcore.nih.gov/index.php?title=Administer_globus_endpoint Globus] |
Latest revision as of 09:17, 14 February 2024
Converting Data to BIDS
- Fieldtrip
- data2bids.m
- Brainstorm
- https://neuroimage.usc.edu/brainstorm/ExportBids
- Add fiducials to MRI json: https://github.com/jstout211/meg_fiducials_extract
- SPM
- SPM currently does not export to BIDS - use the following scripts to make the bids files
- https://github.com/jstout211/meg_fiducials_extract
- Biscuit
- GUI driven BIDS conversion for KIT and Elekta data
- https://macquarie-meg-research.github.io/Biscuit/
Steps prior to data upload
(if data is already anonymized+bids format skip this section)
- Anonymize MEG data
- Anonymize and deface MRI (options below)
- Freesurfer: mri_deface : https://surfer.nmr.mgh.harvard.edu/fswiki/mri_deface
- Pydeface: pydeface : https://github.com/poldracklab/pydeface
- SPM: spm_deface : https://www.fil.ion.ucl.ac.uk/spm/software/spm12/
- Brainstorm : MRI (right click) > Deface Volume : https://neuroimage.usc.edu/brainstorm/Introduction
- Fieldtrip: ft_defacevolume: https://www.fieldtriptoolbox.org/reference/ft_defacevolume
- Afni: @afni_refacer_run : https://afni.nimh.nih.gov/pub/dist/doc/htmldoc/tutorials/refacer/refacer_run.html
- Brainvoyager: : https://download.brainvoyager.com/bv/doc/UsersGuide/GettingStarted/AnonymizationAndDefacing.html
- Confirm defacing algorithm prior to upload using an MR viewer (many options above)
- Datasets for upload
- MEG resting state
- MEG emptyroom
- MEG/MRI Transformation matrix (or locations of head coils in MRI coordinates). Provided MRI must match transform or coil locations.
- MNE python (-trans.fif)
- Brainstorm
- SPM
- Fieldtrip
- Vendor transform (Still to be determined if this is acceptable)
- Coded subject list with age, gender, and other demographics (TBD)
- Information on data acquisition
- EyesOpen/EyesClosed
- VerticalAcquisition/SupineAcquisition
- Scanner Vendor/Model
- If Vertical/Horizontal EOG and ECG - provide channel numbers
Consult the Pipeline FAQ if you run into any problems.
Globus Website
Data to be included in the Enigma MEG mega-analysis and data harmonization procedure will be uploaded using the Globus software. Globus is a secure, fault-tolerant, peer-to-peer software based on GridFTP. Secure control signals are communicated with the Globus website, but data transfer is only performed between endpoints (peer-to-peer).
An endpoint per lab will be created on NIH storage and given access credentials via email. Only users within your lab and the NIH MEG Core will be able to view and write data in the provided endpoint. Once you receive an email from globus connecting you to a globus endpoint, you will need to create an account on the globus website associated with your institution.
The globus website will allow you to see the upload endpoint https://www.globus.org/
Required Software to see local data
Globus connect personal is used to browse local data for upload. https://www.globus.org/globus-connect-personal
Data upload process
* DATA MUST BE ANONYMIZED BEFORE UPLOAD! *
- Log into the Globus website to view main menu
- Find remote endpoint - Click the search field
- Select Remote Endpoint provided over email - Go to the "Your Collections" or "Shared With You" tab
- Connected to Remote Endpoint - View Contents and select folder (It is possible that the folder is empty)
- Start Globus Connect Personal on your computer to interact with local files/folders.
If no collection available - see next section to create endpoint.
- Create a local endpoint (on your computer)
- Navigate Local Path. Select Data. Hit Start to initiate upload
- Visualize Ongoing Activity
- After completion: Globus upload details and email of successful transfer
Admin - Globus Endpoint Creation (Ignore)
Setup Endpoint Globus