- task hisat2 {
- File idx
- File read1
- File read2
- String idx_prefix
- String sample_id
- String docker
- String cluster
-
- command {
- nt=$(nproc)
-
- hisat2 -t -p $nt -x ${idx}/${idx_prefix} -1 ${read1} -2 ${read2} -S ${sample_id}.sam --novel-splicesite-outfile ${sample_id}.splicesite.tab --dta
-
- }
-
- runtime {
- docker: docker
- cluster: cluster
- systemDisk: "cloud_ssd 40"
- dataDisk: "cloud_ssd 200 /cromwell_root/"
- }
-
- output {
- File sam = "${sample_id}.sam"
- File splicesite = "${sample_id}.splicesite.tab"
- }
- }
|