source: branches/Mars_McMismatchStudy/qsub/FACT.qsub_star_data.sh@ 17994

Last change on this file since 17994 was 17984, checked in by ghughes, 10 years ago
mixed some major bigs, removed hardcoded directory stuff, some minor testing still needed but batch full
File size: 556 bytes
Line 
1#!/bin/bash
2
3source ~/.bash_profile
4
5cd $MARSSYS
6
7YEAR=YYYYY
8MONTH=MMMMM
9DAY=DDDDD
10
11DATE=$YEAR$MONTH$DAY
12
13SEQDIR="/scratch/fact/sequences/"$YEAR"/"$MONTH"/"$DAY"/"
14INDIR="/scratch/fact/data.2013.05.11/callisto/"$YEAR"/"$MONTH"/"$DAY"/"
15OUTDIR=$MARSSYS"/OUTPUT/star/"$DATE"/"
16
17TFILE=${MARSSYS}"/"$DATE".tempfile"
18
19ls $SEQDIR/${DATE}_???.seq > $TFILE
20
21while read LINE
22do
23
24 SEQFILE=$LINE
25 root -b -q fact/analysis/star.C\(\"$SEQFILE\",4,2.5,\"$INDIR\",\"$OUTDIR\"\)
26 root -b -q fact/analysis/merpp.C\(\"$SEQFILE\",\"$OUTDIR\"\)
27
28done <$TFILE
29
30rm $TFILE
31
32
33
Note: See TracBrowser for help on using the repository browser.