|
- task mixcr {
-
- File read1
- File read2
-
- String sample
- String base = sub(basename(read1),"\\.\\S+$", "")
- String docker
- String cluster_config
- String disk_size
-
- command <<<
- mixcr align -p rna-seq -s hsa -OallowPartialAlignments=true ${read1} ${read2} ${base}.vdjca
- mixcr assemblePartial ${base}.vdjca ${base}_rescued_1.vdjca
- mixcr assemblePartial ${base}_rescued_1.vdjca ${base}_rescued_2.vdjca
- mixcr extend ${base}_rescued_2.vdjca ${base}_rescued_2_extended.vdjca
- mixcr assemble ${base}_rescued_2_extended.vdjca ${base}.clns
- mixcr exportClones ${base}.clns ${base}.txt
- mixcr exportClones -c TRB ${base}.clns ${base}.TRB.txt
- mixcr exportClones -c IGH ${base}.clns ${base}.IGH.txt
-
- >>>
-
- runtime {
- docker:docker
- cluster: cluster_config
- systemDisk: "cloud_ssd 40"
- dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
- }
- output {
- File sam = base + ".vdjca"
- }
- }
|