ChristopherBarrington / scamp

single cell analysis and more pipeline
https://christopherbarrington.github.io/scamp/
0 stars 0 forks source link

functions in a library #95

Open ChristopherBarrington opened 11 months ago

ChristopherBarrington commented 11 months ago

eg https://github.com/nf-core/rnaseq/blob/3bec2331cac2b5ff88a1dc71a21fab6529b57a0f/lib/WorkflowMain.groovy

may be cleaner to keep checking/validation in this type of structure

ChristopherBarrington commented 11 months ago

Could add new methods to existing nextflow/groovy classes to simplify channel processing.

Add routinely used or combined methods into one method that can be called in a chain of commands.

Add current functions as methods, eg concatenation of array of maps could be a method of the array class?