LogoLogo
  • 🐿️NeuroInformatics Database
    • HIPAA Compliance
  • Getting Started
    • Installation
      • Quick Install
      • How to change passwords
      • Optional software
      • MySQL/MariaDB tweaks
    • Upgrade
      • Quick Upgrade
      • Migrate Existing Installation
  • Using NiDB
    • User's Guide
      • Importing data
      • Managing data
      • Finding & exporting data
      • Managing projects
      • Pipelines & analysis
      • Calendar
    • Administration
      • Front end (user facing)
      • Back end
      • nidb command line
  • Specifications
    • Data Storage Hierarchy
    • DICOM Anonymization
  • Tutorials
    • Working with Imaging Data
      • Uploading data for a sample project
      • Troubleshooting Missing Imaging Data
      • Import DICOM data
      • MR scan quality control
    • Manipulating Subjects, Studies, & Series
      • Working with subject IDs
      • Renaming series
    • Pipelines
    • Working with Redcap
      • Importing Data from a Redcap Project
      • Importing Subjects from Redcap
      • Reports based on data imported from Redcap
    • Analysis Builder
    • Administration of Users, Projects, & System
      • User Permissions
      • Creating new projects
      • Adding Users to Projects
      • Editing the config file
      • Deleting all the data
  • Contribute
    • Squirrel data sharing format
      • squirrel utilities
      • Using the squirrel library
      • Example package
      • squirrel vs BIDS
      • Specification v1.0
        • Package root
        • package
        • data
          • subjects
            • studies
              • series
                • params
              • analysis
            • observations
            • interventions
          • group-analysis
        • pipelines
          • data-steps
          • Pipeline scripts
        • experiments
        • data-dictionary
        • Modalities
      • Building squirrel library and utils
        • Building Python Wrapper
    • Building NiDB
    • Creating a Development VM
  • Help!
    • Github Issues
    • Github Discussions
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Contribute
  2. Squirrel data sharing format
  3. Specification v1.0
  4. pipelines

data-steps

JSON array

PreviouspipelinesNextPipeline scripts

Last updated 9 months ago

Was this helpful?

dataSpec describes the criteria used to find data if searching a database (NiDB for example, since this pipeline is usually connected to a database). The dataSpec is a JSON array of the following variables. Search variables specify how to find data in a database, and Export variables specify how the data is exported.

JSON variables

Variable
Type
Default
Description

AssociationType

string

[Search] study, or subject.

BehavioralDirectory

string

[Export] if BehFormat writes data to a sub directory, the directory should be named this.

BehavioralDirectoryFormat

string

[Export] nobeh, behroot, behseries, behseriesdir

DataFormat

string

[Export] native, dicom, nifti3d, nifti4d, analyze3d, analyze4d, bids.

Enabled

bool

[Search] true if the step is enabled, false otherwise

Gzip

bool

[Export] true if converted Nift data should be g-zipped, false otherwise.

ImageType

string

[Search] Comma separated list of image types, often derived from the DICOM ImageType tag, (0008:0008).

DataLevel

string

[Search] nearestintime, samestudy. Where is the data coming from.

Location

string

[Export] Directory, relative to the analysisroot, where this data item will be written.

Modality

string

[Search] Modality to search for.

NumberBOLDreps

string

[Search] If SeriesCriteria is set to usecriteria, then search based on this option.

NumberImagesCriteria

string

[Search]

Optional

bool

[Search] true if this data step is option. false if this step is required and the analysis will not run if the data step is not found.

Order

number

The numerical order of this data step.

PreserveSeries

bool

[Export] true to preserve series numbers or false to assign new ordinal numbers.

PrimaryProtocol

bool

[Search] true if this data step determines the primary study, from which subsequent analyses are run.

Protocol

string

[Search] Comma separated list of protocol name(s).

SeriesCriteria

string

[Search] Criteria for which series are downloaded if more than one matches criteria: all, first, last, largest, smallest, usecriteria.

UsePhaseDirectory

bool

[Export] true to write data to a sub directory based on the phase encoding direction.

UseSeriesDirectory

bool

[Export] true to write each series to its own directory, false to write data to the root export directory.

Primary key Required

🔵
🔴
🔴
🔴
🔴
🔴
🔴
🔴
🔴
🔴
🔴