Skip to content

Commit c61359e

Browse files
committed
Updated Docker
1 parent 8fcefb1 commit c61359e

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Definitions
22
repository = mobinasri
33
identifier = secphase
4-
version = v0.4.1
4+
version = v0.4.2
55
git_commit ?= $(shell git log --pretty=oneline -n 1 | cut -f1 -d " ")
66
name = ${repository}/${identifier}
77
tag = ${version}--${git_commit}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Two heuristics are applied for increasing specificity:
6262

6363
### Running Secphase in marker mode
6464

65-
To run Secphase it is recommended to use the docker image `mobinasri/secphase:v0.4.1`.
65+
To run Secphase it is recommended to use the docker image `mobinasri/secphase:v0.4.2`.
6666

6767
Here are the parameters `secphase` can accept:
6868
```
@@ -108,15 +108,15 @@ samtools sort -n -@8 ${INPUT_DIR}/${BAM_PREFIX}.bam > ${INPUT_DIR}/${BAM_PREFIX}
108108
## Create secphase index
109109
docker run \
110110
-v ${INPUT_DIR}:${INPUT_DIR} \
111-
mobinasri/secphase:v0.4.1 \
111+
mobinasri/secphase:v0.4.2 \
112112
secphase_index \
113113
-i ${INPUT_DIR}/${BAM_PREFIX}.sorted.bam
114114
115115
## Run Secphase for HiFi alignments
116116
docker run \
117117
-v ${INPUT_DIR}:${INPUT_DIR} \
118118
-v ${OUTPUT_DIR}:${OUTPUT_DIR}
119-
mobinasri/secphase:v0.4.1 \
119+
mobinasri/secphase:v0.4.2 \
120120
secphase --hifi \
121121
-i ${INPUT_DIR}/${BAM_PREFIX}.sorted.bam \
122122
-f ${INPUT_DIR}/${FASTA_PREFIX}.fa \
@@ -128,7 +128,7 @@ docker run \
128128
docker run \
129129
-v ${INPUT_DIR}:${INPUT_DIR} \
130130
-v ${OUTPUT_DIR}:${OUTPUT_DIR}
131-
mobinasri/secphase:v0.4.1 \
131+
mobinasri/secphase:v0.4.2 \
132132
secphase --ont \
133133
-i ${INPUT_DIR}/${BAM_PREFIX}.sorted.bam \
134134
-f ${INPUT_DIR}/${FASTA_PREFIX}.fa \
@@ -162,7 +162,7 @@ For producing a phased vcf file one approach can be aligning all HiFi reads to e
162162
docker run \
163163
-v ${INPUT_DIR}:${INPUT_DIR} \
164164
-v ${OUTPUT_DIR}:${OUTPUT_DIR}
165-
mobinasri/secphase:v0.4.1 \
165+
mobinasri/secphase:v0.4.2 \
166166
secphase --ont \
167167
-i ${INPUT_DIR}/${BAM_PREFIX}.sorted.bam \
168168
-f ${INPUT_DIR}/${FASTA_PREFIX}.fa \
@@ -175,7 +175,7 @@ docker run \
175175
### Correcting bam file with secphase output
176176

177177
To swap the pri/sec tags of the reads reported in `*.out.log` and produce a modified bam file you can run the program `correct_bam`.
178-
Again it is recommended to run it using the docker image `mobinasri/secphase:v0.4.1`.
178+
Again it is recommended to run it using the docker image `mobinasri/secphase:v0.4.2`.
179179

180180
Here are the parameters `correct_bam` can accept:
181181
```
@@ -214,7 +214,7 @@ To produce the modified bam file: (Here the input bam file can be sorted by refe
214214
docker run \
215215
-v ${INPUT_DIR}:${INPUT_DIR} \
216216
-v ${OUTPUT_DIR}:${OUTPUT_DIR} \
217-
mobinasri/secphase:v0.4.1 \
217+
mobinasri/secphase:v0.4.2 \
218218
correct_bam \
219219
-i ${INPUT_DIR}/${BAM_PREFIX}.bam \
220220
-P ${OUTPUT_DIR}/${SAMPLE_NAME}.out.log \

wdls/workflows/correct_bam.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ task correctBam {
2222
Int memSize=8
2323
Int threadCount=8
2424
Int diskSize=512
25-
String dockerImage="mobinasri/secphase:v0.4.1"
25+
String dockerImage="mobinasri/secphase:v0.4.2"
2626
Int preemptible=2
2727
}
2828
command <<<

wdls/workflows/get_secphased_read_ids.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ task getPhasedReadIds{
1616
Int memSize=16
1717
Int threadCount=4
1818
Int diskSize=256
19-
String dockerImage="mobinasri/secphase:v0.4.1"
19+
String dockerImage="mobinasri/secphase:v0.4.2"
2020
Int preemptible=2
2121
}
2222
command <<<

wdls/workflows/secphase.wdl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ workflow runSecPhase {
77
File? phasedVcf
88
File? variantBed
99
String secphaseOptions = "--hifi"
10-
String secphaseDockerImage = "mobinasri/secphase:v0.4.1"
11-
String version = "v0.4.1"
10+
String secphaseDockerImage = "mobinasri/secphase:v0.4.2"
11+
String version = "v0.4.2"
1212
}
1313
call sortByNameAndIndex {
1414
input:
@@ -49,7 +49,7 @@ task sortByNameAndIndex {
4949
Int memSize=16
5050
Int threadCount=8
5151
Int diskSize=1024
52-
String dockerImage="mobinasri/secphase:v0.4.1"
52+
String dockerImage="mobinasri/secphase:v0.4.2"
5353
Int preemptible=2
5454
String zones="us-west2-a"
5555
}
@@ -100,7 +100,7 @@ task secphaseIndex {
100100
Int memSize=8
101101
Int threadCount=4
102102
Int diskSize=128
103-
String dockerImage="mobinasri/secphase:v0.4.1"
103+
String dockerImage="mobinasri/secphase:v0.4.2"
104104
Int preemptible=2
105105
String zones="us-west2-a"
106106
}
@@ -150,7 +150,7 @@ task secphase {
150150
Int memSize=32
151151
Int threadCount=32
152152
Int diskSize=128
153-
String dockerImage="mobinasri/secphase:v0.4.1"
153+
String dockerImage="mobinasri/secphase:v0.4.2"
154154
Int preemptible=2
155155
String zones="us-west2-a"
156156
}
@@ -213,7 +213,7 @@ task concatLogs {
213213
Int memSize=2
214214
Int threadCount=1
215215
Int diskSize=32
216-
String dockerImage="mobinasri/secphase:v0.4.1"
216+
String dockerImage="mobinasri/secphase:v0.4.2"
217217
Int preemptible=2
218218
String zones="us-west2-a"
219219
}
@@ -253,7 +253,7 @@ task mergeBeds {
253253
Int memSize=2
254254
Int threadCount=1
255255
Int diskSize=32
256-
String dockerImage="mobinasri/secphase:v0.4.1"
256+
String dockerImage="mobinasri/secphase:v0.4.2"
257257
Int preemptible=2
258258
String zones="us-west2-a"
259259
}
@@ -293,7 +293,7 @@ task splitByName {
293293
Int memSize=16
294294
Int threadCount=8
295295
Int diskSize=512
296-
String dockerImage="mobinasri/secphase:v0.4.1"
296+
String dockerImage="mobinasri/secphase:v0.4.2"
297297
Int preemptible=2
298298
String zones="us-west2-a"
299299
}
@@ -336,7 +336,7 @@ task sortByName {
336336
Int memSize=16
337337
Int threadCount=8
338338
Int diskSize=1024
339-
String dockerImage="mobinasri/secphase:v0.4.1"
339+
String dockerImage="mobinasri/secphase:v0.4.2"
340340
Int preemptible=2
341341
String zones="us-west2-a"
342342
}
@@ -385,7 +385,7 @@ task sortByContig {
385385
Int memSize=8
386386
Int threadCount=4
387387
Int diskSize=128
388-
String dockerImage="mobinasri/secphase:v0.4.1"
388+
String dockerImage="mobinasri/secphase:v0.4.2"
389389
Int preemptible=2
390390
String zones="us-west2-a"
391391
}

0 commit comments

Comments
 (0)