Mercurial > repos > nicolas > oghma
comparison beagle_impute.sh @ 18:27fb6c2a98a3 draft
Uploaded
| author | nicolas |
|---|---|
| date | Fri, 21 Oct 2016 06:30:52 -0400 |
| parents | |
| children | 79abc9d00340 |
comparison
equal
deleted
inserted
replaced
| 17:58b58d95b0e0 | 18:27fb6c2a98a3 |
|---|---|
| 1 #!/bin/bash | |
| 2 | |
| 3 | |
| 4 vcf_input=$1 | |
| 5 ref=$2 | |
| 6 out="out_imputed" | |
| 7 | |
| 8 directory=`dirname $0` | |
| 9 | |
| 10 mkdir tmpdir$$ | |
| 11 | |
| 12 cp -rf $vcf_input tmpdir$$/input.vcf | |
| 13 | |
| 14 | |
| 15 java -Xmx2g -jar $directory/beagle.jar ref=$ref gt=$vcf_input out=$out | |
| 16 | |
| 17 | |
| 18 rm -rf tmpdir$$ |
