File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Scripts are generically categorized within semi-descriptive tabs and are designe
1111Open ** ScriptManager-Tutorial.docx** available in root directory
1212
1313## Build Instructions
14+ ### From source
1415(after cloning this repo):
1516```
1617$ cd scriptmanager
@@ -19,8 +20,15 @@ $ ./gradlew build
1920
2021The compiled JAR file will be output into the ` build/libs ` directory.
2122
23+ ### Singularity
24+ ```
25+ $ cd scriptmanager
26+ $ singularity build --fakeroot scriptmanager.sif scriptmanager.def
27+ ```
28+
2229## Running ScriptManager
2330
31+ ### .jar file
2432To run the GUI verson of ScriptManager, you can double click the compiled JAR file or run the followinug command in the terminal
2533```
2634$ java -jar /path/to/jarfile
@@ -36,6 +44,16 @@ $ java -jar /path/to/jarfile -h
3644$ java -jar /path/to/jarfile coordinate-manipulation bed-to-gff BEDFILE.bed -o OUTPUT.gff
3745```
3846
47+ ### Singularity
48+ ```
49+ $ singularity exec scriptmanager.sif scriptmanager ${command}
50+ ```
51+
52+ ** Example:**
53+ ```
54+ $ singularity exec scriptmanager.sif scriptmanager coordinate-manipulation bed-to-gff BEDFILE.bed -o OUTPUT.gff
55+ ```
56+
3957## Current scripts available (210106):
4058
4159** BAM Statistics:**
Original file line number Diff line number Diff line change 1+ Bootstrap: docker
2+ From: bitnami/minideb:latest
3+
4+ %post
5+ apt-get -y update
6+ apt-get -y install default-jre git
7+ git clone https://github.com/CEGRcode/scriptmanager.git
8+ cd scriptmanager
9+ ./gradlew build
10+ apt-get -y remove git
11+ echo '#!/bin/bash\njava -jar /scriptmanager/build/libs/'$(ls /scriptmanager/build/libs) '"$@"' > /usr/bin/scriptmanager
12+ chmod +x /usr/bin/scriptmanager
13+ cd /
You can’t perform that action at this time.
0 commit comments