Comments (2)
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.
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)
- Exception: Different padding base for REF and ALT HOT 6
- Can paragraph be used for indel from 2 bp to 30 bp? HOT 1
- ValueError: Invalid VariantRecord. Number of samples does not match header HOT 2
- Error with idxdepth: "Assertion failed: _impl->header_contig_map.count(chr) != 0" HOT 1
- Missing key SEQ for <INS> HOT 6
- --vcf-split option with no description
- subprocess.CalledProcessError HOT 2
- grmpy error: [E::cram_itr_query]
- index file
- How to merge multi-samples SVs and obtain breakpoints for genotyping a population
- no BGZF EOF marker
- Install paragraph
- Stop using Werror and Wall
- Genotyping for SNP
- idxdepth regex option not working
- Problem starting the script multigrmpy.py HOT 2
- Error when working with `--ins-info-key` HOT 1
- Add support for VCFv4.2 breakend notation
- Issue's with Native Build and Boost
- Format error in vcf line: HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paragraph.