Giter Club home page Giter Club logo

Comments (6)

MuhammedHasan avatar MuhammedHasan commented on July 27, 2024

Thanks for your contribution but writeVCF is already implemented.

https://github.com/gagneurlab/MMSplice/blob/7f4aeb8bfa6cd460bccc5db593c066d1691bf1f6/mmsplice/mmsplice.py#L193

If you think this implementation is lacking some of the features, please report them. We can improve the implementation.

from mmsplice_mtsplice.

beskns avatar beskns commented on July 27, 2024

from mmsplice_mtsplice.

s6juncheng avatar s6juncheng commented on July 27, 2024

thanks @beskns. @MuhammedHasan maybe we put it in the utils.py and import to the first level in the init.py file for the next release.

from mmsplice_mtsplice.

tstohn avatar tstohn commented on July 27, 2024

Are there any news regarding the WriteVcf functionality.
We would also be thrilled to use it in the MedGen in Tübingen.
Thanks,
Tim

from mmsplice_mtsplice.

s6juncheng avatar s6juncheng commented on July 27, 2024

This function is now implemented in mmsplice.utils.writeVCF

def writeVCF(vcf_in, vcf_out, predictions):

New version is on pypi and can be installed with pip.

Thanks @beskns for sharing your implementation. I did some modifications based on that.

After writing the predictions as vcf file, you can read the output file into a pandas DataFrame with mmsplice.utils.read_vep

def read_vep(vep_result_path,

Hopefully, this works for your use case @tstohn.

I close the issue for now, please feel free to reopen if there is further question or request.

from mmsplice_mtsplice.

tstohn avatar tstohn commented on July 27, 2024

Hey Jun,
Thanks a lot. That works for me.
Only thing I was wondering was, that i was getting a segfault when writing a variant list, for which some variants have
no mmsplice prediction.
I noticed it to be due to 'pred' in line 384 in utils.py beeing an empty DataFrame, which holds no values, which are then accessed in line 387.
In case you can not reproduce this let me know and I ll have a deeper look into it on my machine.
Thanks again & Cheers,
Tim

from mmsplice_mtsplice.

Related Issues (20)

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.