# Zp to bgz convertion

**URL:** <https://discuss.hail.is/t/zp-to-bgz-convertion/2231>\
**Category:** Hail Query & hailctl\
**Created:** [September 8, 2021, 12:40am UTC](https://discuss.hail.is/t/zp-to-bgz-convertion/2231 "2021-09-08T00:40:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Res01](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@Res01](https://discuss.hail.is/u/Res01)\
**Post date:** [September 8, 2021, 12:40am UTC](https://discuss.hail.is/t/zp-to-bgz-convertion/2231/1 "2021-09-08T00:40:47Z")

</div>

Hi All,  
I installed Hail in our sever and it works perfectly with the data provided for the tutorial.  
But when I tired to load the the vcf files of 200kexomes of Biobank, hail fails.  
The vcf files are in .zp ending but bgzip to file name did not work for me.  
I tried $cat unzip myfile.zp| bgzip \> myfile.bgz  
It does not make a compressed file, seems simply changes the name.

I would be grateful if you can helpe with this.  
Thank you  
Reshmi

---

<div class="post-metadata">

**Author:** ![chrisvittal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/chrisvittal/32/327_2.png) [@chrisvittal](https://discuss.hail.is/u/chrisvittal)\
**Post date:** [September 8, 2021, 12:51am UTC](https://discuss.hail.is/t/zp-to-bgz-convertion/2231/2 "2021-09-08T00:51:59Z")

</div>

Hi Reshmi,

Thanks for reaching out. This sounds like issue with the Biobank data. Where did you download the files from?

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![Res01](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@Res01](https://discuss.hail.is/u/Res01)\
**Post date:** [September 8, 2021, 6:29am UTC](https://discuss.hail.is/t/zp-to-bgz-convertion/2231/3 "2021-09-08T06:29:25Z")

</div>

It was downloaded by another group and shared with me.But I do see that they use plink and other tools to get GWAS done on the file and seems the files are fine. May I send you the error reports.

---

<div class="post-metadata">

**Author:** ![johnc1231](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/johnc1231/32/286_2.png) [@johnc1231](https://discuss.hail.is/u/johnc1231)\
**Post date:** [September 10, 2021, 1:52pm UTC](https://discuss.hail.is/t/zp-to-bgz-convertion/2231/4 "2021-09-10T13:52:36Z")

</div>

Posting the error you got from hail may be helpful
