xjtu-omics / msisensor-pro

Microsatellite Instability (MSI) detection using high-throughput sequencing data.
Other
93 stars 20 forks source link

Less than 200% cpu usage even set -b to 10 #41

Closed xzhub closed 2 years ago

xzhub commented 2 years ago

I am using pengjia1110/msisensor-pro to analyze a pair of Tumor and Normal bam files. The command is :

docker run --cpus=10 -i --rm pengjia1110/msisensor-pro msisensor-pro msi -b 10 -d ... -n .. -t .. -e .. -o .. 

I only observed max ~150% cpu usage, and the speed is almost the same with -b 1, if not slower.

Is this normal? or if I did anything wrong? Thanks!

PengJia6 commented 2 years ago

Hi,

It is normal, because not all steps are paralleled in MSIsensor-pro.

If you have many samples, you can run multipe samples with -b1 at same time.

Best, Peng

xzhub commented 2 years ago

Got it, thanks!