aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/seqkit-rmdup.cwl
diff options
context:
space:
mode:
authorPjotr Prins2020-05-12 13:55:55 -0500
committerPjotr Prins2020-05-12 13:55:55 -0500
commit8e9042879db7fe061f3d18737f4102b5fd0b8c65 (patch)
tree978645b86e805c218451beaf194bfd97f2fbd9d8 /workflows/pangenome-generate/seqkit-rmdup.cwl
parent40ca03045bbc4f6fb1258acb6f42a60ee5532e0d (diff)
parent55bab826fda6c6bc3190476f8e2c61e51ef092d6 (diff)
downloadbh20-seq-resource-8e9042879db7fe061f3d18737f4102b5fd0b8c65.tar.gz
bh20-seq-resource-8e9042879db7fe061f3d18737f4102b5fd0b8c65.tar.lz
bh20-seq-resource-8e9042879db7fe061f3d18737f4102b5fd0b8c65.zip
Merge branch 'master' of github.com:arvados/bh20-seq-resource
Diffstat (limited to 'workflows/pangenome-generate/seqkit-rmdup.cwl')
-rw-r--r--workflows/pangenome-generate/seqkit-rmdup.cwl37
1 files changed, 0 insertions, 37 deletions
diff --git a/workflows/pangenome-generate/seqkit-rmdup.cwl b/workflows/pangenome-generate/seqkit-rmdup.cwl
deleted file mode 100644
index 071fa66..0000000
--- a/workflows/pangenome-generate/seqkit-rmdup.cwl
+++ /dev/null
@@ -1,37 +0,0 @@
-cwlVersion: v1.1
-class: CommandLineTool
-inputs:
- readsFA: File
-outputs:
- readsMergeDedup:
- type: File
- outputBinding:
- glob: readsMergeDedup.fasta
- dups:
- type: File?
- outputBinding:
- glob: dups.txt
-requirements:
- InlineJavascriptRequirement: {}
-hints:
- DockerRequirement:
- dockerPull: "quay.io/biocontainers/seqkit:0.7.1--0"
- ResourceRequirement:
- coresMin: 8
- coresMax: 32
- ramMin: $(7 * 1024)
- outdirMin: |
- ${
- var sum = 0;
- for (var i = 0; i < inputs.readsFA.length; i++) {
- sum += inputs.readsFA[i].size;
- }
- return (sum/(1024*1024*1024)+1) + 20;
- }
-baseCommand: seqkit
-arguments: [rmdup,
- --by-seq,
- --ignore-case,
- --dup-num-file, dups.txt,
- -o, readsMergeDedup.fasta,
- $(inputs.readsFA)]