You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+51-3
Original file line number
Diff line number
Diff line change
@@ -79,9 +79,6 @@ We provide Docker container for local use. Please note, the docker container was
79
79
```
80
80
# with docker container
81
81
docker run --rm -p 3838:3838 jd21/methylr:latest
82
-
83
-
# with singularity container
84
-
singularity run docker://jd21/methylr:latest
85
82
```
86
83
87
84
##### Step:2 - web-browser
@@ -90,6 +87,57 @@ Open the web-browser (check above for your OS), and type:
90
87
http://localhost:3838
91
88
```
92
89
90
+
**For Singularity container**
91
+
Thanks to WiilieYu (https://github.com/JD2112/methylr/issues/3), we found a problem on running Singularity/Apptainer container on methylR and using a script from [sigularity-shiny](https://github.com/vsoch/singularity-shiny), we solved the issue. Please run the commands below for Singularity container (tested with Singularity v3.8.6) -
92
+
93
+
1. To run the [Singularity](https://docs.sylabs.io/guides/latest/user-guide/) or [Apptainer](https://apptainer.org/docs/user/main/index.html), please use the following commandlines -
94
+
95
+
```
96
+
# Copy prepare_template.sh to <YOUR_LOCAL_PATH> and run
97
+
/bin/bash prepare_template.sh start
98
+
```
99
+
The above command run will generate an script on the terminal and command to run on the server,
100
+
101
+
```
102
+
$ /bin/bash prepare_template.sh start
103
+
Generating shiny configuration...
104
+
port: 15910 # PLEASE NOTE THIS WILL BE CHANGED IN YOUR COMPUTER
105
+
logs: /tmp/shiny-server.ie3djR
106
+
base: /srv/shiny-server
107
+
run_as: jyotirmoy #<YOUR_USER_NAME>
108
+
Server logging will be in /tmp/shiny-server.ie3djR
109
+
110
+
To run your server:
111
+
112
+
singularity run --bind /tmp/shiny-server.ie3djR/logs:/var/log/shiny \
0 commit comments