Giter Club home page Giter Club logo

Comments (2)

traxexx avatar traxexx commented on May 28, 2024

Thanks for finding this out!
For item 1, that's a problem. I'll leave it open until we fix it.
For 2 & 3, I believe the temporary directory, if not specified by --scratch-dir, will be completely removed upon completion. Do you mean they're not cleaned when you have --scratch-dir specified?

from paragraph.

malemay avatar malemay commented on May 28, 2024

Hi Sai,

Thanks for your reply. Indeed, the temporary directory is not removed after running when explicitly setting a --scratch-dir, and neither are its contents.

Regarding issue 2, I have fixed for my purposes by adding the line 'os.remove(indexed_vcf.name + ".csi")' after line 106 in the init.py file of vcf2paragraph. However, I am not an experienced Python coder so I am not sure whether this is the proper way to do so.

I have also added some functionality for deleting the temporary json files in the --scratch-dir after running but I assume some users might not want this functionality for debugging purposes or closer inspection of the output. As to me, I do not need them because I only really care about the genotypes. I prefer to specify scratch-dir explicitly because it makes it easier to manage than using the common /scratch directory which is shared with other users on the system.

from paragraph.

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.