Entering edit mode
4.0 years ago
oldtownroald
•
0
I'm currently trying to run a samtools sort on some bam files
nohup samtools sort sample.bam s0rted.bam &
and I keep on getting [ 1]+ Exit 1 nohup samtools sort sample.bam s0rted.bam
when I press enter
Why is this happening and how do I fix this problem?
I'm trying to sort the file to index it!
I personally dislike the habit of nohuping and sending processes to background. Either use a batch system if you are on a cluster or use something like GNU screen to be able to log in- and out of processes without the need to have a terminal open. Beyond that maybe your command is wrong, the syntax for
sort
you use is very old, what is the output ofsamtools --version
?If I'm not wrong
nohup
prints a log file callednohup.out
. What is the output/content of this file?