Mercurial > repos > dereeper > sniplay
view ped2bed/ped2bed.sh @ 10:c6640c49fd01 draft
planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
author | dereeper |
---|---|
date | Mon, 16 Apr 2018 09:00:24 -0400 |
parents | 420b57c3c185 |
children |
line wrap: on
line source
#!/bin/bash ped=$1 map=$2 bed=$3 fam=$4 bim=$5 logs=$6 directory=`dirname $0` mkdir tmpdir$$ cp -rf $ped tmpdir$$/input.ped cp -rf $map tmpdir$$/input.map plink --file tmpdir$$/input --out tmpdir$$/out --make-bed --noweb >>$logs 2>&1 mv tmpdir$$/out.bed $bed mv tmpdir$$/out.fam $fam mv tmpdir$$/out.bim $bim