Question: beagle running error: Insufficient space for shared memory file
gravatar for Shicheng Guo
20 months ago by
Shicheng Guo8.5k
Shicheng Guo8.5k wrote:

I want to phase the data (VCF) with beagle by the following command.

java -jar -Xmx32g beagle.16May19.351.jar gt=All_samples_Exome_QC.temp.vcf.recode.clean.chr19.vcf.recode.vcf ref=~/hpc/db/hg19/beagle/EUR/chr19.1kg.phase3.v5a.EUR.vcf.gz map=~/hpc/db/hg19/beagle/ out=All_samples_Exome_QC.chr19.vcf

However, I received an error:

Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
Try using the option to select an alternate temp location.

Error: unrecognized parameter:

Any suggestion?


beagle • 913 views
ADD COMMENTlink modified 20 months ago • written 20 months ago by Shicheng Guo8.5k
gravatar for h.mon
20 months ago by
h.mon32k wrote:

You are splitting the -jar option from its argument beagle.16May19.351.jar. and -Xmx32g are arguments to the Java Virtual Machine, so it must come before the jar executable name. After -jar beagle.16May19.351.jar, must come the Beagle-specific options and arguments.

java -jar -Xmx32g beagle.16May19.351.jar \
  gt=All_samples_Exome_QC.temp.vcf.recode.clean.chr19.vcf.recode.vcf \
  ref=/gpfs/home/guosa/hpc/db/hg19/beagle/EUR/chr19.1kg.phase3.v5a.EUR.vcf.gz \
  map=/gpfs/home/guosa/hpc/db/hg19/beagle/ \
ADD COMMENTlink written 20 months ago by h.mon32k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2677 users visited in the last hour