Entering edit mode
7.0 years ago
Medhat
9.7k
Is there is a way to use vcf2bed with compressed file?
for example in general the tool work like this
vcf2bed < foo.vcf > sorted-foo.vcf.bed
so if my file is foo.vcf.gz
zcat foo.vcf.gz | vcf2bed > sorted-foo.vcf.bed
will not work any idea?
That is right the first form
zcat foo.vcf.gz | vcf2bed - > sorted-foo.vcf.bed
worked fine; the other did not,Please change to an answer :)