# Import CNV.VCF file using Hail

**URL:** <https://discuss.hail.is/t/import-cnv-vcf-file-using-hail/3528>\
**Category:** Hail Query & hailctl\
**Created:** [August 3, 2023, 11:00am UTC](https://discuss.hail.is/t/import-cnv-vcf-file-using-hail/3528 "2023-08-03T11:00:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![biodev](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@biodev](https://discuss.hail.is/u/biodev)\
**Post date:** [August 3, 2023, 11:00am UTC](https://discuss.hail.is/t/import-cnv-vcf-file-using-hail/3528/1 "2023-08-03T11:00:58Z")

</div>

Hi Hail community,  
I have tried to import CNV.VCF file using import\_vcf function, but I got empty result when I tried to show the data. What happened? Is there any way to import cnv.vcf file using import\_vcf ?

```python
  vds=hl.import_vcf('/home/quang/Downloads/gvcf/300-1.cnv.vcf.bgz',reference_genome='GRCh38')
  vds.head(20)

```

---

<div class="post-metadata">

**Author:** ![danking](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/danking/32/43_2.png) [@danking](https://discuss.hail.is/u/danking)\
**Post date:** [August 3, 2023, 4:14pm UTC](https://discuss.hail.is/t/import-cnv-vcf-file-using-hail/3528/2 "2023-08-03T16:14:56Z")

</div>

Hey @biodev

You need to use `.show()` to show the data. `.head` just truncates the Matrix Table.

You might also find [Filtering is really fast but show is really slow, why is that? - #2 by danking](https://discuss.hail.is/t/filtering-is-really-fast-but-show-is-really-slow-why-is-that/1471/2) and [Counting rows in hail table - #2 by danking](https://discuss.hail.is/t/counting-rows-in-hail-table/3035/2) helpful in understanding how Hail works.

---

<div class="post-metadata">

**Author:** ![biodev](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@biodev](https://discuss.hail.is/u/biodev)\
**Post date:** [August 4, 2023, 2:40am UTC](https://discuss.hail.is/t/import-cnv-vcf-file-using-hail/3528/3 "2023-08-04T02:40:54Z")

</div>

@danking Yes. Thanks alot 😁
