Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bioinfo
datautils
Commits
d80c7663
Commit
d80c7663
authored
Apr 17, 2015
by
Holger Brandl
Browse files
added lambda-norm bw tracks
parent
9f54e6aa
Changes
1
Show whitespace changes
Inline
Side-by-side
bash/lsf_utils.sh
View file @
d80c7663
...
...
@@ -230,6 +230,13 @@ mysub(){
jobName
=
$(
echo
$1
|
tr
' '
'_'
)
;
shift
jobCmd
=
$1
;
shift
#todo continue here (maybe refac into independent library?)
# if ! [ -x "$(command -v bsub)" ]; then
# bsub -J $jobName $@ "( $jobCmd ) 2>$jobName.err.log 1>$jobName.out.log"
# else
# eval $jobCmd 2>$jobName.err.log 1>$jobName.out.log
# fi
bsub
-J
$jobName
$@
"(
$jobCmd
) 2>
$jobName
.err.log 1>
$jobName
.out.log"
}
export
-f
mysub
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment