Commit 06475c3c authored by Nikos Sidiropoulos's avatar Nikos Sidiropoulos
Browse files

Set delimiter to nothing when pasting fastq files

parent 2817f1a6
Loading
Loading
Loading
Loading
+2 −2
Changes for PBS/scripts/countligations.sh: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -27,10 +27,10 @@
# Juicer version 1.5
if [ "$usegzip" -eq 1 ]
then 
    num1=$(paste <(zcat $name1$ext) <(zcat $name2$ext) | grep -c $ligation)
    num1=$(paste -d "" <(zcat ${name1}${ext}) <(zcat ${name2}${ext}) | grep -c $ligation)
    num2=$(zcat ${name1}${ext} | wc -l | awk '{print $1}')
else
    num1=$(paste $name1$ext $name2$ext | grep -c $ligation)
    num1=$(paste -d "" ${name1}${ext} ${name2}${ext}| grep -c $ligation)
    num2=$(wc -l ${name1}${ext} | awk '{print $1}')
fi
echo -ne "$num1 " > ${name}${ext}_norm.txt.res.txt