Comments (3)
Hello @biojiangke,
Can you check and make sure that the variants are diploid, biallelic, and SNVs. These are the only variants kept by tomahawk. Sites with mixed ploidy are also filtered out. Lastly, make sure they are not filtered out because of how you parameterized the missingness threshold.
If you should still have some variants could you send me your VCF please?
from tomahawk.
Hi,
Thanks for the quick response. I tried the following:
Filter out non-biallelic variants:
vcftools --gzvcf locus.vcf.gz --min-alleles 2 --max-alleles 2 --recode --stdout | bgzip -c > locus.biallelic.vcf.gz
Filter out indels:
vcftools --gzvcf locus.biallelic.vcf.gz --remove-indels --recode --recode-INFO-all --out SNPs_only --stdout | bgzip -c > locus.biallelic.snp.vcf.gz
I can confirm the filters as I counted the number of variants before and after filtering and spot checked a few regions. The resulted VCF still does't import for tomahawk, even trying missingness filter from 0.1 to 0.9. Plus, the working VCF have non-biallelic and indels, and tomahawk ignored them and imported the "good" variants. So I don't think those are causing the problem.
I'm bond by regulations and would not be able to share the VCF. But I'll do more tests and report later if I find anything.
from tomahawk.
This should no longer be happening as of release 0.7.0 as we now rely on htslib to do the parsing.
from tomahawk.
Related Issues (16)
- segmentation fault HOT 4
- Cannot cut into N chunks HOT 3
- how to extract TWO binary for region HOT 2
- Clumping and pairwise LD for specified SNP lists HOT 2
- Tutorial for converting two data into HiGlass-compatible formats
- core dump error on import HOT 20
- LTO and gcc version <= 4.9.2
- Unphased Math Reference
- Tomahawk crash with "std::regex_error" error HOT 2
- compilation issue HOT 3
- Why import parameter filtered all my SNPs
- tomahawk fails to import from bcf: Assertion failed: (ref == 0 || ref == 1 || ref == 4 || ref == 5)
- Error while loading shared libraries libhts.so.2
- Another core dump error on import
- Legacy support for < SSE4.2 HOT 1
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 tomahawk.