Hi, I was trying to HISAT2, which is suppose to be the improved version of tophat or tophat2, HISAT publication , I applied it to my data, it was much much faster comparing with tophat2. I just a tinny issue, how could I get the "alignment summary" (information such as successful alignment rate)
I read the manual: "When HISAT2 finishes running, it prints messages summarizing what happened. These messages are printed to the "standard error" ("stderr") filehandle", how could I get my information from the filehandle?
I ran my command like:
nohup hisat2 -x ~/Tool/hisat2-2.0.3-beta/hisat2index/genome/genome -U sample.fastq -S sample.sam > nohup.out&
I checked the nohup.out file, there was nothing in it. I guess this is a dumb question. Thanks for any suggestion.
If you run it in the standard way (without nohup and '&') it will nicely print the summary, which you can redirect to a file if you like, with at the end of your command the following:
But I would argue that the program is fast enough to run without nohup :p
@WouterDeCoster ,Thanks. I think you are right. HISAT2 is fast enough, which makes nohup not necessary anymore. I got the habit of using nohup and & from experience with tophat(2)...
Can I find alignment summary after completing job, I mean from SAM file ?
yes, with samtools stats