Calling Rscripts in the github from terra (via dockstore)

Hi, I have a wdl workflow setup in a way as shown in my github repo. GitHub - smk5g5/Single_cell_WDLworkflows: for dockstore The workflow is supposed to call out R scripts that are there in the github repository in the scripts folder. Would porting the workflow from dockstore to terra allow for calling the R scripts as is as well or do I need to put them in the docker image? How do people go about it in such cases?

Hello, thanks for the question!

Yes, a good portable approach might be to put the R scripts (and any other necessary software) into containers. This link details how you could do so:

Please take a look, and let us know if you have any questions.