Skip to content
Snippets Groups Projects
Commit 29c6b168 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

add cpat

parent 5febefe7
No related branches found
No related tags found
1 merge request!72Add CPAT
CPAT.wdl 0 → 100644
version 1.0
task CPAT {
input {
String preCommand
File gene
String outFilePath
String hex
String logitModel
File? referenceGenome
File? referenceGenomeIndex # Should be added as input if
# CPAT should not index ther reference genome.
Array[String]? startCodons
Array[String]? stopCodons
}
# Some WDL magic in the command section to properly output the start and stopcodons to the command.
command {
set -e -o pipefail
~{preCommand}
cpat.py \
--gene ~{gene} \
--outfile ~{outFilePath} \
--hex ~{hex} \
--logitModel ~{logitModel} \
~{"--ref " + referenceGenome} \
~{true="--start" false="" defined(startCodons)} ~{sep="," select_first([startCodons, []])} \
~{true="--stop" false="" defined(stopCodons)} ~{sep="," select_first([stopCodons, []])}
}
output {
File outFile=outFilePath
}
}
# There is also make_hexamer_tab.py and make_logitModel.py
# that can be added as tasks here.
\ 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