{ "name": "qsiprep", "description": "qsiprep", "tool-version": "0.23.0", "schema-version": "0.5", "command-line": "qsiprep [BIDS_DIR] [OUTPUT_DIR] [ANALYSIS_LEVEL] [SKIP_BIDS_VALIDATION] [PARTICIPANT_LABEL] [BIDS_FILTER_FILE] [BIDS_DATABASE_DIR] [NPROCS] [OMP_NTHREADS] [MEM] [LOW_MEM] [USE_PLUGIN] [SLOPPY] [ANAT_ONLY] [DWI_ONLY] [BOILERPLATE_ONLY] [REPORTS_ONLY] [IGNORE] [INFANT] [LONGITUDINAL] [SKIP_ANAT_BASED_SPATIAL_NORMALIZATION] [ANAT_MODALITY] [B0_THRESHOLD] [DWI_DENOISE_WINDOW] [DENOISE_METHOD] [UNRINGING_METHOD] [DWI_NO_BIASCORR] [B1_BIASCORRECT_STAGE] [NO_B0_HARMONIZATION] [DENOISE_AFTER_COMBINING] [SEPARATE_ALL_DWIS] [DISTORTION_GROUP_MERGE] [ANATOMICAL_TEMPLATE] [OUTPUT_RESOLUTION] [B0_TO_T1W_TRANSFORM] [INTRAMODAL_TEMPLATE_ITERS] [INTRAMODAL_TEMPLATE_TRANSFORM] [FS_LICENSE_FILE] [B0_MOTION_CORR_TO] [HMC_TRANSFORM] [HMC_MODEL] [EDDY_CONFIG] [SHORELINE_ITERS] [PEPOLAR_METHOD] [FMAP_BSPLINE] [FMAP_NO_DEMEAN] [USE_SYN_SDC] [FORCE_SYN] [VERSION] [VERBOSE_COUNT] [WORK_DIR] [RESOURCE_MONITOR] [CONFIG_FILE] [WRITE_GRAPH] [STOP_ON_FIRST_CRASH] [NOTRACK] [DEBUG]", "container-image": { "image": "pennbbl/qsiprep:0.23.0", "type": "docker" }, "inputs": [ { "name": "bids_dir", "id": "bids_dir", "description": "The root folder of a BIDS valid dataset (sub-XXXXX folders should be found at the top level in this folder).", "type": "String", "optional": false, "value-key": "[BIDS_DIR]" }, { "name": "output_dir", "id": "output_dir", "description": "The output path for the outcomes of preprocessing and visual reports", "type": "String", "optional": false, "value-key": "[OUTPUT_DIR]" }, { "name": "analysis_level", "id": "analysis_level", "description": "Processing stage to be run, only \"participant\" in the case of QSIPrep (for now).", "type": "String", "optional": false, "value-key": "[ANALYSIS_LEVEL]", "value-choices": [ "participant" ] }, { "name": "skip_bids_validation", "id": "skip_bids_validation", "description": "Assume the input dataset is BIDS compliant and skip the validation", "type": "Flag", "optional": true, "command-line-flag": "--skip_bids_validation", "value-key": "[SKIP_BIDS_VALIDATION]" }, { "name": "participant_label", "id": "participant_label", "description": "A space delimited list of participant identifiers or a single identifier (the sub- prefix can be removed)", "type": "String", "list": true, "optional": true, "command-line-flag": "--participant-label", "value-key": "[PARTICIPANT_LABEL]" }, { "name": "bids_filter_file", "id": "bids_filter_file", "description": "A JSON file describing custom BIDS input filters using PyBIDS. For further details, please check out https://fmriprep.readthedocs.io/en/0.23.0/faq.html#how-do-I-select-only-certain-files-to-be-input-to-fMRIPrep", "type": "String", "optional": true, "command-line-flag": "--bids-filter-file", "value-key": "[BIDS_FILTER_FILE]" }, { "name": "bids_database_dir", "id": "bids_database_dir", "description": "Path to a PyBIDS database folder, for faster indexing (especially useful for large datasets). Will be created if not present.", "type": "String", "optional": true, "command-line-flag": "--bids-database-dir", "value-key": "[BIDS_DATABASE_DIR]" }, { "name": "nprocs", "id": "nprocs", "description": "Maximum number of threads across all processes", "type": "Number", "optional": true, "command-line-flag": "--nprocs", "value-key": "[NPROCS]" }, { "name": "omp_nthreads", "id": "omp_nthreads", "description": "Maximum number of threads per-process", "type": "Number", "optional": true, "command-line-flag": "--omp-nthreads", "value-key": "[OMP_NTHREADS]" }, { "name": "mem", "id": "mem", "description": "Upper bound memory limit for QSIPrep processes", "type": "String", "optional": true, "command-line-flag": "--mem", "value-key": "[MEM]" }, { "name": "low_mem", "id": "low_mem", "description": "Attempt to reduce memory usage (will increase disk usage in working directory)", "type": "Flag", "optional": true, "command-line-flag": "--low-mem", "value-key": "[LOW_MEM]" }, { "name": "use_plugin", "id": "use_plugin", "description": "Nipype plugin configuration file", "type": "String", "optional": true, "command-line-flag": "--use-plugin", "value-key": "[USE_PLUGIN]" }, { "name": "sloppy", "id": "sloppy", "description": "Use low-quality tools for speed - TESTING ONLY", "type": "Flag", "optional": true, "command-line-flag": "--sloppy", "value-key": "[SLOPPY]" }, { "name": "anat_only", "id": "anat_only", "description": "Run anatomical workflows only", "type": "Flag", "optional": true, "command-line-flag": "--anat-only", "value-key": "[ANAT_ONLY]" }, { "name": "dwi_only", "id": "dwi_only", "description": "ignore anatomical (T1w/T2w) data and process DWIs only", "type": "Flag", "optional": true, "command-line-flag": "--dwi-only", "value-key": "[DWI_ONLY]" }, { "name": "boilerplate_only", "id": "boilerplate_only", "description": "Generate boilerplate only", "type": "Flag", "optional": true, "command-line-flag": "--boilerplate-only", "value-key": "[BOILERPLATE_ONLY]" }, { "name": "reports_only", "id": "reports_only", "description": "Only generate reports, don't run workflows. This will only rerun report aggregation, not reportlet generation for specific nodes.", "type": "Flag", "optional": true, "command-line-flag": "--reports-only", "value-key": "[REPORTS_ONLY]" }, { "name": "ignore", "id": "ignore", "description": "Ignore selected aspects of the input dataset to disable corresponding parts of the workflow (a space delimited list)", "type": "String", "list": true, "optional": true, "command-line-flag": "--ignore", "value-key": "[IGNORE]", "value-choices": [ "fieldmaps", "sbref", "t2w", "flair", "fmap-jacobian" ] }, { "name": "infant", "id": "infant", "description": "configure pipelines to process infant brains", "type": "Flag", "optional": true, "command-line-flag": "--infant", "value-key": "[INFANT]" }, { "name": "longitudinal", "id": "longitudinal", "description": "Treat dataset as longitudinal - may increase runtime", "type": "Flag", "optional": true, "command-line-flag": "--longitudinal", "value-key": "[LONGITUDINAL]" }, { "name": "skip_anat_based_spatial_normalization", "id": "skip_anat_based_spatial_normalization", "description": "skip running the anat-based normalization to template space. Default is to run the normalization.", "type": "Flag", "optional": true, "command-line-flag": "--skip-anat-based-spatial-normalization", "value-key": "[SKIP_ANAT_BASED_SPATIAL_NORMALIZATION]" }, { "name": "anat_modality", "id": "anat_modality", "description": "Modality to use as the anatomical reference. Images of this contrast will be skull stripped and segmented for use in the visual reports. If --infant, T2w is forced.", "type": "String", "optional": true, "command-line-flag": "--anat-modality", "value-key": "[ANAT_MODALITY]", "value-choices": [ "T1w", "T2w", "none" ] }, { "name": "b0_threshold", "id": "b0_threshold", "description": "any value in the .bval file less than this will be considered a b=0 image. Current default threshold = 100; this threshold can be lowered or increased. Note, setting this too high can result in inaccurate results.", "type": "Number", "optional": true, "command-line-flag": "--b0-threshold", "value-key": "[B0_THRESHOLD]" }, { "name": "dwi_denoise_window", "id": "dwi_denoise_window", "description": "window size in voxels for image-based denoising, integer or \"auto\".If \"auto\", 5 will be used for dwidenoise and auto-configured for patch2self based on the number of b>0 images.", "type": "String", "optional": true, "command-line-flag": "--dwi_denoise_window", "value-key": "[DWI_DENOISE_WINDOW]" }, { "name": "denoise_method", "id": "denoise_method", "description": "Image-based denoising method. Either \"dwidenoise\" (MRtrix), \"patch2self\" (DIPY) or none. (default: dwidenoise)", "type": "String", "optional": true, "command-line-flag": "--denoise-method", "value-key": "[DENOISE_METHOD]", "value-choices": [ "dwidenoise", "patch2self", "none" ] }, { "name": "unringing_method", "id": "unringing_method", "description": "Method for Gibbs-ringing removal.\n - none: no action\n - mrdegibbs: use mrdegibbs from mrtrix3\n - rpg: Gibbs from TORTOISE, suggested for partial Fourier acquisitions (default: none).", "type": "String", "optional": true, "command-line-flag": "--unringing-method", "value-key": "[UNRINGING_METHOD]", "value-choices": [ "none", "mrdegibbs", "rpg" ] }, { "name": "dwi_no_biascorr", "id": "dwi_no_biascorr", "description": "DEPRECATED: see --b1-biascorrect-stage", "type": "Flag", "optional": true, "command-line-flag": "--dwi-no-biascorr", "value-key": "[DWI_NO_BIASCORR]" }, { "name": "b1_biascorrect_stage", "id": "b1_biascorrect_stage", "description": "Which stage to apply B1 bias correction. The default 'final' will apply it after all the data has been resampled to its final space. 'none' will skip B1 bias correction and 'legacy' will behave consistent with qsiprep < 0.17.", "type": "String", "optional": true, "command-line-flag": "--b1-biascorrect-stage", "value-key": "[B1_BIASCORRECT_STAGE]", "value-choices": [ "final", "none", "legacy" ] }, { "name": "no_b0_harmonization", "id": "no_b0_harmonization", "description": "skip re-scaling dwi scans to have matching b=0 intensities", "type": "Flag", "optional": true, "command-line-flag": "--no-b0-harmonization", "value-key": "[NO_B0_HARMONIZATION]" }, { "name": "denoise_after_combining", "id": "denoise_after_combining", "description": "run ``dwidenoise`` after combining dwis, but before motion correction", "type": "Flag", "optional": true, "command-line-flag": "--denoise-after-combining", "value-key": "[DENOISE_AFTER_COMBINING]" }, { "name": "separate_all_dwis", "id": "separate_all_dwis", "description": "don't attempt to combine dwis from multiple runs. Each will be processed separately.", "type": "Flag", "optional": true, "command-line-flag": "--separate_all_dwis", "value-key": "[SEPARATE_ALL_DWIS]" }, { "name": "distortion_group_merge", "id": "distortion_group_merge", "description": "How to combine images across distorted groups.\n - concatenate: append images in the 4th dimension\n - average: if a whole sequence was duplicated in both PE\n directions, average the corrected images of the same\n q-space coordinate\n - none: Default. Keep distorted groups separate", "type": "String", "optional": true, "command-line-flag": "--distortion-group-merge", "value-key": "[DISTORTION_GROUP_MERGE]", "value-choices": [ "concat", "average", "none" ] }, { "name": "anatomical_template", "id": "anatomical_template", "description": "volume template space (default: MNI152NLin2009cAsym)", "type": "String", "optional": true, "command-line-flag": "--anatomical-template", "value-key": "[ANATOMICAL_TEMPLATE]", "value-choices": [ "MNI152NLin2009cAsym" ] }, { "name": "output_resolution", "id": "output_resolution", "description": "the isotropic voxel size in mm the data will be resampled to after preprocessing. If set to a lower value than the original voxel size, your data will be upsampled using BSpline interpolation.", "type": "Number", "optional": false, "command-line-flag": "--output-resolution", "value-key": "[OUTPUT_RESOLUTION]" }, { "name": "b0_to_t1w_transform", "id": "b0_to_t1w_transform", "description": "Degrees of freedom when registering b0 to anatomical images. 6 degrees (rotation and translation) are used by default.", "type": "String", "optional": true, "command-line-flag": "--b0-to-t1w-transform", "value-key": "[B0_TO_T1W_TRANSFORM]", "value-choices": [ "Rigid", "Affine" ] }, { "name": "intramodal_template_iters", "id": "intramodal_template_iters", "description": "Number of iterations for finding the midpoint image from the b0 templates from all groups. Has no effect if there is only one group. If 0, all b0 templates are directly registered to the t1w image.", "type": "Number", "optional": true, "command-line-flag": "--intramodal-template-iters", "value-key": "[INTRAMODAL_TEMPLATE_ITERS]" }, { "name": "intramodal_template_transform", "id": "intramodal_template_transform", "description": "Transformation used for building the intramodal template.", "type": "String", "optional": true, "command-line-flag": "--intramodal-template-transform", "value-key": "[INTRAMODAL_TEMPLATE_TRANSFORM]", "value-choices": [ "Rigid", "Affine", "BSplineSyN", "SyN" ] }, { "name": "fs_license_file", "id": "fs_license_file", "description": "Path to FreeSurfer license key file. Get it (for free) by registering at https://surfer.nmr.mgh.harvard.edu/registration.html", "type": "String", "optional": true, "command-line-flag": "--fs-license-file", "value-key": "[FS_LICENSE_FILE]" }, { "name": "b0_motion_corr_to", "id": "b0_motion_corr_to", "description": "align to the \"first\" b0 volume or do an \"iterative\" registration of all b0 images to their midpoint image (default: iterative)", "type": "String", "optional": true, "command-line-flag": "--b0-motion-corr-to", "value-key": "[B0_MOTION_CORR_TO]", "value-choices": [ "iterative", "first" ] }, { "name": "hmc_transform", "id": "hmc_transform", "description": "transformation to be optimized during head motion correction (default: affine)", "type": "String", "optional": true, "command-line-flag": "--hmc-transform", "value-key": "[HMC_TRANSFORM]", "value-choices": [ "Affine", "Rigid" ] }, { "name": "hmc_model", "id": "hmc_model", "description": "model used to generate target images for hmc. If \"none\" the non-b0 images will be warped using the same transform as their nearest b0 image. If \"3dSHORE\", SHORELine will be used. if \"tensor\", SHORELine iterations with a tensor model will be used", "type": "String", "optional": true, "command-line-flag": "--hmc_model", "value-key": "[HMC_MODEL]", "value-choices": [ "none", "3dSHORE", "eddy", "tensor" ] }, { "name": "eddy_config", "id": "eddy_config", "description": "path to a json file with settings for the call to eddy. If no json is specified, a default one will be used. The current default json can be found here: https://github.com/PennLINC/qsiprep/blob/master/qsiprep/data/eddy_params.json", "type": "String", "optional": true, "command-line-flag": "--eddy-config", "value-key": "[EDDY_CONFIG]" }, { "name": "shoreline_iters", "id": "shoreline_iters", "description": "number of SHORELine iterations. (default: 2)", "type": "Number", "optional": true, "command-line-flag": "--shoreline_iters", "value-key": "[SHORELINE_ITERS]" }, { "name": "pepolar_method", "id": "pepolar_method", "description": "select which SDC method to use for PEPOLAR fieldmaps (default: TOPUP)", "type": "String", "optional": true, "command-line-flag": "--pepolar-method", "value-key": "[PEPOLAR_METHOD]", "value-choices": [ "TOPUP", "DRBUDDI", "TOPUP+DRBUDDI" ] }, { "name": "fmap_bspline", "id": "fmap_bspline", "description": "Fit a B-Spline field using least-squares (experimental)", "type": "Flag", "optional": true, "command-line-flag": "--fmap-bspline", "value-key": "[FMAP_BSPLINE]" }, { "name": "fmap_no_demean", "id": "fmap_no_demean", "description": "Do not remove median (within mask) from fieldmap", "type": "Flag", "optional": true, "command-line-flag": "--fmap-no-demean", "value-key": "[FMAP_NO_DEMEAN]" }, { "name": "use_syn_sdc", "id": "use_syn_sdc", "description": "Use fieldmap-less distortion correction based on anatomical image; if unable, error (default) or warn based on optional argument.", "type": "String", "optional": true, "command-line-flag": "--use-syn-sdc", "value-key": "[USE_SYN_SDC]", "value-choices": [ "warn", "error" ] }, { "name": "force_syn", "id": "force_syn", "description": "EXPERIMENTAL/TEMPORARY: Use SyN correction in addition to fieldmap correction, if available", "type": "Flag", "optional": true, "command-line-flag": "--force-syn", "value-key": "[FORCE_SYN]" }, { "name": "version", "id": "version", "description": "show program's version number and exit", "type": "Flag", "optional": true, "command-line-flag": "--version", "value-key": "[VERSION]" }, { "name": "verbose_count", "id": "verbose_count", "description": "Increases log verbosity for each occurrence, debug level is -vvv", "type": "String", "optional": true, "value-key": "[VERBOSE_COUNT]", "value-choices": [ "-v", "-vv", "-vvv" ] }, { "name": "work_dir", "id": "work_dir", "description": "Path where intermediate results should be stored", "type": "String", "optional": true, "command-line-flag": "-w", "value-key": "[WORK_DIR]" }, { "name": "resource_monitor", "id": "resource_monitor", "description": "Enable Nipype's resource monitoring to keep track of memory and CPU usage", "type": "Flag", "optional": true, "command-line-flag": "--resource-monitor", "value-key": "[RESOURCE_MONITOR]" }, { "name": "config_file", "id": "config_file", "description": "Use pre-generated configuration file. Values in file will be overridden by command-line arguments.", "type": "String", "optional": true, "command-line-flag": "--config-file", "value-key": "[CONFIG_FILE]" }, { "name": "write_graph", "id": "write_graph", "description": "Write workflow graph.", "type": "Flag", "optional": true, "command-line-flag": "--write-graph", "value-key": "[WRITE_GRAPH]" }, { "name": "stop_on_first_crash", "id": "stop_on_first_crash", "description": "Force stopping on first crash, even if a work directory was specified.", "type": "Flag", "optional": true, "command-line-flag": "--stop-on-first-crash", "value-key": "[STOP_ON_FIRST_CRASH]" }, { "name": "notrack", "id": "notrack", "description": "Opt-out of sending tracking information of this run to the QSIPrep developers. This information helps to improve QSIPrep and provides an indicator of real world usage crucial for obtaining funding.", "type": "Flag", "optional": true, "command-line-flag": "--notrack", "value-key": "[NOTRACK]" }, { "name": "debug", "id": "debug", "description": "Debug mode(s) to enable. 'all' is alias for all available modes.", "type": "String", "list": true, "optional": true, "command-line-flag": "--debug", "value-key": "[DEBUG]", "value-choices": [ "fieldmaps", "pdb", "all" ] } ], "tags": {}, "suggested-resources": { "cpu-cores": 1, "ram": 1, "walltime-estimate": 60 } }