Code Monkey home page Code Monkey logo

Comments (9)

sigven avatar sigven commented on July 25, 2024 1

Thanks @razshaikh for letting me know about this error! Could you share your VCF with me, so I can test and make sure that it can be fixed? It might be related to the underlying library (cyvcf), but I will check and see if I can fix it.

best,
Sigve

from vcf2tsvpy.

razshaikh avatar razshaikh commented on July 25, 2024

Input VCF File values

Screenshot from 2022-01-11 12-43-49

Output TSV File values

Screenshot from 2022-01-11 12-46-12

from vcf2tsvpy.

razshaikh avatar razshaikh commented on July 25, 2024

Hi @sigven, thank you for your response, Really appreciated.
Please find the sample VCF below:
test_sample_run.zip

from vcf2tsvpy.

razshaikh avatar razshaikh commented on July 25, 2024

Hi @sigven, any suggestions on how to solve this issue.

Thanks and Regards,
Razin

from vcf2tsvpy.

sigven avatar sigven commented on July 25, 2024

Hi @razshaikh,
I am working on it, sorry for the delayed response.

from vcf2tsvpy.

razshaikh avatar razshaikh commented on July 25, 2024

Hi @sigven, I understand you must be having other tasks on your hand. I really appreciated you looking into it. Thank you.
Best Wishes,
Razin

from vcf2tsvpy.

sigven avatar sigven commented on July 25, 2024

Hi again @razshaikh,

Been digging a bit, and it seems this matter is related to how cyvcf2 works. See this related issue, for instance.

Either way, I have now added a simple check for this in vcf2tsv (v0.3.6), which should fix the error you encountered. On another note, your test VCF was full of other strange formatting errors, so I had to change it quite a bit for a test run.

kind regards,
Sigve

from vcf2tsvpy.

razshaikh avatar razshaikh commented on July 25, 2024

Hi @sigven,
Hope you are doing well.

Thank you for the update. I checked it, and it works for the 'GQ' values, but other values still has the same issue.

For example: the values in AD column, if any value is missing and has a period('.') instead, the latest script still replaces it with '-2147483648'.

Let me know if you have any suggestions for it.

Thanks and regards,
Razin

from vcf2tsvpy.

razshaikh avatar razshaikh commented on July 25, 2024

Hi @sigven

I have added a pull request, let me know if that makes sense.

Best wishes,
Razin

from vcf2tsvpy.

Related Issues (4)

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.