diff wrapper.sh @ 49:5c6b9e99d576 draft

Uploaded
author davidvanzessen
date Wed, 18 Nov 2015 05:55:04 -0500
parents 099cc1254f74
children 8ba6afa1247a
line wrap: on
line diff
--- a/wrapper.sh	Thu Nov 12 09:46:37 2015 -0500
+++ b/wrapper.sh	Wed Nov 18 05:55:04 2015 -0500
@@ -66,7 +66,6 @@
 python $dir/mutation_analysis.py --input $outdir/merged.txt --genes $genes --includefr1 "${include_fr1}" --output $outdir/hotspot_analysis.txt
 echo "R AA histogram"
 Rscript $dir/aa_histogram.r $outdir/aa_mutations.txt $outdir/aa_histogram.png 2>&1
-
 cat $outdir/mutations.txt $outdir/hotspot_analysis.txt > $outdir/result.txt
 
 genes=(ca ca1 ca2 cg cg1 cg2 cg3 cg4 cm)
@@ -91,7 +90,7 @@
 	fi
 done < $outdir/result.txt
 echo "</table>" >> $output
-echo "<a href='unmatched.txt'>unmatched</a><br /><a href='motif_per_seq.txt'>motif per sequence</a><br /><a href='merged.txt'>all data</a><br /><a href='mutation_by_id.txt'>mutations by id</a><br /><a href='aa_id_mutations.txt'>AA mutations location by id</a><br />" >> $output
+echo "<a href='unmatched.txt'>unmatched</a><br /><a href='motif_per_seq.txt'>motif per sequence</a><br /><a href='merged.txt'>all data</a><br /><a href='mutation_by_id.txt'>mutations by id</a><br /><a href='aa_id_mutations.txt'>AA mutations location by id</a><br /><a href='absent_aa_id.txt'>Absant AA locations by id</a><br />" >> $output
 
 
 echo "<img src='all.png'/><br />" >> $output
@@ -111,6 +110,12 @@
 	echo "<img src='scatter.png'/><br />" >> $output
 	echo "<a href='scatter.txt'>download data</a><br />" >> $output
 fi
+if [ -a $outdir/frequency_ranges.png ]
+then
+	echo "<img src='frequency_ranges.png'/><br />" >> $output
+	echo "<a href='frequency_ranges_classes.txt'>download class data</a><br />" >> $output
+	echo "<a href='frequency_ranges_subclasses.txt'>download subclass data</a><br />" >> $output
+fi
 if [ -a $outdir/aa_histogram.png ]
 then
 	echo "<img src='aa_histogram.png'/><br />" >> $output