The return value of picard tools goes to standard output which makes it hard to pipeline these tools nicely.