123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- # To organize raw MRI data
- source: ""
- destination: ""
- pattern: "sub-[0-9]+"
- tag_rules:
- - name: subject
- pattern: "sub-\\d+(?:\\d{3})(\\d{6})"
- replace:
- col: subjectID
- with: D_number
- from: ""
- - name: session
- pattern: "sub-\\d+(\\d{3})(?:\\d{6})"
- - name: run
- value: "01"
- - name: suffix
- value: mri
- - name: sourcetype
- value: mri
- - name: extension
- value: dcm
- ---
- # To organize raw EEG data
- source: ""
- destination: ""
- pattern: "EEG[0-9_]+.mff"
- tag_rules:
- - name: subject
- pattern: "EEG(?:.+)_(?:\\d{3})?(\\d{6})_"
- replace:
- col: subjectID
- with: D_number
- from: ""
- - name: session
- pattern: "EEG(?:.+)_(\\d{3})?(?:\\d{6})_"
- default: 101
- - name: task
- value: rest
- - name: run
- value: "01"
- - name: suffix
- value: eeg
- - name: sourcetype
- value: eeg
- - name: extension
- value: mff
- ---
- # To organize raw Eye tracking data
- source: ""
- destination: ""
- pattern: "[0-9]+.edf"
- copy_fellows: True
- tag_rules:
- - name: subject
- pattern: "(?:\\d{0,3})(\\d{6}).edf"
- replace:
- col: subjectID
- with: D_number
- from: ""
- - name: session
- pattern: "(\\d{0,3})(?:\\d{6}).edf"
- length: 3
- iffy_prepend: 1
- default: 101
- - name: task
- pattern: "\\d+[-_]([\\w]+)"
- case: lower
- - name: run
- value: "01"
- - name: suffix
- value: eyetrack
- - name: sourcetype
- value: eyetrack
- - name: extension
- value: edf
- ---
- # To organize raw fNIRS data
- source: ""
- destination: ""
- pattern: "(\\d{6,9}(_\\d)?_[\\w ]+|\\d+-\\d+-\\d+_\\d+|EO|Resting_EO|Resting EO)"
- overwrite: Yes
- add:
- - path: "probeInfo.mat"
- position: content
- - path: "digpts.txt"
- position: content
- tag_rules:
- - name: subject
- pattern: "(?:\\d{3})?(\\d{6})"
- replace:
- col: subjectID
- with: D_number
- from: ""
- - name: session
- pattern: "(\\d{3})?(?:\\d{6})"
- default: 101
- - name: run
- value: "01"
- - name: suffix
- value: nirs
- - name: task
- value: rest
- - name: sourcetype
- value: nirs
- - name: extension
- value: nirx
- ---
- # To organize genome sequence aligned reads
- source: ""
- destination: ""
- pattern: ".*bam"
- tag_rules:
- - name: subject
- pattern: "Sample_([a-zA-Z0-9]+)_"
- pad:
- length: 5
- character: 0
- replace:
- col: sampleID
- with: D_number
- from: ""
- - name: session
- pattern: "Sample_([a-zA-Z0-9]+)_"
- pad:
- length: 5
- character: 0
- replace:
- col: sampleID
- with: sessionID
- from: ""
- - name: sample
- pattern: "Sample_([a-zA-Z0-9]+)_"
- pad:
- length: 5
- character: 0
- - name: acquisition
- value: seq
- - name: suffix
- value: exome
- - name: extension
- value: bam
|