Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
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
{{ message }}
mariux64
/
pkg-scripts
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
20
Pull requests
5
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
f5a7909
system
tools
.gitignore
Anaconda3-5.0.1-0.build.sh
CellProfiler-2.2.0-0.build.sh
CellProfiler-3.1.5-0.build.sh
CellProfiler-4.2.1-0.build.sh
LibreCAD-2.2.0.rc1-0.build.sh
R-3.3.3-0.build.sh
R-3.3.3-1.build.sh
R-3.3.3-2.build.sh
R-3.4.0-0.build.sh
R-3.4.3-0.build.sh
R-3.4.4-0.build.sh
R-3.5.1-0.build.sh
R-3.5.1-1.build.sh
R-3.5.1-2.build.sh
R-3.5.2-0.build.sh
R-3.5.3-0.build.sh
R-3.6.0-0.build.sh
R-3.6.1-0.build.sh
R-3.6.1-1.build.sh
R-3.6.3-0.build.sh
R-4.0.1-0.build.sh
R-4.0.5-0.build.sh
R-4.1.0-0.build.sh
R-4.2.1-0.build.sh
R-4.2.2-0.build.sh
R-devel-2017-02-02-0.build.sh
R-devel-2017-02-02-1.build.sh
TEMPLATE.sh
apache-ant-1.10.12-0.build.sh
apache-maven-3.6.0-0.build.sh
apache-maven-3.8.4-0.build.sh
atom-1.60.0-0.build.sh
atom-1.60.0-1.build.sh
audacity-2.4.2-0.build.sh
avidemux-2.7.1-0.build.sh
avidemux-2.8.0-0.build.sh
bazel-0.28.1-0.build.sh
bazel-3.4.1-0.build.sh
bazel-4.1.0-0.build.sh
bazel-5.1.0-0.build.sh
boost-1.63.0-0.build.sh
boost-1.73.0-0.build.sh
brave-browser-0.64.60-0.build.sh
brave-browser-0.66.101-0.build.sh
brave-browser-1.20.108-0.build.sh
brave-browser-1.29.79-0.build.sh
brlcad-7.28.0-0.build.sh
chromium-100.0.4896.60-0.build.sh
chromium-104.0.5112.101-0.build.sh
chromium-66.0.3331.2-0.build.sh
chromium-66.0.3331.2-1.build.sh
chromium-72.0.3626.121-0.build.sh
chromium-73.0.3683.75-0.build.sh
chromium-76.0.3809.100-0.build.sh
chromium-76.0.3809.100-1.build.sh
chromium-77.0.3865.90-0.build.sh
chromium-78.0.3904.87-0.build.sh
chromium-81.0.4044.92-0.build.sh
chromium-85.0.4183.121-0.build.sh
chromium-86.0.4240.183-0.build.sh
chromium-89.0.4389.128-0.build.sh
chromium-89.0.4389.90-0.build.sh
chromium-98.0.4758.80-0.build.sh
claws-mail-3.17.4-0.build.sh
concorde-03.12.19-0.build.sh
concorde-03.12.19-1.build.sh
cuda-10.0.130-0.build.sh
cuda-10.1.105-0.build.sh
cuda-10.2.89-0.build.sh
cuda-10.2.89-1.build.sh
cuda-11.0.3-0.build.sh
cuda-11.1.0-0.build.sh
cuda-11.1.1-0.build.sh
cuda-11.3.1-0.build.sh
cuda-11.5.2-0.build.sh
cuda-9.0.176-0.build.sh
cuda-9.0.176-1.build.sh
cuda-9.1.85-0.build.sh
cuda-9.2.148-0.build.sh
cufflinks-2.2.1-2.build.sh
fontforge-20200314-0.build.sh
freecad-0.20-0.build.sh
gcc-10.1.0-0.build.sh
gcc-10.2.0-0.build.sh
gcc-10.3.0-0.build.sh
gcc-11.1.0-0.build.sh
gcc-4.5.1-0.build.sh
gcc-5.5.0-0.build.sh
gcc-5.5.0-1.build.sh
gcc-7.2.0-0.build.sh
gcc-7.3.0-0.build.sh
gcc-7.4.0-0.build.sh
gcc-8.3.0-0.build.sh
gcc-8.4.0-0.build.sh
gcc-9.2.0-0.build.sh
gcc-9.3.0-0.build.sh
ghidra-10.1.5-0.build.sh
git-cola-3.2-0.build.sh
git-cola-3.5-0.build.sh
git-cola-3.7-0.build.sh
git-cola-3.9-0.build.sh
haskell-8.10.2-0.build.sh
haskell-9.2.2-0.build.sh
igv-2.4.14-0.build.sh
igv-2.5.0-0.build.sh
igv-2.5.2-0.build.sh
igv-2.8.0-0.build.sh
igv-2.9.2-0.build.sh
inkscape-0.92.1-0.build.sh
inkscape-0.92.2-0.build.sh
inkscape-0.92.3-0.build.sh
inkscape-0.92.4-0.build.sh
inkscape-0.92.4-1.build.sh
inkscape-0.92.4-2.build.sh
inkscape-1.0-0.build.sh
inkscape-1.0-1.build.sh
inkscape-1.0beta0-0.build.sh
inkscape-1.1.1-0.build.sh
inkscape-1.1.2-0.build.sh
jdk-7u80-1.build.sh
jdk-8u141-0.build.sh
jdk-9.0.1-0.build.sh
julia-0.6.4-0.build.sh
julia-1.0.0-0.build.sh
julia-1.1.0-0.build.sh
julia-1.6.1-0.build.sh
libheif-1.6.0-0.build.sh
llvm-12.0.1-0.build.sh
llvm-13.0.1-0.build.sh
meld-3.20.1-0.build.sh
meme-5.1.1-0.build.sh
meme-5.3.0-0.build.sh
node-10.13.0-0.build.sh
node-10.16.0-0.build.sh
node-12.13.0-0.build.sh
node-12.4.0-0.build.sh
node-14.16.0-0.build.sh
node-14.17.1-0.build.sh
node-16.15.0-0.build.sh
node-16.16.0-0.build.sh
node-16.17.0-0.build.sh
node-8.11.4-0.build.sh
ocaml-4.08.1-0.build.sh
openjdk-11.0.3.2-0.build.sh
openjdk-14.0.2.12-0.build.sh
openjdk-17.0.2.8-0.build.sh
openjdk-7u181-0.build.sh
openjdk-8u171-0.build.sh
orca-1.2.1-0.build.sh
orca-1.3.1-0.build.sh
pdftk-3.3.2-0.build.sh
perl-5.12.1-0.build.sh
perl-5.18.2-0.build.sh
perl-5.24.1-0.build.sh
perl-5.24.1-1.build.sh
perl-5.24.1-2.build.sh
perl-5.26.1-0.build.sh
perl-5.26.1-1.build.sh
perl-5.26.1-2.build.sh
perl-5.26.1-3.build.sh
perl-5.26.1-4.build.sh
perl-5.26.1-5.build.sh
perl-5.26.2-1.build.sh
perl-5.28.1-0.build.sh
perl-5.34.0-0.build.sh
pymol-open-source-2.5.0-0.build.sh
python-2.7.13-0.build.sh
python-2.7.13-1.build.sh
python-2.7.13-2.build.sh
python-2.7.13-3.build.sh
python-2.7.13-4.build.sh
python-2.7.13-5.build.sh
python-2.7.14-0.build.sh
python-2.7.14-1.build.sh
python-2.7.14-2.build.sh
python-2.7.14-3.build.sh
python-2.7.15-0.build.sh
python-2.7.15-1.build.sh
python-2.7.15-2.build.sh
python-2.7.16-0.build.sh
python-3.10.7-0.build.sh
python-3.10.8-0.build.sh
python-3.6.0-0.build.sh
python-3.6.2-0.build.sh
python-3.6.4-0.build.sh
python-3.6.4-1.build.sh
python-3.6.4-2.build.sh
python-3.6.6-0.build.sh
python-3.6.6-1.build.sh
python-3.7.1-0.build.sh
python-3.7.1-1.build.sh
python-3.7.1-2.build.sh
python-3.7.3-0.build.sh
python-3.7.4-0.build.sh
python-3.7.4-1.build.sh
python-3.7.4-2.build.sh
python-3.7.7-0.build.sh
python-3.8.6-0.build.sh
python-3.8.7-0.build.sh
python-3.8.8-0.build.sh
python-3.8.9-0.build.sh
python-3.8.9-1.build.sh
python-3.9.12-0.build.sh
python-3.9.6-0.build.sh
python-3.9.7-0.build.sh
qemu-3.1.1-0.build.sh
qemu-4.2.1-0.build.sh
qemu-5.0.0-0.build.sh
qemu-5.1.0-0.build.sh
qemu-6.0.0-0.build.sh
qemu-6.2.0-0.build.sh
qemu-7.1.0-0.build.sh
qt-5.12.7-0.build.sh
qt-6.2.4-0.build.sh
relion-3.0.5-0.build.sh
relion-3.1.1-0.build.sh
rstudio-1.1.128-0.build.sh
rstudio-1.1.232-0.build.sh
rstudio-1.1.30-0.build.sh
rstudio-1.1.383-0.build.sh
rstudio-1.1.444-0.build.sh
rstudio-1.2.1335-0.build.sh
rstudio-1.2.5019-0.build.sh
rstudio-1.2.5019-1.build.sh
rstudio-1.2.5042-0.build.sh
rstudio-1.4.1103-0.build.sh
rstudio-2022.02.3-492-0.build.sh
rstudio-debpkg-1.4.1717-0.build.sh
rustc-1.29.2-0.build.sh
rustc-1.32.0-0.build.sh
rustc-1.34.2-0.build.sh
rustc-1.37.0-0.build.sh
rustc-1.41.0-0.build.sh
rustc-1.43.1-0.build.sh
rustc-1.45.2-0.build.sh
rustc-1.47.0-0.build.sh
rustc-1.50.0-0.build.sh
rustc-1.52.1-0.build.sh
rustc-1.56.1-0.build.sh
rustc-1.57.0-0.build.sh
rustc-1.58.1-0.build.sh
rustc-1.59.0-0.build.sh
rustc-1.61.0-0.build.sh
rustc-1.63.0-0.build.sh
signal-desktop-1.25.3-0.build.sh
signal-desktop-1.35.1-0.build.sh
signal-desktop-5.15.0-0.build.sh
signal-desktop-5.58.0-0.build.sh
signal-desktop-5.6.1-0.build.sh
snakemake-7.1.1-0.build.sh
sra-tools-2.10.8-0.build.sh
sra-tools-2.9.3-0.build.sh
sra-tools-2.9.4-0.build.sh
sra-tools-3.0.0-0.build.sh
stellarium-0.18.1-0.build.sh
stellarium-0.19.2-0.build.sh
stellarium-0.21.0-0.build.sh
stellarium-0.22.2-0.build.sh
tcc-0.9.27-0.build.sh
tcl-8.6.8-0.build.sh
texinfo-4.13a-0.build.sh
tulip-5.2.0-0.build.sh
tulip-5.2.1-0.build.sh
tulip-5.6.3-0.build.sh
ugene-36.0-0.build.sh
xfig-3.2.7-1.build.sh
Breadcrumbs
pkg-scripts
/
igv-2.8.0-0.build.sh
Blame
Blame
Latest commit
History
History
executable file
·
104 lines (78 loc) · 2.28 KB
Breadcrumbs
pkg-scripts
/
igv-2.8.0-0.build.sh
Top
File metadata and controls
Code
Blame
executable file
·
104 lines (78 loc) · 2.28 KB
Raw
#! /bin/bash # http://software.broadinstitute.org/software/igv/ set -xe PKG=igv VERSION=2.8.0 VERSION2=$(echo $VERSION | cut -d. -f1,2) BUILD=0 PREFIX=/pkg/$PKG-$VERSION-$BUILD if [ -n "$TESTING" ]; then PREFIX=/dev/shm/$PKG-$VERSION-$BUILD ; fi mkdir -p $PREFIX cat >$PREFIX/profile <<-EOF . /pkg/openjdk-11.0.3.2-0/profile PATH=$PREFIX:\$PATH if [ -d $PREFIX/.compatlibs ]; then export LD_LIBRARY_PATH=$PREFIX/.compatlibs\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH ; fi EOF . $PREFIX/profile BUILDDIR=$PREFIX/build mkdir -p $BUILDDIR cd $BUILDDIR test -e IGV_$VERSION.zip || wget http://data.broadinstitute.org/igv/projects/downloads/$VERSION2/IGV_$VERSION.zip test -d IGV_$VERSION || unzip -q IGV_$VERSION.zip find . -perm 775 -exec chmod 755 {} \+ -o -perm 664 -exec chmod 644 {} \+ sed -e '/^exec/ s/Xmx4g/Xmx${IGVXMX:-8g}/' -i IGV_$VERSION/igv.sh sed -e '/^exec/ s/Xmx4g/Xmx${IGVXMX:-8g}/' -i IGV_$VERSION/igv_hidpi.sh mv IGV_$VERSION/* $PREFIX rmdir IGV_$VERSION cd $PREFIX cat >igv <<-'EOF' #!/bin/sh die() { echo $1; exit 1; } parse_mem() { case $1 in [1-9]g | [1-9][0-9]g | [1-2][0-9][0-9]g) IGVXMX=$1 ;; *) die "# Error: need a proper value for memory to use, eg. 8g" ;; esac } script=`basename $0` IGVXMX=${IGVXMX:-8g} export IGVXMX case "$script" in igvxmem_hidpi) parse_mem $1; shift exec igv_hidpi.sh "$@" ;; igvxmem) parse_mem $1; shift exec igv.sh "$@" ;; esac MEM_KB=$(grep 'MemTotal:' /proc/meminfo | head -1 | rev | cut -d' ' -f2 | rev) MEM_GB=$(( $MEM_KB/1024/1024 )) CONSIDER="# Consider using 'igvxmem XYZg' to start igv with proper memory setup." if test $MEM_GB -lt 7; then MSG="# This is fairly below the suitable amount of 8 GB.\n$CONSIDER" elif test $MEM_GB -gt 17 ; then MSG="$CONSIDER\n# To gain better performance you may increase the memory in sane steps." fi if test -n "$MSG"; then echo '# NOTE:' echo "# found approx. $MEM_GB GB of Memory on your host." echo '#' echo -e "$MSG" echo '#' echo '# igv with default settings will start in 3 seconds ...' sleep 3 fi case "$script" in igv_hidpi) exec igv_hidpi.sh "$@" ;; *) exec igv.sh "$@" ;; esac EOF chmod 755 igv ln -s igv igvxmem ln -s igv igv_hidpi ln -s igv igvxmem_hidpi exit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
You can’t perform that action at this time.