Giter Site home page Giter Site logo

vcf2bgc.py file about clinehelpr HOT 6 CLOSED

Irvilma avatar Irvilma commented on June 24, 2024
vcf2bgc.py file

from clinehelpr.

Comments (6)

btmartin721 avatar btmartin721 commented on June 24, 2024 1

Hello,

The issue should be fixed now. Please do a git pull to update the vcf2bgc.py script and try running it again. Let me know if you are still having issues with the script.

The problem was that I had accidentally turned the linkage model on by default, but it should have to be toggled on to use it. Because the example file as well as your own data file had chromosomes with only one site, the script was dividing by zero when it tried to normalize the position maps between 0 and 1.

I turned the option to generate linkage maps off by default now, and I added error handling for if the linkage map file has chromosomes with only one position.

Thanks,

-Bradley

from clinehelpr.

tkchafin avatar tkchafin commented on June 24, 2024 1

Hi Irene,

It looks like the list.clear() which is throwing the error was added in Python 3.3, so I'm guessing you are using an older version of Python than 3.3. I just added a fix that should work with Python3 versions older than 3.3, could you give that a try?

Thanks,
Tyler

from clinehelpr.

btmartin721 avatar btmartin721 commented on June 24, 2024

Hello,

Thank you for your interest in ClineHelpR. I will look into what may be happening with the vcf2bgc.py script this evening. Sorry for the issue.

from clinehelpr.

Irvilma avatar Irvilma commented on June 24, 2024

from clinehelpr.

Irvilma avatar Irvilma commented on June 24, 2024

from clinehelpr.

btmartin721 avatar btmartin721 commented on June 24, 2024

You're very welcome. Glad to see it's working now. Thanks for your interest in ClineHelpR.

-Bradley

from clinehelpr.

Related Issues (17)

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.