broadinstitute / viral-pipelines

viral-ngs: complete pipelines
Other
60 stars 28 forks source link

parameterize table names in create_or_update_sample_tables task #533

Open tomkinsc opened 6 months ago

tomkinsc commented 6 months ago

This PR parameterizes table names used in the create_or_update_sample_tables task so the user can override "flowcell", "library", and "sample" with values of their choice. Since create_or_update_sample_tables reads from either a live table or json files provided as input (from demux), this should fall back gracefully to the default names if overridden but the json files have the old variable names

It also emits tsvs with the table data, for debugging and/or so in the future the table data gathered by the create_or_update_sample_tables task can be uploaded using theupload_entities_tsv task.