Mercurial > repos > davidvanzessen > argalaxy_tools
comparison report_clonality/r_wrapper.sh @ 33:6603110e5be3 draft
Uploaded
author | davidvanzessen |
---|---|
date | Tue, 28 Mar 2017 08:38:58 -0400 |
parents | 7c33029fd63d |
children | dc6c53a11d7d |
comparison
equal
deleted
inserted
replaced
32:7c33029fd63d | 33:6603110e5be3 |
---|---|
91 circos_file="$outputDir/${sample}_VJ_circos.txt" | 91 circos_file="$outputDir/${sample}_VJ_circos.txt" |
92 echo -e -n "labels$(cat ${circos_file})" > ${circos_file} | 92 echo -e -n "labels$(cat ${circos_file})" > ${circos_file} |
93 cat "${circos_file}" | $CIRCOSTOOLS/tableviewer/bin/parse-table -configfile $dir/circos/parse-table.conf 2>&1 | $CIRCOSTOOLS/tableviewer/bin/make-conf -dir $outputDir/circos/ | 93 cat "${circos_file}" | $CIRCOSTOOLS/tableviewer/bin/parse-table -configfile $dir/circos/parse-table.conf 2>&1 | $CIRCOSTOOLS/tableviewer/bin/make-conf -dir $outputDir/circos/ |
94 $CIRCOSDIR/circos -conf $outputDir/circos/circos.conf 2>&1 | 94 $CIRCOSDIR/circos -conf $outputDir/circos/circos.conf 2>&1 |
95 mv $outputDir/circos/circos.png $outputDir/circosVJ_${sample}.png | 95 mv $outputDir/circos/circos.png $outputDir/circosVJ_${sample}.png |
96 mv $outputDir/circos/circos.pdf $outputDir/circosVJ_${sample}.pdf | |
96 | 97 |
97 | 98 |
98 if [[ "$useD" == "true" ]] ; then | 99 if [[ "$useD" == "true" ]] ; then |
99 circos_file="$outputDir/${sample}_VD_circos.txt" | 100 circos_file="$outputDir/${sample}_VD_circos.txt" |
100 echo -e -n "labels$(cat ${circos_file})" > ${circos_file} | 101 echo -e -n "labels$(cat ${circos_file})" > ${circos_file} |
101 cat "${circos_file}" | $CIRCOSTOOLS/tableviewer/bin/parse-table -configfile $dir/circos/parse-table.conf 2>&1 | $CIRCOSTOOLS/tableviewer/bin/make-conf -dir $outputDir/circos/ | 102 cat "${circos_file}" | $CIRCOSTOOLS/tableviewer/bin/parse-table -configfile $dir/circos/parse-table.conf 2>&1 | $CIRCOSTOOLS/tableviewer/bin/make-conf -dir $outputDir/circos/ |
102 $CIRCOSDIR/circos -conf $outputDir/circos/circos.conf 2>&1 | 103 $CIRCOSDIR/circos -conf $outputDir/circos/circos.conf 2>&1 |
103 mv $outputDir/circos/circos.png $outputDir/circosVD_${sample}.png | 104 mv $outputDir/circos/circos.png $outputDir/circosVD_${sample}.png |
105 mv $outputDir/circos/circos.pdf $outputDir/circosVD_${sample}.pdf | |
104 | 106 |
105 circos_file="$outputDir/${sample}_DJ_circos.txt" | 107 circos_file="$outputDir/${sample}_DJ_circos.txt" |
106 echo -e -n "labels$(cat ${circos_file})" > ${circos_file} | 108 echo -e -n "labels$(cat ${circos_file})" > ${circos_file} |
107 cat "${circos_file}" | $CIRCOSTOOLS/tableviewer/bin/parse-table -configfile $dir/circos/parse-table.conf 2>&1 | $CIRCOSTOOLS/tableviewer/bin/make-conf -dir $outputDir/circos/ | 109 cat "${circos_file}" | $CIRCOSTOOLS/tableviewer/bin/parse-table -configfile $dir/circos/parse-table.conf 2>&1 | $CIRCOSTOOLS/tableviewer/bin/make-conf -dir $outputDir/circos/ |
108 $CIRCOSDIR/circos -conf $outputDir/circos/circos.conf 2>&1 | 110 $CIRCOSDIR/circos -conf $outputDir/circos/circos.conf 2>&1 |
109 mv $outputDir/circos/circos.png $outputDir/circosDJ_${sample}.png | 111 mv $outputDir/circos/circos.png $outputDir/circosDJ_${sample}.png |
110 | 112 mv $outputDir/circos/circos.pdf $outputDir/circosDJ_${sample}.pdf |
111 fi | 113 fi |
112 done | 114 done |
113 echo "</title><script type='text/javascript' src='jquery-1.11.0.min.js'></script>" >> $outputFile | 115 echo "</title><script type='text/javascript' src='jquery-1.11.0.min.js'></script>" >> $outputFile |
114 echo "<link rel='stylesheet' type='text/css' href='pure-min.css'>" >> $outputFile | 116 echo "<link rel='stylesheet' type='text/css' href='pure-min.css'>" >> $outputFile |
115 echo "<script type='text/javascript' src='tabber.js'></script>" >> $outputFile | 117 echo "<script type='text/javascript' src='tabber.js'></script>" >> $outputFile |