| 1 |
#!/usr/bin/env cwl-runner |
| 2 |
cwlVersion: v1.0 |
| 3 |
class: CommandLineTool |
| 4 |
|
| 5 |
requirements: |
| 6 |
- class: DockerRequirement |
| 7 |
dockerPull: jdidion/seqpurge |
| 8 |
- class: InlineJavascriptRequirement |
| 9 |
|
| 10 |
baseCommand: [SeqPurge] |
| 11 |
|
| 12 |
inputs: |
| 13 |
paired_input1: |
| 14 |
type: File |
| 15 |
format: "http://edamontology.org/format_1930" # FASTQ |
| 16 |
streamable: true |
| 17 |
inputBinding: |
| 18 |
prefix: -in1 |
| 19 |
paired_output1: |
| 20 |
type: File |
| 21 |
format: "http://edamontology.org/format_1930" # FASTQ |
| 22 |
inputBinding: |
| 23 |
prefix: -out1 |
| 24 |
paired_input2: |
| 25 |
type: File? |
| 26 |
format: "http://edamontology.org/format_1930" # FASTQ |
| 27 |
streamable: true |
| 28 |
inputBinding: |
| 29 |
prefix: -in2 |
| 30 |
paired_output2: |
| 31 |
type: File? |
| 32 |
format: "http://edamontology.org/format_1930" # FASTQ |
| 33 |
inputBinding: |
| 34 |
prefix: -out2 |
| 35 |
adapter1: |
| 36 |
type: string |
| 37 |
inputBinding: |
| 38 |
prefix: -a1 |
| 39 |
adapter2: |
| 40 |
type: string? |
| 41 |
inputBinding: |
| 42 |
prefix: -a2 |
| 43 |
qcut: |
| 44 |
type: int? |
| 45 |
inputBinding: |
| 46 |
prefix: -qcut |
| 47 |
min_len: |
| 48 |
type: int? |
| 49 |
inputBinding: |
| 50 |
prefix: -min_len |
| 51 |
threads: |
| 52 |
type: int? |
| 53 |
inputBinding: |
| 54 |
prefix: -threads |
| 55 |
default: 1 |
| 56 |
prefetch: |
| 57 |
type: int? |
| 58 |
inputBinding: |
| 59 |
prefix: -prefetch |
| 60 |
match_perc: |
| 61 |
type: double? |
| 62 |
inputBinding: |
| 63 |
prefix: -match_perc |
| 64 |
summary_file: |
| 65 |
type: File? |
| 66 |
inputBinding: |
| 67 |
prefix: -summary |
| 68 |
|
| 69 |
outputs: |
| 70 |
trimmed1: |
| 71 |
type: File |
| 72 |
streamable: true |
| 73 |
outputBinding: |
| 74 |
glob: $(inputs.paired_output1) |
| 75 |
trimmed2: |
| 76 |
type: File? |
| 77 |
streamable: true |
| 78 |
outputBinding: |
| 79 |
glob: $(inputs.paired_output2) |
| 80 |
summary: |
| 81 |
type: File? |
| 82 |
outputBinding: |
| 83 |
glob: $(inputs.summary_file) |