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

Scoring an empty VCF #130

Open
fellen31 opened this issue Jul 25, 2024 · 0 comments
Open

Scoring an empty VCF #130

fellen31 opened this issue Jul 25, 2024 · 0 comments
Assignees

Comments

@fellen31
Copy link
Contributor

Hi,

Sometimes all variants in a VCF might be filtered out before running genmod.

models will run without error, but fields will be missing in the output header

##INFO=<ID=Annotation,Number=.,Type=String,Description="Annotates what feature(s) this variant belongs to.">
##INFO=<ID=GeneticModels,Number=.,Type=String,Description="':'-separated list of genetic models for this variant.">
##INFO=<ID=ModelScore,Number=.,Type=String,Description="PHRED score for genotype models.">
##INFO=<ID=Compounds,Number=.,Type=String,Description="List of compound pairs for this variant.The list is splitted on ',' family id is separated with compoundswith ':'.>

causing score to fail

[2024-07-25 12:58:48,550] WARNING : genmod.score_variants.check_plugins: INFO field ModelScore is not in vcf INFO. This field will not be scored.
[2024-07-25 12:58:48,550] WARNING : genmod.score_variants.check_plugins: INFO field GeneticModels is not in vcf INFO. This field will not be scored.
[2024-07-25 12:58:48,550] ERROR   : genmod.commands.score_variants: All score plugins has to be defined in vcf header
Aborted!

Could a VCF without any variants be allowed to pass through genmod?

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

No branches or pull requests

2 participants