Code Monkey home page Code Monkey logo

vcf2tsvpy's People

Contributors

razshaikh avatar sigven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vcf2tsvpy's Issues

Segmentation fault

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!

default options excluding entries with PASS filter?

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.

image

Is this the expected behaviour? How come not passing --keep_rejected_calls excludes calls that have a PASS under FILTER?

Thanks in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.