Skip to content

Latest commit

 

History

History
64 lines (54 loc) · 2.11 KB

UKB_RAP_overview.md

File metadata and controls

64 lines (54 loc) · 2.11 KB

General information

  1. Create a project: https://dnanexus.gitbook.io/uk-biobank-rap/getting-started/quickstart/creating-a-project
  2. Viewing and creating a cohort
  1. Command line interphase:
#sign in and out
dx login
dx logout
dx whoami

# select project
dx select

# help
dx -h/--help

# run
dx run

# 
dx find
dx mv
dx download
dx pwd
dx ls
dx mkdir #creaet a directory
  1. Swiss Army Knife: https://platform.dnanexus.com/app/swiss-army-knife
  2. Other useful sites:

Files structure

ukb<FIELD-ID>_c<CHROM>_b<BLOCK>_v<VERSION>.<SUFFIX>
- 23157 is the data field: https://biobank.ctsu.ox.ac.uk/ukb/field.cgi?id=23157 
- c1 is chromosome 1
- b1 is block 1

Example commands

Example 1 with bcftools

dx run app-swiss-army-knife \
-iin={projectID}:{path} \
-icmd="bcftools view -g het * -O z > cX_b0_v1-filtered.vcf.gz" \
--instance-type mem1_ssd1_v2_x2 \
--name bcftools_test

FAQ

  1. Environment snapshot: https://documentation.dnanexus.com/user/jupyter-notebooks#environment-snapshots
  2. How to run Jupyter notebooks non-interactively: https://documentation.dnanexus.com/user/jupyter-notebooks/references#run-notebooks-non-interactively
  3. Check for cost: https://20779781.fs1.hubspotusercontent-na1.net/hubfs/20779781/Product Team Folder/Rate Cards/BiobankResearchAnalysisPlatform_Rate Card_Current.pdf