Do you spend a lot of time preparing your data for use? Flywheel Gears reduce data-management overhead by automating many routine, time-consuming tasks.
Gears are applications that run in Flywheel. They come in two flavors depending on their functionality: Utility or Analysis. For example, to convert all files from DICOM to NIfTI format or produce a report on QA metrics like displacement and signal spikes, you can use a Utility Gear. Or use an Analysis Gear to run popular tools such as Freesurfer.
Learn more about how Gears can reduce your data-management overhead and allow you to focus on the research.
To view the available Gears in your environment, click Installed Gears in the left navigation menu.
Site Admins can add more gears in two ways:
-
The Gear Exchange: The Gear Exchange is a curated collection of Gears maintained by Flywheel. These Gears are made available through the contributions of Flywheel employees, customers, and members of the broader research community. Browse the the Gear Exchange for more information, and contact Flywheel Support to add these Gears to your site (only Site Admins can install Gear Exchange gears.)
-
Develop your own Gear: You can also create your own custom gear to upload to your site. See our Gear Developer tutorial for more information on how to build your first gear.
-
Navigate to a session, and click the checkbox.
-
Select an acquisition.
Tip
Batch run GearsTo run a Gear against multiple sessions or acquisitions at the same time, use batch processing
-
Click Run Gear.
-
Select Utility or Analysis.
-
Choose a gear from the list.
-
Select any inputs.
Tip
You can also add a tag to the Gear job. Tagging Gear jobs is helpful for tracking.
-
Select the Configuration tab to edit any additional settings.
-
Click Run Gear.
-
View the Gear's progress by clicking the Provenance tab. If you do not see the gear, click Refresh.
-
Once the job is complete you can view detailed logs, including the input and output files for the Gear.
-
If you ran an Analysis Gear, you can view the output in the Analyses tab.
However, manually running a gear each time you have new data can be time consuming. To simplify running Gears, create Gear rules to automate jobs.
Gear Rules allow you to automate a project's data processing. Whenever the conditions of the gear rule are met, the rule triggers a specific gear to run.
Create a simple project gear rule to automatically classify DICOM files:
-
Click Projects in the left navigation menu.
-
Select the options menu
, and choose Gear Rules.
-
Click Add New Rule.
-
Enter a name for the rule
-
Under If the data matches ALL of the following criteria, Select file type from the list.
-
Enter dicom for the file type.
-
Click Select Gear.
-
Choose File Metadata Importer.
-
Select a version of the Gear to run. In most cases you should use the latest version.
-
Disable Always use the latest gear version.
When this is enabled, Flywheel automatically updates the gear when a newer version is published. However, updating the gear version may have unintended consequences for provenance and may change how the gear works.
-
Modify the Gear configuration if necessary.
-
Click Save Changes.
-
Click Save on the Gear rule.
Now, each time a DICOM file is added to the project, Flywheel will automatically run the File Metadata Importer. Extracting header information from file greatly increases the value of raw data by enabling searching, reporting or classifying them and allows you to do more with it inside Flywheel. For example, now that your metadata are properly extracted, you can create more gears rules to automate the classification of your data using the file-classifier gear.
Learn how to search for data.