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

WFL-compatible one-shot workflow #356

Merged
merged 2 commits into from
Aug 18, 2021
Merged

WFL-compatible one-shot workflow #356

merged 2 commits into from
Aug 18, 2021

Conversation

dpark01
Copy link
Member

@dpark01 dpark01 commented Aug 17, 2021

This PR prepares sarscov2_illumina_full for use by workflow launcher in Terra off the Terra Data Repo. The main requirement is that the bulk of the compute happens in a single automated all-in-one workflow that is launchable with strictly the data coming from the data repo plus any invariant workspace variables. This PR accomplishes this by incorporating sarscov2_biosample_load as a subworkflow at the beginning of sarscov2_illumina_full. This invocation is optional and only happens if the required Array[File] biosample_attributes variable is an empty list. If this is empty, we interpret this to mean that BioSamples have not been registered and that the attributes table needs to be generated by calling sarscov2_biosample_load. The rest of the normal workflow proceeds as usual.

After merging this PR, WFL will be able to automate the vast majority of compute after sequencing is complete, from BioSample registration, to demux, depletion, assembly, lineage calling, and preparation of all submission (genbank, sra, gisaid) packages. Users would then need to subsequently follow this run with sarscov2_sequencing_reports to generate a cumulative metadata tsv, and then sarscov2_data_release if all looks good (the cumulative metadata tsv is required for delivery to CDC OAMD, but not NCBI or GISAID).

@dpark01 dpark01 marked this pull request as ready for review August 18, 2021 16:17
@dpark01
Copy link
Member Author

dpark01 commented Aug 18, 2021

@dpark01 dpark01 merged commit 550a71e into master Aug 18, 2021
@dpark01 dpark01 deleted the dp-wfl branch August 18, 2021 22:51
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