Mercurial > repos > davidvanzessen > baseline_bayesian_estimation
comparison wrapper.sh @ 7:45a5e3bd9df4 draft
Uploaded
author | davidvanzessen |
---|---|
date | Mon, 18 Aug 2014 05:54:51 -0400 |
parents | 8a4183eed741 |
children | 525b58fc8622 |
comparison
equal
deleted
inserted
replaced
6:8a4183eed741 | 7:45a5e3bd9df4 |
---|---|
46 unzip $current -d $PWD/$id/ >> $PWD/unziplog.log | 46 unzip $current -d $PWD/$id/ >> $PWD/unziplog.log |
47 summaryfile="$PWD/summary_${id}.txt" | 47 summaryfile="$PWD/summary_${id}.txt" |
48 gappedfile="$PWD/gappednt_${id}.txt" | 48 gappedfile="$PWD/gappednt_${id}.txt" |
49 filtered="$PWD/filtered_${id}.txt" | 49 filtered="$PWD/filtered_${id}.txt" |
50 filecount=`ls -l $PWD/$id/ | wc -l` | 50 filecount=`ls -l $PWD/$id/ | wc -l` |
51 if [ "$filecount" -eq "1" ] | 51 if [[ "$filecount" -eq "2" ]] |
52 then | 52 then |
53 cat $PWD/$id/*/1_* > $summaryfile | 53 cat $PWD/$id/*/1_* > $summaryfile |
54 cat $PWD/$id/*/2_* > $gappedfile | 54 cat $PWD/$id/*/2_* > $gappedfile |
55 else | 55 else |
56 cat $PWD/$id/1_* > $summaryfile | 56 cat $PWD/$id/1_* > $summaryfile |