Is it possible to include multiple bash scripts in a single applet?

I have a complicated applet and I would ideally like to split it into multiple bash scripts. Looking at the tutorial here (https://documentation.dnanexus.com/developer/apps/advanced-app-tutorial) , it seems to suggest that there can only be one script.sh - is that correct? Or is it possible to nest multiple scripts in `scr`? Thank you!

Comments

1 comment

  • Comment author
    Chai Fungtammasan DNAnexus Team

    you can use the appfolder/src/script.sh to call multiple script that store elsewhere.

    For me, I usually put other scripts into appfolder/resources/home/dnanexus. Whatever in /home/dnanexus of resources folder of your local app would appear in home directory inside the worker in the cloud.

     

    You may see more extensive tutorial here.

    https://www.youtube.com/watch?v=A_iki_50Ig0&t=2s

    0

Please sign in to leave a comment.