]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_scripts/QA_Solexa_report.sh
updated biopieces installer
[biopieces.git] / bp_scripts / QA_Solexa_report.sh
index 43f1ff101598cbb840152aeb405e5a4411ac03e6..e76e1d91bc969f08fc7dfea45e005d345994df41 100755 (executable)
@@ -46,7 +46,7 @@ function pcat
 
 for fastq_file in $fastq_files; do
     base=`basename $fastq_file`
-    date=`date | sed 's/[ :]/_/g'`
+    date=`date | sed 's/[ :]/_/g' | sed 's/__/_/g'`
     tmp_dir="$HOME/QA_Solexa_report_$date"
     out_file="$tmp_dir/QA_Solexa_report_$date.txt"
     plot_scores="$tmp_dir/plot_scores.txt"