dnanexus / UKB_RAP

Access share reviewed code & Jupyter Notebooks for use on the UK Biobank (UKBB) Research Application Platform. Includes resources from DNAnexus webinars, online trainings and workshops.
MIT License
121 stars 46 forks source link

Json format for WDL workflow #24

Closed dianacornejo closed 1 year ago

dianacornejo commented 1 year ago

Hi @anastazie-dnanexus

Thanks for all the tutorials on UKB-RAP use

I'm very new to WDL and I was wondering how would the json file look for this specific example of the geno_bgen_files/geno_sample_files. Is this a text file that contains the name of one bgen file per line? Can you provide an example of this within the DNAnexus file system?

workflow bgens_qc {
  input {
    Array[File]+ geno_bgen_files
    Array[File]+ geno_sample_files
    Boolean ref_first = true
    File? keep_file
    Array[File] extract_files
    String plink2_options = ""
    String output_prefix
  }

Thanks a lot

anastazie-dnanexus commented 1 year ago

Thank you for your comment. I moved WDL to folder and added JupyterNotebook to generate JSON file with input files. More details in README.