Skip to content

Commit

Permalink
New bbtools and flag
Browse files Browse the repository at this point in the history
- Update bbtools
- Add -da flag
  • Loading branch information
scanon committed Jun 17, 2022
1 parent d4f0d5a commit 8160000
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rqcfilter.wdl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
workflow jgi_rqcfilter {
Array[File] input_files
String? outdir
String bbtools_container="microbiomedata/bbtools:38.94"
String bbtools_container="microbiomedata/bbtools:38.96"
String database="/refdata"
Boolean chastityfilter=true
String? memory
Expand Down Expand Up @@ -71,7 +71,7 @@ task rqcfilter {
runtime {
docker: container
memory: "70 GB"
cpu: 8
cpu: 16
database: database
runtime_minutes: ceil(size(input_file, "GB")*60)
}
Expand All @@ -80,7 +80,7 @@ task rqcfilter {
#sleep 30
export TIME="time result\ncmd:%C\nreal %es\nuser %Us \nsys %Ss \nmemory:%MKB \ncpu %P"
set -eo pipefail
rqcfilter2.sh -Xmx${default="60G" memory} threads=${jvm_threads} ${chastityfilter} jni=t in=${input_file} path=filtered rna=f trimfragadapter=t qtrim=r trimq=0 maxns=3 maq=3 minlen=51 mlf=0.33 phix=t removehuman=t removedog=t removecat=t removemouse=t khist=t removemicrobes=t sketch kapa=t clumpify=t tmpdir= barcodefilter=f trimpolyg=5 usejni=f rqcfilterdata=${database}/RQCFilterData > >(tee -a ${filename_outlog}) 2> >(tee -a ${filename_errlog} >&2)
rqcfilter2.sh -Xmx${default="60G" memory} -da threads=${jvm_threads} ${chastityfilter} jni=t in=${input_file} path=filtered rna=f trimfragadapter=t qtrim=r trimq=0 maxns=3 maq=3 minlen=51 mlf=0.33 phix=t removehuman=t removedog=t removecat=t removemouse=t khist=t removemicrobes=t sketch kapa=t clumpify=t tmpdir= barcodefilter=f trimpolyg=5 usejni=f rqcfilterdata=${database}/RQCFilterData > >(tee -a ${filename_outlog}) 2> >(tee -a ${filename_errlog} >&2)
python <<CODE
import json
Expand Down

0 comments on commit 8160000

Please sign in to comment.