Skip to content
Snippets Groups Projects
Commit ab93e5a8 authored by Cats's avatar Cats
Browse files

add collect-columns

parent 0ac16be7
No related branches found
No related tags found
No related merge requests found
version 1.0
task CollectColumns {
input {
Array[File]+ inputTables
String outputPath
Int? featureColumn
Int? valueColumn
Int? separator
Array[String]? sampleNames
Boolean header = false
Array[String]? additionalAttributes
File? referenceGtf
String featureAttribute
String dockerTag = "0.1.1--py_0"
}
command {
collect-columns \
~{outputPath} \
~{sep=" " inputTables} \
~{"-f " + featureColumn} \
~{"-c " + valueColumn} \
~{"-s " + separator} \
~{true="-n" false="" defined(sampleNames)} ~{sep=" " sampleNames} \
~{true="-H" false="" header} \
~{true="-a" false="" defined(additionalAttributes)} ~{sep=" " additionalAttributes} \
~{"-g " + referenceGtf} \
~{"-F " + featureAttribute}
}
output {
File outputTable = outputPath
}
runtime {
memory: 4 + ceil(0.5* length(inputTables))
docker: "quay.io/biocontainers/collect-columns:" + dockerTag
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment