Right. We probably won't have it submit from within singularity, but instead break it down into 3 steps.
1. run singularity up to the point of the Trinity phase 2
2. launch the Trinity phase 2 commands on the grid, but have those commands include running singularity at runtime.
3. rerun the step (1) with the --FORCE option set so that it just collects all results and generates the final outputs (this requires that all (2) jobs complete successfully.
This process could be wrapped into another shell script or something so that it's one launch instead of 3 separate ones, but for now, just doing it in 3 separate steps should work ok with minimal effort.