Hey everybody. I'm trying to cluster set of sequences by cd-hit. I'm using cd-hit on linux by the way. I'm wondering how can I know the progress of my job while I've sent my job to background. Is there any log file?? Can anyone help me with that?? Thanks.
I suggest you run your job in the background, redirect all of its outputs (both
stderr) into a file, and use
tail -f to monitor the output. Like so:
cd-hit -i ../TP_MP_Project/Mesophiles_final.fasta -o ../TP_MP_Project/Output -c 0.4 -n 2 -M 16000 -T 8 >& log &
tail -f log
If you use a different shell from
tcsh your redirection may be different from
>&, but either way it needs to end with
& like any background job.