Comments (7)
Hi.
The error is occurring because the ipyrad and stacks VCF files have a field that has the allele depths in it, but your GATK 4 file seems to either not have the allele depths (AD) field or it might be in a different location or have a different format than ipyrad and stacks. vcf2bgc.py hasn't been tested with GATK 4 VCF files, and VCF files have a lot of variant formats.
If you could send me your VCF file, I can see if it would be possible to add support for GATK 4 VCF files. If it has the Allele Depth (AD) field in the FORMAT tag, then it should be possible to add it. See the example record below to see where you can find the AD field. You can email me your VCF file if you want and I'll see if I can add support for that format.
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT NA12878 [other samples...]
20 10001019 . T G 364.77 . [CLIPPED] GT:AD:DP:GQ:PL 0/1:18,15:33:99:393,0,480
from clinehelpr.
from clinehelpr.
Hi,
I was not able to reproduce the error you received with the VCF file you sent me. Note that I subset the number of sites to the same number that it printed above, and I am not 100% sure that I assigned the same individuals to P1, P2, and admixed populations. But it seemed to run all the way through. Is the VCF file you ran above any different than the one you sent me?
-Bradley
from clinehelpr.
Hi Bradley, I tried running absolutely the same vcf (I prefer working with the vcf to bgc instead of geeing) and I have the same problem again. Do you think there is anything wrong with my installation? I am not familiar with docker.
Thank you so much!
from clinehelpr.
Again, I apologize for my delayed reply. I think I know what the issue is. I added support for stacks recently, and I think I need to rebuild the docker image. So in other words, the vcf2bgc.py file in the ClineHelpR/scripts directory is correct, but I haven't added the updated file to the docker image.
from clinehelpr.
the reason I mentioned stacks is because I think that format also works with the VCF file generated by GATK4.
from clinehelpr.
Hi. I fixed the issue with the Docker version of the vcf2bgc.py script. It should work now. I'm closing the issue, but if it still doesn't work let me know.
You should run:
sudo docker pull btmartin721/clinehelpr:latest
to pull the new docker image.
from clinehelpr.
Related Issues (17)
- Hybrid Index HOT 1
- Error HOT 9
- get_bgc_outliers error HOT 15
- Rename snps$crazy.a and snps$crazy.b to something more intuitive
- Rebuild docker image with updates to vcf2bgc.py HOT 1
- Fix run_bgc.sh estpost LnL file naming HOT 1
- run bgc error in docker HOT 3
- ClineHelpR R package conda install? HOT 1
- jinja2 HOT 2
- R function: combine_bgc_output HOT 2
- GSL error. HOT 2
- phiPlot visualization issue HOT 1
- Assessing the convergence of runs HOT 3
- Add vcf2bgc script
- vcf2bgc.py file HOT 6
- pafscaff HOT 6
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 clinehelpr.