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

Compress and index annotated VCF files#599

Merged
szilvajuhos merged 7 commits intoSciLifeLab:masterfrom
maxulysse:CompressAnnVCFs
Jun 18, 2018
Merged

Compress and index annotated VCF files#599
szilvajuhos merged 7 commits intoSciLifeLab:masterfrom
maxulysse:CompressAnnVCFs

Conversation

@maxulysse
Copy link
Copy Markdown
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
Comment thread annotate.nf Outdated

script:
"""
cat ${vcf} | bgzip > ${vcf}.gz
Copy link
Copy Markdown
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
Copy Markdown
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