#!/bin/bash cell=IF4_140201 IS=0 prop_site=3 #main axon 0 1 2 3 4 5 6 7 8 9 10 extstim=84 junction=82 #extstim=75 #junction=53 #extstim=79 #junction=53 #extstim=39 #junction=36 #extstim=41 #junction=36 #extstim=23 #junction=22 #extstim=15 #junction=15 #extstim=14 #junction=14 #extstim=13 #junction=13 #extstim=12 #junction=12 for comps in 84,82 75,53 39,36 41,36 23,22 15,15 14,14 13,13 12,12 do qsub -N vs_${cell}_${comps} -l h_rt=24:00:00 -b y x86_64/special -nogui simulation_base.hoc -c "set_generic_arg\(\\\"$cell\\\",$IS,$prop_site,$comps\)" vs-generic_cutoff.hoc done