This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export study=ABIDE1 | |
| export site=SBL | |
| /fileserver/caladan_ssd/repos/BIDS_to_CBIG_fMRI_Preproc2016/BIDS_parallel_list_one_server.sh \ | |
| 60 \ | |
| /fileserver/caladan_ssd/repos/BIDS_to_CBIG_fMRI_Preproc2016/BIDS_2BP_CBIG_fMRI_preprocess_sesAware_phase.sh \ | |
| /fileserver/gammu/collections/${study}/${site} \ | |
| /fileserver/gammu/projects/${study}/subject_lists/${site}_subject_list.txt \ | |
| /fileserver/gammu/projects/${study}/freesurfer_v7.1.0/${site} \ | |
| /fileserver/gammu/projects/${study}/CBIG_fMRI_preprocess_ABIDE/${site} \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # as root: | |
| systemctl stop docker | |
| cd /home_local/ | |
| mkdir docker | |
| chmod a+w docker/ | |
| rsync -avxP /var/lib/docker/ /home_local/docker | |
| nano /lib/systemd/system/docker.service | |
| # change: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This creates a shallow clone (good for docker) of a specific branch. | |
| git clone --depth 1 --branch compiled-for-MCR https://github.com/bchcohenlab/CBIG.git CBIG_compiled-for-MCR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Show existing connections (/etc/sysconfig/network-scripts) | |
| nmcli -p dev status | |
| # Make new bonding connection | |
| nmcli con add type bond con-name bond0 ifname bond0 mode 6 | |
| # Bond existing ports to bond0 | |
| nmcli con add type bond-slave ifname p2p1 master bond0 | |
| nmcli con add type bond-slave ifname p2p2 master bond0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # setup raid in iDRAC | |
| # in OS, switch to root and get a list of attached devices | |
| su - | |
| lsblk | |
| # partition | |
| parted -a optimal /dev/sda | |
| #(in parted): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p derivatives/CBIG_fMRI_Prepoc2016_modified | |
| mv sub* derivatives/CBIG_fMRI_Prepoc2016_modified/ | |
| cd derivatives/CBIG_fMRI_Prepoc2016_modified | |
| for i in `ls */*/*gz`; do fslreorient2std $i; done | |
| for i in `ls`; do | |
| mkdir ${i}/anat | |
| mkdir ${i}/func | |
| mv ${i}/vol/norm_MNI152_1mm.nii.gz ${i}/anat/${i}_norm_MNI152_1mm.nii.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /home/ch163210/bin/retrieve2.sh [MRN] [STUDY DATE] [OUTPUT DIRECTORY] [MODALITY] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in `ls -d 1*/`; do dcm2niix -b y -ba y -z o -f '%i_%n_%3s_%d_%p' -o /Volumes/Drobo/Research/Dhand_2nd_set/dhand_bids /Volumes/Drobo/Research/Dhand_2nd_set/${i}; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsync -e ssh -ahvzP /lab-share/Neuro-Cohen-e2/Public/projects/GSP/GSP1000_MF alex@172.18.206.42:/Volumes/Drobo/Research/collections/ | |
| rsync -ahzP /lab-share/Neuro-Cohen-e2/Public/connectomes/GSP1000_500M alex@172.18.219.214:/Volumes/Drobo/Research/connectomes/ | |
| rsync -avhzP /Volumes/Drobo/Research/collections/GSP1000_MF ayc57@erisonexf.partners.org:/data/nimlab/Data_from_Alex_BCH/ | |
| rsync -avhzP /Volumes/Drobo/Research/connectomes/GSP1000_* ayc57@erisonexf.partners.org:/data/nimlab/Data_from_Alex_BCH/ | |
| # getting the surface files: | |
| # on E2, in projects/GSP/CBIG_fMRI_preprocess_Legacy_GSP_surfaceBased_standard: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rclone sync drive_cohenlab_Inbox: /lab-share/Neuro-Cohen-e2/Public/lesions/WKTang_bids/sourcedata/secondbatch --progress |
NewerOlder