Hi All,
Who can share a command to download Height
information from UKB
with ukbfetch
.
Thanks.
Hi All,
Who can share a command to download Height
information from UKB
with ukbfetch
.
Thanks.
You will need to follow the instruction here starting from page 8. You will need the md5 password to be able to access the data (which should be attached in an email sent to the PI of the UKB application). After you've got the encrypted data, you can convert it to R format or csv format using ukbconv (from page 14). After that, you should have a fields file, containing the field ID in your data. You can grep -n the fieldID of height (there are multiple measurement of height, make sure you get the one you want. Standing Height is 50). Once you've got the line number of the field, then you can use awk to extract it (remember to include the first field, which is the sample ID.)
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.