Skip to content

Commit 21fa520

Browse files
committed
use image with bgzip for extract_ref_sites and properly handle GLIMPSE2 reference bin file output in create_binary_ref
1 parent a2e3364 commit 21fa520

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gwaspy/imputation/glimpse2_impute.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def extract_ref_sites(
6565
ncpu: int = 4,
6666
memory: str = 'standard',
6767
storage: int = None,
68-
img: str = 'docker.io/lindonkambule/gwaspy_phase_impute:latest'
68+
img: str = 'docker.io/lindonkambule/gwaspy_glimpse2:with-bcftools-and-updated-info-score'
6969
) -> Job:
7070
j = b.new_job(name=f'extract reference panel sites: {chrom}') # define job
7171

@@ -194,7 +194,8 @@ def create_binary_ref(
194194
--input-region {input_region} \
195195
--output-region {output_region} \
196196
--threads {ncpu} \
197-
--output {j.ref_bin}
197+
--output ref_bin_out
198+
mv ref_bin_out.bin {j.ref_bin}
198199
"""
199200
)
200201
return j

0 commit comments

Comments
 (0)