Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update iChor WDLs for WDL 1.0 #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geoffjentry
Copy link

This PR does a couple of things:

  1. Updates to WDL 1.0, including necessary syntactical changes
  2. Removes the use of optional inputs when a default is provided
  3. Minor formatting adjustments

The removal of the optionals was useful because of constructs like disks: "local-disk " + diskGB + " HDD" which is not technically valid (e.g. what if diskGB is None?) although Cromwell does allow it. It also removed some warnings from miniwdl check listing.

I don't have access to the docker containers at the moment so can't run this to verify the changes are valid. They shouldn't be modifying any behavior, but it'd be good to run this first before merging.

Float maxFracCNASubclone
Float maxFracGenomeSubclone
input {
File bam_file
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These weren't modified, they're just tabbed over one level

String sample_id
Int bin_size

Int min_qual = 20
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned, the optionals with a default were converted to standard types

Float altFracThreshold
Int lambdaScaleHyperParam
Int rmCentromereFlankLength
String plotFileType = "pdf"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one other example of the de-optioning


call bundle_plots {
input: CNA_plots = CNA_plots,
summary_script = summary_script,
sample_set_name = sample_set_name
}
output {
bundle_plots.*
File bundledPDF = bundle_plots.bundledPDF
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's only this one output from bundle_plots, so I just kept the same name from the task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant