echtvar icon indicating copy to clipboard operation
echtvar copied to clipboard

encode error

Open cheanney opened this issue 1 year ago • 1 comments

Hi

We are trying to make new echtvar file. The following are the command and error: ./echtvar encode gnomad.exomes.r2.1.1.sites.only.controls.norm.vcf.gz  gnomad.json gnomad.exome.r2.1.1.sites.only.controls.norm.echtvar_encode.zip

thread 'main' panicked at 'Error opening vcf.', src/commands/encoder_cmd.rs:179:14 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Also, do you have an echtvar file for gnomad HG19 already build?

Thanks

cheanney avatar Apr 28 '23 20:04 cheanney

Hi, encode takes the VCF as the final argument, not the first. So you need to flip the order of the .zip and .vcf

I do not have hg19 gnomad. But it should be quick to build. Let me know any more questions.

brentp avatar Apr 28 '23 22:04 brentp