StanfordBioinformatics / trellis-mvp-functions

Trellis serverless data management framework for variant calling of VA MVP whole-genome sequencing data.
6 stars 1 forks source link

Should I refactor launch functions into single function? #35

Closed pbilling closed 1 year ago

pbilling commented 1 year ago

Current method for adding new bioinformatics (or other) tasks to Trellis is to create a new Cloud Function specifically tailored to launch jobs of that type of task (e.g. "samtools flagstat"). Limitations of generating separate functions for each task include:

Can I create a standard function that launches all types of (dsub) jobs, based on a YAML configuration file?

pbilling commented 1 year ago

Yes.

It's worth trying. The amount of work generated by trying to maintain all these different functions is going to keep growing beyond my means and the current model is generally not scalable.