[Swift-commit] r2610 - SwiftApps/SIDGrid/scripts

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Feb 25 15:30:07 CST 2009


Author: skenny
Date: 2009-02-25 15:30:07 -0600 (Wed, 25 Feb 2009)
New Revision: 2610

Added:
   SwiftApps/SIDGrid/scripts/reconFINAL.sh
Log:
fs wrapper for last stage of workflow

Added: SwiftApps/SIDGrid/scripts/reconFINAL.sh
===================================================================
--- SwiftApps/SIDGrid/scripts/reconFINAL.sh	                        (rev 0)
+++ SwiftApps/SIDGrid/scripts/reconFINAL.sh	2009-02-25 21:30:07 UTC (rev 2610)
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# $1 == usr
+# $2 == subj
+# $3 == <subj>L.tar
+# $4 == <subj>R.tar
+
+tar -xf $3
+tar --keep-newer-files -xf $4
+
+echo "untarred and combined hemi directories. running aparc2aseg......."
+
+export SUBJECTS_DIR=$PWD
+source $FREESURFER_HOME/SetUpFreeSurfer.sh
+
+recon-all -s $2 -aparc2aseg
+
+tar cf $2COMPLETE.tar $2
+
+


Property changes on: SwiftApps/SIDGrid/scripts/reconFINAL.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the Swift-commit mailing list