You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the validation schema for an input file might depend on a parameter.
An example would be a pipeline requesting VCFs and chromosome region when using params.step = "panel_prep" and BAM file with a fasta reference when params.step="map".
The aim would be to have a conditional validation of the columns present in the input file depending of a selected parameters or a specific column in the input file.
What I'd like in any solution here is a decoupling between configuration resolution and sample sheet schema requirements.
So for example, if creating a data set in Seqera Platform, I'd like to be able to select only:
Pipeline
Parameter (eg. --input)
As soon as the samplesheet schema depends on a secondary parameter, you effectively have to fill in an entire launch template and complete the config / parameter resolution before you know how to apply the samplesheet schema. That adds a tonne of complexity into any UI and makes it a lot less feasible.
This is the reason that I prefer simply having multiple different parameters for the different schemas. Having a dropdown and selecting the sample sheet type from input1 / input2 etc is quite simple in terms of a UI.
Description of feature
Sometimes the validation schema for an input file might depend on a parameter.
An example would be a pipeline requesting VCFs and chromosome region when using
params.step = "panel_prep"
and BAM file with a fasta reference whenparams.step="map"
.The aim would be to have a conditional validation of the columns present in the input file depending of a selected parameters or a specific column in the input file.
What could be done include:
params.step
params.step
params.step
.params.step
and separate json.schemaThe text was updated successfully, but these errors were encountered: