Allow writing multiple files into a single analysis record#126
Allow writing multiple files into a single analysis record#126
Conversation
🐳 Docker Image BuiltA new Docker image has been built for this PR: Image: Pull command: docker pull australia-southeast1-docker.pkg.dev/cpg-common/images-dev/cpg_flow:fb5b9c981a5530bd11d6af8b9da0dc5b1e2d6862🔗 View in Google Cloud Console This comment was automatically generated by the Docker workflow. |
|
I haven't reviewed this in full, but I think this can be implemented with a backwards-compatible interface between stages and CPG-Flow. The currently supported values for to where the expected analysis entry would be 1: 'primary' output We could also extend this to support multiple analysis types at the same time, where analysis_type could either be a string (current), i.e. all outputs are given the same type. This could be moved to a to Which would be read as two analysis entries: 1: 'primary' output: This API would be fully backwards compatible. There's a few fail-worthy scenarios:
One or both of these behaviours would preserve all the current stage decorators we have, whilst adding new opt-in behaviour. |
Re-implementation of populationgenomics/production-pipelines#1261