Facets

Getting the CWL

The CWL is available from the pluto-cwl repository:

https://github.com/mskcc/pluto-cwl/blob/master/cwl/run-facets-wrapper.cwlarrow-up-right

Option 1: Running with yaml generated through cwltool

Create a template yaml, as defined by the CWL:

cwltool --make-template pluto-cwl/cwl/run-facets-legacy-wrapper.cwl > my_input.yaml

Skipping the optional arguments, minimal my_input.yaml file could look like the following:

snp_pileup: # type “File”
  class: File
  path: /juno/work/ci/first_time_setup/test_facets/sample1.snp_pileup.gz
seed: “1000" # default value of type “string”. (optional)
sample_id: “abc” # type “string”
purity_min_nhet: “25" # default value of type “string”. (optional)
purity_cval: “100" # default value of type “string”. (optional)
min_nhet: “25" # default value of type “string”. (optional)
cval: “50" # default value of type “string”. (optional)
toil-cwl-runner \
    --singularity \
    --batchSystem single_machine \
    --disableCaching \
    --preserve-environment SINGULARITY_DOCKER_USERNAME SINGULARITY_DOCKER_PASSWORD \
    --outdir my_output_directory \
    run-facets-legacy-wrapper.cwl my_input.yaml

Option 2: Running tool directly through Command Line arguments

To view usage arguments to pass to the CWL, do

Example run (omits optional arguments):

Last updated

Was this helpful?