Skip to content

Commit

Permalink
use image with bgzip for extract_ref_sites and properly handle GLIMPS…
Browse files Browse the repository at this point in the history
…E2 reference bin file output in create_binary_ref
  • Loading branch information
LindoNkambule committed Feb 5, 2025
1 parent a2e3364 commit 21fa520
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gwaspy/imputation/glimpse2_impute.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def extract_ref_sites(
ncpu: int = 4,
memory: str = 'standard',
storage: int = None,
img: str = 'docker.io/lindonkambule/gwaspy_phase_impute:latest'
img: str = 'docker.io/lindonkambule/gwaspy_glimpse2:with-bcftools-and-updated-info-score'
) -> Job:
j = b.new_job(name=f'extract reference panel sites: {chrom}') # define job

Expand Down Expand Up @@ -194,7 +194,8 @@ def create_binary_ref(
--input-region {input_region} \
--output-region {output_region} \
--threads {ncpu} \
--output {j.ref_bin}
--output ref_bin_out
mv ref_bin_out.bin {j.ref_bin}
"""
)
return j
Expand Down

0 comments on commit 21fa520

Please sign in to comment.