Mercurial > repos > pjbriggs > macs21
comparison install_tool_deps.sh @ 23:c7646ff9b5c9 draft default tip
planemo upload commit a2f39c10087e77bde5b5db5d04305f72b8eb2af2
author | pjbriggs |
---|---|
date | Tue, 27 Jun 2023 07:37:07 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
22:dfb939015935 | 23:c7646ff9b5c9 |
---|---|
1 #!/bin/bash | |
2 # | |
3 # Install the tool dependencies for MACS21 for testing from command line | |
4 # | |
5 # Installer functions | |
6 . $(dirname $0)/../../local_dependency_installers/numpy.sh | |
7 . $(dirname $0)/../../local_dependency_installers/macs2.sh | |
8 . $(dirname $0)/../../local_dependency_installers/ucsc_tools.sh | |
9 # | |
10 # Installation directory | |
11 TOP_DIR=$1 | |
12 if [ -z "$TOP_DIR" ] ; then | |
13 echo Usage: $(basename $0) DIR | |
14 exit | |
15 fi | |
16 if [ -z "$(echo $TOP_DIR | grep ^/)" ] ; then | |
17 TOP_DIR=$(pwd)/$TOP_DIR | |
18 fi | |
19 if [ ! -d "$TOP_DIR" ] ; then | |
20 mkdir -p $TOP_DIR | |
21 fi | |
22 # Numpy 1.9 | |
23 install_numpy_1_9 $TOP_DIR | |
24 # MACS21 | |
25 . $TOP_DIR/numpy/1.9/env.sh # needs Numpy 1.9 | |
26 install_macs2_2_1_0_20140616 $TOP_DIR | |
27 # UCSC tool subset | |
28 install_ucsc_tools_for_macs21_2_0 $TOP_DIR | |
29 ## | |
30 # |