-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add concurrency to spladder call and allow ScanNeo2 to finish workflow on a faulty spladder run (Thanks to @nttg8100)
- Loading branch information
Showing
3 changed files
with
65 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
input=$1 | ||
threads=$2 | ||
anno=$3 | ||
output=$4 | ||
confidence=$5 | ||
iterations=$6 | ||
edgelimit=$7 | ||
log=$8 | ||
|
||
# run spladder | ||
spladder build \ | ||
-b $input \ | ||
--parallel $threads \ | ||
-a $anno \ | ||
-o $output \ | ||
--filter-overlap-exons \ | ||
--no-primary-only \ | ||
--quantify-graph \ | ||
--confidence $confidence \ | ||
--iterations $iterations \ | ||
--ase-edge-limit $edgelimit \ | ||
--qmode all > $log 2>&1 | ||
|
||
# check if spladder generated output (if not create folder) | ||
if [ ! -d $output ]; then | ||
echo "Spladder did not generate output. Creating empty folder." | ||
mkdir -p $output | ||
fi | ||
|