Hello,
I observe a strange problem and I am not able to find out what is the exact
reason of it. When I use "samtools mpileup | another_program", samtools
return error code 141. Everything else is OK (pileup is well created, all
data are well processed). I observe it when I use "set -o pipefail". The
overall return error status is 141 and it is really caused by samtools
because
echo "${PIPESTATUS[0]} ${PIPESTATUS[1]}"
141 0
It is interesting that this problem appears only with pipes. When I save
the output of samtools to a file, the error code is 0.
Do you have any ideas about the reason?
Thanks
Karel
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help