Entering edit mode
2.1 years ago
ongchip
•
0
Hello
When filtering SNPs, the command is
bcftools view my_var.bcf | vcfutils.pl varFilter - > my_final.vcf
However, I want to use "nohup" with this command to be performed in the background.
nohup bcftools view my_var.bcf | vcfutils.pl varFilter - > my_final.vcf > logs.txt &
I used this command but it seems not working.
How I can change the command?
Define 'not working'?
Pierre's suggestion is the better option, but have you looked at the log file? When you run a process with nohup and as a fork, you will often not be able to interrogate any terminal output unless you capture it in a separate file (but you will likely need to redirect
stderr
in to the logfile too.