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

error om encoding dbsnp - "Large file option has not been set". echtvar 0.1.7 #30

Closed
ruslan-abasov opened this issue Sep 13, 2023 · 3 comments

Comments

@ruslan-abasov
Copy link

./echtvar encode dbsnp.echtvar.zip dnsnp.etchvar.json dnsnp.vcf.gz
[echtvar] adding VCF:/data1/mnt/LMBALL/RefData_VMP01/annotation/variation/dbsnp/156/hg38/ready.vcf.gz
[echtvar] on chromosome "1"
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 1612563
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 4522956
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 4522956
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 10012946
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 11544538
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 12854354
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 15827828
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 15974201
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 15974201
[warning] found non ACGT ALT character 'N', encoding as 'T' for (1-based) position: 16062393
[echtvar] on chromosome "2"
[echtvar] on chromosome "3"
[echtvar] on chromosome "4"
[echtvar] on chromosome "5"
[echtvar] on chromosome "6"
[echtvar] on chromosome "7"
[echtvar] on chromosome "8"
[echtvar] on chromosome "9"
[echtvar] on chromosome "10"
[echtvar] on chromosome "11"
[echtvar] on chromosome "12"
[echtvar] on chromosome "13"
[echtvar] on chromosome "14"
[echtvar] on chromosome "15"
[echtvar] on chromosome "16"
[echtvar] on chromosome "17"
[echtvar] on chromosome "18"
[echtvar] on chromosome "19"
[echtvar] on chromosome "20"
[echtvar] on chromosome "21"
[echtvar] on chromosome "22"
[echtvar] on chromosome "X"
[echtvar] on chromosome "Y"
[echtvar] on chromosome "M"
[echtvar] found 1096965712 unique values for dbsnpid)
thread 'main' panicked at 'error writing to zip file: Custom { kind: Other, error: "Large file option has not been set" }', >src/commands/encoder_cmd.rs:462:31
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@brentp
Copy link
Owner

brentp commented Sep 13, 2023

hmm. thanks for reporting.
I do have large file set on the entire archive, but here, I update to include on each individual file as well. Would you try this binary and let me know if it works? Just gunzip, chmod +x and run as ./echtvar_dev ...

echtvar_dev.gz

@ruslan-abasov
Copy link
Author

Thanks! Works great!

@brentp
Copy link
Owner

brentp commented Sep 13, 2023

thanks for following up. I pushed a new release with this fix and other small changes:
https://github.com/brentp/echtvar/releases/tag/v0.1.8

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