Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Compress and index annotated VCF files #599

Merged
merged 7 commits into from
Jun 18, 2018

Conversation

maxulysse
Copy link
Member

close #591

New processes CompressSnpeffVCF andCompressVEPvcf to compress and index VCFs.
Since we're using the VCFs from snpEff into VEP, it was complicated to make just one process, so for the moment, it's these two.
I'll try to improve in a future refactoring session.

@maxulysse maxulysse requested a review from szilvajuhos June 14, 2018 10:08
annotate.nf Outdated

script:
"""
cat ${vcf} | bgzip > ${vcf}.gz
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use bgzip < ${vcf} > ${vcf}.gz instead to avoid winning the “Useless Use of Cat Award” 😺

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️
Thanks !!!

@szilvajuhos szilvajuhos merged commit 60c3529 into SciLifeLab:master Jun 18, 2018
jherrero referenced this pull request in UCL-BLIC/Sarek_v2.2.1 Apr 11, 2019
Compress and index annotated VCF files
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compress annotated vcf files
3 participants