Mercurial > repos > davidvanzessen > shm_csr
diff wrapper.sh @ 3:275ab5175fd6 draft
Uploaded
author | davidvanzessen |
---|---|
date | Thu, 27 Oct 2016 09:40:45 -0400 |
parents | e85fec274cde |
children | 477e95b098fd |
line wrap: on
line diff
--- a/wrapper.sh Thu Oct 27 07:26:45 2016 -0400 +++ b/wrapper.sh Thu Oct 27 09:40:45 2016 -0400 @@ -260,17 +260,17 @@ done < $outdir/data_${func}.txt else - tmp=`cat $outdir/unmatched_${func}_n.txt` + tmp=`cat $outdir/all_${func}_n.txt` echo "<th><a href='matched_all_${func}.txt'>all (N = $tmp)</a></th>" >> $output while IFS=, read name cax cay caz ca1x ca1y ca1z ca2x ca2y ca2z cgx cgy cgz cg1x cg1y cg1z cg2x cg2y cg2z cg3x cg3y cg3z cg4x cg4y cg4z cmx cmy cmz unx uny unz allx ally allz do if [ "$name" == "FR R/S (ratio)" ] || [ "$name" == "CDR R/S (ratio)" ] ; then #meh - echo "<tr><td>$name</td><td>${unx}/${uny}</td></tr>" >> $output + echo "<tr><td>$name</td><td>${allx}/${ally}</td></tr>" >> $output elif [ "$name" == "Median of Number of Mutations (%)" ] ; then - echo "<tr><td>$name</td><td>${unz}%</td></tr>" >> $output + echo "<tr><td>$name</td><td>${allz}%</td></tr>" >> $output else - echo "<tr><td>$name</td><td>${unx}/${uny} (${unz}%)</td></tr>" >> $output + echo "<tr><td>$name</td><td>${allx}/${ally} (${allz}%)</td></tr>" >> $output fi done < $outdir/data_${func}.txt