Skip to content

Commit

Permalink
Merge pull request #253 from wtsi-npg/devel
Browse files Browse the repository at this point in the history
merge from devel to master to create release 0.24.1
  • Loading branch information
mgcam authored Feb 14, 2019
2 parents 337f55e + dbf218a commit 2b257ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
CHANGES LOG
-----------
release 0.24.1
- correct count of minimum reads to run Salmon

release 0.24.0
- allow format selection for stage1 outputs/stage2 inputs (default: cram)
Expand Down
4 changes: 2 additions & 2 deletions data/vtlib/salmon_alignment.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@
"--geneMap", {"subst":"annotation_val", "required":"yes"},
"--output", {"subst":"salmon_out"},
{"subst":"b2c_mt", "ifnull":{"subst_constructor":{ "vals":[ "-p", {"subst":"b2c_mt_val"} ]}}}, "\";",
"case `file $0` in *ASCII*) PART1=`head -c 50K $0 | wc -l`;; *compressed*) PART1=`gunzip -c $0 | head -c 50K | wc -l`;; *empty*) PART1=0;; esac;",
"case `file $0` in *ASCII*) PART1=`head -n 1000 $0 | wc -l`;; *compressed*) PART1=`gunzip -c $0 | head -n 1000 | wc -l`;; *empty*) PART1=0;; esac;",
"if [[ $0 && ! $1 ]]; then",
"SALMON_CMD+=\"-r $0\";",
"if [[ $PART1 -lt 1000 ]]; then",
">&2 printf \"Not enough reads to run Salmon: fq: %s\" \"$((PART1/4))\"; exit 0; fi;",
"elif [[ $0 && $1 ]]; then",
"SALMON_CMD+=\"-1 $0 -2 $1\";",
"case `file $1` in *ASCII*) PART2=`head -c 50K $1 | wc -l`;; *compressed*) PART2=`gunzip -c $1 | head -c 50K | wc -l`;; *empty*) PART2=0;; esac;",
"case `file $1` in *ASCII*) PART2=`head -n 1000 $1 | wc -l`;; *compressed*) PART2=`gunzip -c $1 | head -n 1000 | wc -l`;; *empty*) PART2=0;; esac;",
"if [[ $PART1 -lt 1000 || $PART2 -lt 1000 ]]; then",
">&2 printf \"Not enough reads to run Salmon: fq1: %s - fq2: %s\" \"$((PART1/4))\" \"$((PART2/4))\"; exit 0; fi; fi;",
"$SALMON_CMD'",
Expand Down

0 comments on commit 2b257ea

Please sign in to comment.