File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ task lofreq {
136
136
File reference_fasta
137
137
138
138
String out_basename = basename (aligned_bam , '.bam' )
139
- String docker = "quay.io/biocontainers/lofreq :2.1.5--py38h588ecb2_4 "
139
+ String docker = "quay.io/broadinstitute/viral-phylo :2.3.6.0 "
140
140
}
141
141
Int disk_size = 200
142
142
command <<<
@@ -145,8 +145,13 @@ task lofreq {
145
145
lofreq version | grep version | sed ' s/.* \(.*\)/\1/g' | tee LOFREQ_VERSION
146
146
147
147
# make local copies because CWD is writeable but localization dir isn't always
148
- cp " ~{reference_fasta}" reference.fasta
149
148
cp " ~{aligned_bam}" aligned.bam
149
+ python3<< CODE
150
+ import shutil
151
+ import util.file
152
+ with util.file.fastas_with_sanitized_ids("~{reference_fasta}", use_tmp=True) as sanitized_fastas:
153
+ shutil.copyfile(sanitized_fastas[0], 'reference.fasta')
154
+ CODE
150
155
151
156
# samtools faidx fails if fasta is empty
152
157
if [ $( grep -v ' ^>' reference.fasta | tr -d ' \nNn' | wc -c) == "0" ]; then
You can’t perform that action at this time.
0 commit comments