File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Author: BioOmics (https://github.com/BioOmics)
3
- # Last modified: 2024-12-16
3
+ # Last modified: 2024-12-26
4
4
# =======================================
5
5
function CheckSoftware(){
6
6
local software1=$1
@@ -18,9 +18,9 @@ function CheckSoftware(){
18
18
CheckSoftware wget wget
19
19
CheckSoftware axel axel
20
20
CheckSoftware pigz pigz
21
- CheckSoftware ascp aspera-cli=4.14.0
21
+ CheckSoftware ascp " aspera-cli=4.14.0"
22
22
CheckSoftware md5sum coreutils
23
- CheckSoftware srapath sra-tools> =2.11.0
23
+ CheckSoftware srapath " sra-tools>=2.11.0"
24
24
CheckSoftware vdb-validate sra-tools
25
25
# =======================================
26
26
@@ -98,7 +98,7 @@ while [[ $# -gt 0 ]]; do
98
98
-a|--aspera) aspera=1 ; shift 1 ;;
99
99
-o|--output) checkParameter $1 $2 ; if [[ $? -eq 0 ]]; then output=$2 ; shift 2; fi ;;
100
100
-h|--help) usage; exit 0 ;;
101
- -v|--version) echo " Version 1.4 .0" ; exit 0 ;;
101
+ -v|--version) echo " Version 1.5 .0" ; exit 0 ;;
102
102
* ) echo -e " \033[1;31mError\033[0m: Invalid option: $1 " ; echo -e " \033[1;32mHow to solve?\033[0m Please remove $1 option" ; exit 1 ;;
103
103
esac
104
104
done
You can’t perform that action at this time.
0 commit comments