Question: beagle running error: Insufficient space for shared memory file
0
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/plink.chr19.GRCh37.map 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:
   32389
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

Error: unrecognized parameter: -Djava.io.tmpdir=./temp/

Any suggestion?

Thanks.

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

You are splitting the -jar option from its argument beagle.16May19.351.jar. -Djava.io.tmpdir 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 -Djava.io.tmpdir=./temp/ -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/plink.GRCh37.map.zip \
  out=All_samples_Exome_QC.chr19.vcf
ADD COMMENTlink written 20 months ago by h.mon32k
Please log in to add an answer.

Help
Access

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
_