Last change
on this file since 15301 was 15301, checked in by Daniela Dorner, 12 years ago |
added (script to run callisto for quick look analysis)
|
-
Property svn:executable
set to
*
|
File size:
752 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 |
|
---|
4 | source `dirname $0`/../Sourcefile.sh
|
---|
5 | printprocesslog "INFO starting $0"
|
---|
6 |
|
---|
7 | seqfile=$2
|
---|
8 | seqnum=`basename $seqfile | sed -e 's/[.]seq//g'`
|
---|
9 | outpath=`dirname $seqfile | sed -e "s/sequences/${1}\/callisto/"`
|
---|
10 | makedir $outpath
|
---|
11 | logfile=$outpath"/"$seqnum"-calibration.log"
|
---|
12 |
|
---|
13 | cd $mars
|
---|
14 |
|
---|
15 | # run callisto
|
---|
16 | printprocesslog "INFO starting callisto6.C for sequence "$seqnum
|
---|
17 |
|
---|
18 | check1=`root -q -b fact/callisto6.C\("\"$seqfile\""\,"\"$outpath\""\) | tee $logfile | intgrep`
|
---|
19 |
|
---|
20 | case $check1 in
|
---|
21 | 0) printprocesslog "INFO callisto was successful for sequence "$seqnum" (check1=$check1)"
|
---|
22 | `dirname $0`/RunStar.sh $1 $seqfile &
|
---|
23 | ;;
|
---|
24 | *) printprocesslog "ERROR callisto6.C failed for sequence "$seqnum" (check1=$check1)"
|
---|
25 | ;;
|
---|
26 | esac
|
---|
27 |
|
---|
28 | finish
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.