--- name: bids-conversion description: "Use this skill for \"convert to BIDS\", \"BIDS format\", \"create BIDS dataset\", \"BIDS sidecar\", \"participants.tsv\", \"events.tsv\", \"EEG BIDS\", \"EMG BIDS\", \"MEG BIDS\", \"fMRI BIDS\", \"BIDS validator\", \"channel locations\", \"electrode positions\", \"BIDS metadata\", or when the user wants to convert neuroscience data to Brain Imaging Data Structure (BIDS) format or validate BIDS compliance." version: 0.1.0 --- # BIDS Conversion Convert neuroscience datasets to Brain Imaging Data Structure (BIDS) format. Supports EEG, EMG, MEG, fMRI, and behavioral data with proper file naming, JSON sidecars, and metadata. ## When to Use - Converting raw data files to BIDS format - Creating or fixing BIDS metadata (JSON sidecars, TSV files) - Validating BIDS compliance - Setting up a new BIDS dataset from scratch - Converting between data formats (e.g., .set to .edf, .vhdr to .bdf) ## BIDS Directory Structure ``` dataset/ dataset_description.json participants.tsv participants.json README CHANGES sub-01/ sub-01_scans.tsv eeg/ sub-01_task-rest_eeg.set sub-01_task-rest_eeg.json sub-01_task-rest_channels.tsv sub-01_task-rest_electrodes.tsv sub-01_task-rest_coordsystem.json sub-01_task-rest_events.tsv emg/ sub-01_task-grasp_emg.edf sub-01_task-grasp_emg.json sub-01_task-grasp_channels.tsv sub-01_task-grasp_events.tsv anat/ sub-01_T1w.nii.gz sub-01_T1w.json derivatives/ pipeline-name/ sub-01/ ``` ## File Naming Convention ``` sub-