Command to download "Height" information from UKB with ukbfetch
1
0
Entering edit mode
4.4 years ago
Shicheng Guo ★ 9.5k

Hi All,

Who can share a command to download Height information from UKB with ukbfetch.

Thanks.

UKB height ukbfetch • 1.1k views
ADD COMMENT
2
Entering edit mode
4.4 years ago
Sam ★ 4.8k

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.)

ADD COMMENT

Login before adding your answer.

Traffic: 1894 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6