Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encode error #26

Open
cheanney opened this issue Apr 28, 2023 · 1 comment
Open

encode error #26

cheanney opened this issue Apr 28, 2023 · 1 comment

Comments

@cheanney
Copy link

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

@brentp
Copy link
Owner

brentp commented Apr 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants