Last active
November 10, 2015 14:04
-
-
Save nuada/2049dfc432c6be6f9e56 to your computer and use it in GitHub Desktop.
Convert Illumina Beeline final report to PLINK format using beelinetools: https://github.com/pgxcentre/beelinetools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
zcat ${1} | ./beelinetools.py convert -i - -m /resources/arrays/HumanCore-12-v1/HumanCore-12-v1-0-B.csv -o /tmp | |
timestamp=$(date +%F-%T | tr -d ':') | |
mv /tmp/from_stdin.ped ${2}_${timestamp}.ped | |
mv /tmp/from_stdin.map ${2}_${timestamp}.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment