Mercurial > repos > nicolas > oghma
annotate beagle_phase.sh @ 100:09827a9f75a6 draft
Uploaded
| author | nicolas | 
|---|---|
| date | Mon, 31 Oct 2016 06:44:04 -0400 | 
| parents | 10afd4b2847b | 
| children | 
| rev | line source | 
|---|---|
| 20 | 1 #!/bin/bash | 
| 2 | |
| 25 | 3 # variable affectation | 
| 20 | 4 vcf_input=$1 | 
| 5 out="out_phased" | |
| 6 | |
| 25 | 7 # create temporary directory | 
| 20 | 8 directory=`dirname $0` | 
| 9 mkdir tmpdir$$ | |
| 10 cp -rf $vcf_input tmpdir$$/input.vcf | |
| 25 | 11 # launch beagle | 
| 20 | 12 java -jar $directory/beagle.jar gt=$vcf_input out=$out | 
| 25 | 13 # remove temporary directory | 
| 20 | 14 rm -rf tmpdir$$ | 
