Flywheel Overview
Flywheel: https://cahbir-flywheel.rutgers.edu/#/projects
TABLE OF CONTENTS:
Flywheel Storage & Pipeline - only put active CAHBIR center data
- No restrictions for the amount of data
- But we’re charged for the data since it’s stored in the cloud
- Can keep all your active study data on flywheel
- More likely to stay stable than stuff you take off and put on amarel
- After every session of fMRI scanning at CAHBIR the scan tech is going to automatically send data from the scanner to flywheel
- multi-band multi-echo will go up but will go up a little later since Jeff has to do another step
- compress-sensing MP2Rage
- Double check that the information you want in flywheel is being transferred after the data is put into flywheel
- You should definitely do a test or two with your pipeline
Log into Flywheel:
- Go to https://cahbir-flywheel.rutgers.edu/#/projects
- Choose “University Credentials via CILogin”
- Choose the dropdown arrow, type in “Rutgers” and select.
- Log in with your NetID and password
Data-Viewer
- Little picture icon on the right of the dicom
- Can also double check that your files are right
Gear Exchange
- flywheel.io/gear-exchange/
- if there’s any there you want and aren’t currently installed on our flywheel, let Wil / CAHBIR-support know, and they’ll ask flywheel to add it
- You can also make requests for flywheel to make a gear, though we don’t know how quickly that might happen
Questions
- Flywheel has robust documentation
- Or email flywheel directly with ‘give us feedback’ (opens up a ticket)
How to change file names (if necessary):
Tutorial by flywheel devs: https://docs.flywheel.io/Developer_Guides/dev_bids_curation_2_precuration/
- Go to your Project tab
- click on Subjects tab and select the subject you’d like to run
- Go to Analysis tab
- Click Run analysis gear
- Click “Bids Pre-Curation” or “relabel container” (they’re equivalent)
- put in no inputs, leave everything blank
- run gear
- Go to subjects tab
- to go “provenance” tab in subject to see the job running
- refresh for new update— not live view
- if fails, click on the “View Log” button
- read the error log to figure out
- ask Wil if need be
- When finished, go to “analysis” tab at the TOP (not within “Subject”)
- click on the job Bids pre-curate
For the files, if you need to make edits, press on the 3 dots and then press “Download”
acquisitions.csv
sessions.csv
subjects.csv
- make the edits in excel
- in flywheel, in the project tab, press “information” tab
- press ‘upload’
- upload the .csv that you made edits to
- This keeps the version history of all the prior csv versions— so if you upload a document that is wrong, you can just restore an old version
Ignoring Files
If you need to ignore 1-3 images into .bidsignore…
Flywheel Tutorial: Ignoring Certain Images in Bids
- Go to your Project tab
- click on Subjects tab and select the subject you’d like to run
- Go to Sessions tab
- Make sure you’re on “Acquisitions” tab
- Optional: Turn on “BIDS View”
- click on the 3 dots to the right of the “Run Gear’ button
- click on the on-switch for “BIDS View”
- Click on the file you want to ignore
- In the popup, go to “Information” tab
- Scroll down to the small section which says “BIDS” and has a carrot “^”
- Press on the carrot to expant the BIDS information
- Scroll down to the line “ignore []” and check the box
- Press “save” on the popup
- Repeat steps 6-11 for any files you want to ignore
If you need to ignore many images based on rules…
- Click on your project tab
- Go to “Information”
- In files find template nordic_extension_template_MMDDYYYY.json
- Click on the 3 dots in the template row and click “Download”
- Open file in an editor
- In the “initializers”:” section, paste in your code
for example, this skips any files which start with “fmap_” or “fmap-” and end with “SBRef” or “Pha”, and skips any files which end with “_e2” or “_e3”
{
"rule": "reproin_fieldmap_file",
"where": {
"acquisition.label": {
"$regex": "fmap(-|_).*(SBRef|Pha)+$"
}
},
"initialize": {
"ignore": true
}
},
{
"rule": "reproin_fieldmap_file",
"where": {
"file.name": {
"$regex": "_e(2|3)\\.(nii(\\.gz|)|json)$"
},
"acquisition.label": {
"$regex": "fmap(-|_)"
}
},
"initialize": {
"Suffix": "echo",
"ignore": true
}
},
Add Additional Documents
- ‘ad-hoc’ upload
- can add any type of file to a dataset