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

snp extract "Invalid format" #98

Open
xiaoqiwang19 opened this issue Feb 2, 2023 · 4 comments
Open

snp extract "Invalid format" #98

xiaoqiwang19 opened this issue Feb 2, 2023 · 4 comments

Comments

@xiaoqiwang19
Copy link

When initally running gemBS extract, I do not see any variants in the _snps.txt.gz files. The he _snps.txt.gz file is empty.
I execute the following commands to extract wgbs samples SNPs info:
gemBS extract --snp-db /public/backup/users/wangxq/software/annovar/humandb/dbsnp_138.hg38.vcf.gz.idx -S -c -N -B -t 32
But I get the following erros:
"Loading dbSNP header from /public/backup/users/wangxq/software/annovar/humandb/dbsnp_138.hg38.vcf.gz.idx
Invalid format"
Whether it's a dbsnp downloaded from NCBI or a dbsnp database downloaded from humandb. First, the index is built with gembs, and then the format error is displayed when running gemBS extract command. I don't know what format is required for this and why the error is reported. I need your help, thank you.

@heathsc
Copy link
Owner

heathsc commented Feb 2, 2023 via email

@xiaoqiwang19
Copy link
Author

I downloaded dbsnp from NCBI and built the index using gembs index. Can you give me a example of dbsnp or url ?
By the way, does the snp result include reference homozygous snp calls?

@heathsc
Copy link
Owner

heathsc commented Feb 2, 2023 via email

@xiaoqiwang19
Copy link
Author

Thank you very much.
I followed your advice and rerun the calling step after having configured gemBS for dbSNP. Then I run the commmand of
gemBS extract . But I do not see any variants in the _snps.txt.gz files. The he _snps.txt.gz file is still empty. The snpxtr_sample.err file displays that the task is finished and bcf file is normal.
I want to extract snp results, what should I do?

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