aboutsummaryrefslogtreecommitdiff
path: root/workflows/pangenome-generate/seqkit-rmdup.cwl
diff options
context:
space:
mode:
authorMichael R. Crusoe2020-05-05 13:11:02 +0200
committerMichael R. Crusoe2020-05-05 13:11:02 +0200
commit6599feb6a6f8b488bd2d12fcf532c3b8a917a17f (patch)
treeeb965acc5b93ca9824a5c87786f4aa859be00a73 /workflows/pangenome-generate/seqkit-rmdup.cwl
parent4618a271193fa5cd5cb1e10d6f8acee9c6e8132a (diff)
downloadbh20-seq-resource-6599feb6a6f8b488bd2d12fcf532c3b8a917a17f.tar.gz
bh20-seq-resource-6599feb6a6f8b488bd2d12fcf532c3b8a917a17f.tar.lz
bh20-seq-resource-6599feb6a6f8b488bd2d12fcf532c3b8a917a17f.zip
move some tools into the shared repo
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)]