Skip to content

Commit c503167

Browse files
committed
switch trim_rmdup_subsamp to viral-core from viral-assembly
1 parent 31e7674 commit c503167

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

pipes/WDL/tasks/tasks_megablast.wdl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ task trim_rmdup_subsamp {
1515
Int cpu = 16
1616
Int disk_size_gb = 100
1717

18-
String docker = "quay.io/broadinstitute/viral-assemble:2.5.21.0"
18+
String docker = "quay.io/broadinstitute/viral-core:2.5.21"
1919
}
2020

2121
parameter_meta {
@@ -36,17 +36,14 @@ task trim_rmdup_subsamp {
3636
command <<<
3737
set -ex o pipefail
3838
assembly.py --version | tee VERSION
39-
#BAM ->FASTQ-> OutBam? https://github.com/broadinstitute/viral-assemble:2.5.21.0
4039
assembly.py trim_rmdup_subsamp \
41-
"~{inBam}" \
42-
"~{clipDb}" \
43-
"$(pwd)/outbam.bam" \
44-
~{'--n_reads=' + n_reads}
40+
"~{inBam}" \
41+
"~{clipDb}" \
42+
outbam.bam \
43+
~{'--n_reads=' + n_reads}
4544
46-
47-
#samtools [OutBam -> FASTA]
4845
#-f 4 (f = include only) (4 = unmapped reads) https://broadinstitute.github.io/picard/explain-flags.html
49-
samtools fasta "$(pwd)/outbam.bam" > "~{bam_basename}.fasta"
46+
samtools fasta outbam.bam > "~{bam_basename}.fasta"
5047
>>>
5148

5249
output {
@@ -58,7 +55,6 @@ task trim_rmdup_subsamp {
5855
memory: machine_mem_gb + "GB"
5956
cpu: cpu
6057
disks: "local-disk " + disk_size_gb + " LOCAL"
61-
6258
dx_instance_type: "n2-highmem-4"
6359
}
6460
}

0 commit comments

Comments
 (0)