I would like to ask you a question. Is it possible to create an applet to use the tools I installed in my environment and load the applet to use it later for other analysis? if so May I know how to do it? Former User of DNAx Community_6 30 January 2023 00:00 2 comments Comments 2 comments Sort by Date Votes Ondrej Klempir DNAnexus Team 30 January 2023 16:59 There is a couple of options how to manage software dependencies in the custom applets. I remember that in the past I used for example: a) "execDepends" section in the dxapp.json (https://documentation.dnanexus.com/developer/apps/execution-environment#external-utilities)b) assetDepends, i.e. I created an asset type object and then pointed my applet to it (https://documentation.dnanexus.com/developer/apps/dependency-management/asset-build-process)c) added binaries directly to the resources directory of my applet (https://documentation.dnanexus.com/developer/apps/execution-environment#packaging-your-own-resources)d) Installed dependencies in the JupyterLab env, saved snapshot and later ran JupyterLab in non-interactive way using a snapshot In my eyes, the best for managing dependencies, it is Docker technology. You can watch this tutorial: https://www.youtube.com/watch?v=aOP_iSZpR6gIt is focused on docker (which is a great tool for managing dependencies). It is showing a demo on how to use docker containers in applets. 0 Former User of DNAx Community_6 31 January 2023 15:16 Thank you so much for the help. I will look into it and get back to you if any queries or concerns. 0 Please sign in to leave a comment.
Comments
2 comments
There is a couple of options how to manage software dependencies in the custom applets. I remember that in the past I used for example:
a) "execDepends" section in the dxapp.json (https://documentation.dnanexus.com/developer/apps/execution-environment#external-utilities)
b) assetDepends, i.e. I created an asset type object and then pointed my applet to it (https://documentation.dnanexus.com/developer/apps/dependency-management/asset-build-process)
c) added binaries directly to the resources directory of my applet (https://documentation.dnanexus.com/developer/apps/execution-environment#packaging-your-own-resources)
d) Installed dependencies in the JupyterLab env, saved snapshot and later ran JupyterLab in non-interactive way using a snapshot
In my eyes, the best for managing dependencies, it is Docker technology. You can watch this tutorial: https://www.youtube.com/watch?v=aOP_iSZpR6g
It is focused on docker (which is a great tool for managing dependencies). It is showing a demo on how to use docker containers in applets.
Thank you so much for the help. I will look into it and get back to you if any queries or concerns.
Please sign in to leave a comment.