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

Last change on this file since 17983 was 17983, checked in by ghughes, 10 years ago
batch scripts for data - still some bugs and hard coding
File size: 590 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="/home/guest/ghughes/FACT/Mars_McMismatchStudy/OUTPUT/star/"$DATE"/"
16
17$TFILE=$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.