Browse Source

添加 'tasks/fastq_ncm.wdl'

master
meng 2 years ago
parent
commit
86fe3c6af6
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      tasks/fastq_ncm.wdl

+ 28
- 0
tasks/fastq_ncm.wdl View File

@@ -0,0 +1,28 @@
task fastq_ncm {
File fastq_smp
String out_id
String subsampling_rate
String docker
String cluster_config
String disk_size

command <<<
set -o pipefail
set -e
nt=$(nproc)
python /NGSCheckMate/ncm_fastq.py -l ${fastq_smp} -O ${out_id} -N ChIP_batch -p $nt -pt /NGSCheckMate/SNP/SNP.pt -s ${subsampling_rate}
tar cvf ${out_id}.tar ${out_id}
>>>

runtime {
docker:docker
cluster:cluster_config
systemDisk:"cloud_ssd 40"
dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
}
output {
File output="${out_id}.tar"
}
}

Loading…
Cancel
Save