sigven / vcf2tsvpy Goto Github PK
View Code? Open in Web Editor NEWGenomic VCF to tab-separated values
License: MIT License
Genomic VCF to tab-separated values
License: MIT License
Hi, I am running vcf2tsv on an annotated VCF file, and getting this error:
> python3 vcf2tsv.py myhg38.hg38_multianno.vcf myhg38.hg38_multianno.tab
[W::vcf_parse] INFO '.' is not defined in the header, assuming Type=String
[W::vcf_parse] INFO 'REVEL_rankscor' is not defined in the header, assuming Type=String
Segmentation fault
How can I resolve this? Any help would be greatly appreciated, thanks!
I have run vct2tsvpy with default arguments i.e. only required arguments with the following command:
vcf2tsvpy --input_vcf {in_vcf} --out_tsv {out_tsv} --skip_info_data
I have noticed, however, that some entries from the vcf, which have a PASS value under FILTER
column were excluded from the output tsv file.
For example, the entry below is present on the vcf:
1 776546 rs12124819 A G . PASS . GT:GQ:BAF:LRR ./.:0:0.590754:0.0825162
but it is not present in the output tsv file, unless I pass the --keep_rejected_calls
, in which case, the tsv file is complete.
Below is a vimdiff
screenshot, the left-hand side with --keep_rejected_calls
, right-hand side only with required arguments.
Is this the expected behaviour? How come not passing --keep_rejected_calls
excludes calls that have a PASS under FILTER
?
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.