Comments (2)
Hi @AlexWanghaoming - I would recommend simply replacing your genotype calls from 0 or 1 to 0/0 and 1/1 in the VCF. Then you should be able to run VCF kit with a ploidy state of 1. I'm not sure whether this will affect your caculation - but I do not think it will.
from vcf-kit.
Hi @danielecook, my VCF file contains genotype calls in 0/0
format. I got it from MalariaGen and now I was trying to calculate the Tajima's D (TD) for the two most polymorphic genes in Plasmodium (which is haploid) and yet I get negative TD values for them. I am not sure if the subcommand vk tajima
is doing the right thing because highly polymorphic gene should have high TD values
Here are the subsetted VCF files for the same genes:
File1
File2
PF3D7_0930300 Pf3D7_09_v3:1201305-1207576
PF3D7_1133400 Pf3D7_11_v3:1292966-1296696
from vcf-kit.
Related Issues (20)
- Is it possible to plot the Tajima's D result? HOT 1
- Conda install error
- something wrong installing with anaconda HOT 9
- vcf2tsv error HOT 1
- TypeError Python 3 HOT 2
- error loading tabix index for building a region specific tree HOT 2
- ImportError: No module named vcfkit HOT 4
- got an KeyError with the tajima.py HOT 1
- cannot get this to work HOT 5
- vk primer bio.alphabet error HOT 3
- KeyError: b'AC' in Tajima'sD calculation HOT 1
- Warning --sample option not given
- error while using docker image (andersenlab/vcf-kit:20200822175018b7b60d: TypeError: a bytes-like object is required, not 'str' HOT 1
- TypeError: '<' not supported between instances of 'int' and 'NoneType'
- Custom genome assembly?
- Memory Issues when running tajima module
- Muscle 5.1 no longer has "-maketree" command, breaking vk phylo
- Cannot find thermo path '/primer3_config/
- Running Docker version: "ModuleNotFoundError: No module named 'pomegranate'"
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 vcf-kit.