Closed komalsrathi closed 8 years ago
So you used gemini load
and the inheritance models aren't giving results? Or you used vcf2db.py to load?
I first created an annotated vcf using vcfanno
and then using vcf2db.py
I created the gemini compatible database (code in question). I used to do the same thing before and it used to give me results for the inheritance models.
can you do:
gemini query -q "select chrom, start, end, (gt_types).(*) from variants limit 10" your.db
and show the result? You may have loaded with a broken version of vcf2db.py that was recently fixed.
$ gemini query -q "select chrom, start, end, (gt_types).(*) from variants limit 10" test.db
chr1 17384 17385 3 0 4
chr1 63734 63738 3 0 1
chr1 69510 69511 3 0 4
chr1 69760 69761 3 0 4
chr1 137824 137825 1094810689 791560572 6394158
chr1 182685 182686 3 0 4
chr1 183661 183662 3 0 4
chr1 183799 183800 1094810689 791560572 6394158
chr1 186290 186291 3 0 4
chr1 187101 187102 3 0 4
yeah, update vcf2db.py and reload. You should only see number 0 through 4 in there.
So I had a working installation before (there was no specification for cyvcf2
and peddy
at that time) and now I cannot install vcf2db:
$ conda --version
conda 4.1.11
$ python --version
Python 3.5.2 :: Continuum Analytics, Inc.
$ conda install -c bioconda cyvcf2 peddy
Fetching package metadata .............
Solving package specifications: ....
The following specifications were found to be in conflict:
- cyvcf2
- python 3.5*
Use "conda info <package>" to see the dependencies for each package.
The two packages cyvcf2 (python 2.7) and peddy (python 3.5) are using different python environments. How do I resolve this?
you'll need to switch to python2.
Using gemini_conda
instead of conda
switched the env to python2. The installation worked and so did the query for de_novo
. Thanks a lot!
great! thanks for following up.
Hi,
I recently updated gemini to v0.19.1. I have noticed that when I created a gemini db using the an older version of gemini and vcfanno v0.0.11, I could directly apply inheritance models to them using:
I have tested the same sample before and gotten results using
de_novo
. However, I tried the same thing today with a database generated using gemini v0.19.1 and I don't get any output. Is there an intermediate step involved now?This is the link to the annotated vcf (by vcfanno), gemini database and the pedfile: https://drive.google.com/open?id=0B-8gQV1WZcYdU1VZS3Nvb2E4WXM