@@ -36,6 +36,8 @@ task Fastp {
36
36
Int lengthRequired = 15
37
37
Int ? split
38
38
Boolean performAdapterTrimming = true
39
+ Boolean performQualityFiltering = true
40
+ Boolean performLengthFiltering = true
39
41
40
42
Int threads = 4
41
43
String memory = "50GiB"
@@ -73,7 +75,9 @@ task Fastp {
73
75
--thread ~ {select_first([effectiveSplit, threads])} \
74
76
~ {" --split " + effectiveSplit} \
75
77
~ {if defined(effectiveSplit) then " -d 0" else " " } \
76
- ~ {if performAdapterTrimming then " " else " --disable_adapter_trimming" }
78
+ ~ {if performAdapterTrimming then " " else " --disable_adapter_trimming" } \
79
+ ~ {if performQualityFiltering then " " else " --disable_quality_filtering" } \
80
+ ~ {if performLengthFiltering then " " else " --disable_length_filtering" }
77
81
>>>
78
82
79
83
output {
@@ -102,6 +106,8 @@ task Fastp {
102
106
lengthRequired : {description : "The minimum read length." , category : "advanced" }
103
107
split : {description : "The number of chunks to split the files into. Number of threads will be set equal to the amount of splits." , category : "common" }
104
108
performAdapterTrimming : {description : "Whether adapter trimming should be performed or not." , category : "advanced" }
109
+ performQualityFiltering : {description : "Whether reads should be filtered based on quality scores." , category : "advanced" }
110
+ performLengthFiltering : {description : "Whether reads shoulde be filtered based on lengths." , catgegory : "advanced" }
105
111
threads : {description : "The number of threads to use. Only used if the split input is not set." , category : "advanced" }
106
112
memory : {description : "The amount of memory this job will use." , category : "advanced" }
107
113
timeMinutes : {description : "The maximum amount of time the job will run in minutes." , category : "advanced" }
0 commit comments