forked from AprilJack/igc_script_backup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashScript
More file actions
executable file
·23 lines (18 loc) · 813 Bytes
/
.bashScript
File metadata and controls
executable file
·23 lines (18 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
for i in $(find /gpfs/tools/ -maxdepth 2 -type d 2> /dev/null | grep -v "anaconda")
do
PATH=${i}/:$PATH
done
conda activate
PATH=$PATH:$HOME/bin
PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
PATH=/gpfs/tools/STAR/STAR-2.5.3a/bin/Linux_x86_64:$PATH
PATH=/gpfs/tools/samtools/:$PATH
PATH=/gpfs/tools/R/R-3.4.3/bin:$PATH
export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/gmp/5.1.1/lib64:/gpfs/tools/gsl/lib:/gpfs/tools/icu58/lib/:/gpfs/tools/anaconda/lib:/gpfs/tools/gsl/lib:/gpfs/tools/libiconv-1.15/lib
export TMP=/gpfs/tmp
export TEMP=/gpfs/tmp
export TMPDIR=/gpfs/tmp
export PROMPT_COMMAND='if [ "$(id -u)" -ne 0 ]; then echo "$(date "+%Y-%m-%d.%H:%M:%S") $(history 1)" >> $(pwd)/.bash-history.log 2>/dev/null; fi'
export PATH
export BLASTDB=/gpfs/genomes/blast_databases