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

Type of PE in the FORMAT from vcf is set as integer - should be float #269

Open
miyakokodama opened this issue Aug 29, 2022 · 0 comments
Open

Comments

@miyakokodama
Copy link

Hi,

I have CNVpytor on a GIAB sample, and have used cnvnator2VCF.pl (CNVnator v.0.4.1) to convert the tsv file to .vcf.

Of the 3 fields below in FORMAT of the vcf file, I have noticed that the type for PE is set as integer:

##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
##FORMAT=<ID=CN,Number=1,Type=Integer,Description="Copy number genotype for imprecise events">
##FORMAT=<ID=PE,Number=1,Type=Integer,Description="Number of paired-ends that support the event">

However, this field has digits so it should be coded as float in the header (GT:CN:PE).

1/1:0:0.9980
1/1:0:0.0000
0/1:1:0.0329

Could you please make this change in the script?

Thanks,
Miyako

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

1 participant