Skip to content

Commit

Permalink
wdl v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Mar 13, 2019
1 parent 453b795 commit 1fbc83d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spvcf.wdl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
task spvcf {
File in_gz
Boolean squeeze = false
Boolean no_squeeze = false
Boolean decode = false
Boolean multithread_encode = false
String release = "v0.6.0"
String release = "v0.7.0"

parameter_meta {
in_gz: "stream"
Expand All @@ -26,7 +26,7 @@ task spvcf {
nm=$(basename "$nm" .spvcf.gz)
nm="$nm.${if decode then 'vcf.gz' else 'spvcf.gz'}"
mkdir out
pigz -dc "${in_gz}" | ./spvcf ${if decode then 'decode' else 'encode'} ${if squeeze then '-S' else ''} $threads_arg | ./bgzip -@ $(nproc) > out/$nm
pigz -dc "${in_gz}" | ./spvcf ${if decode then 'decode' else 'encode'} ${if no_squeeze then '--no-squeeze' else ''} $threads_arg | ./bgzip -@ $(nproc) > out/$nm
}

runtime {
Expand Down

0 comments on commit 1fbc83d

Please sign in to comment.