Sniffles
Sniffles copied to clipboard
sniffles will be stuck if the output is redirected to a file
I use sniffles call variants on cluster. Firstly, I submitted sniffles jobs through slurm system. Every time it will be stuck at:
Info: xxx of xxx contigs in the input sample have associated tandem repeat annotations.
On the other hand, I ran it interactively with no problem. But when I tried to get the output in a file, that happened again. The command I use to redirect is
#!/bin/bash
{
<sniffles command>
} 2>&1 | tee -a log_file
I realize the redirecting may be the point (slurm system normally redirects stdout&stderr to an slurm.out file).