Closed TomaszSuchan closed 3 years ago
Hi @TomaszSuchan ,
Did you run the recommended pre-filtering steps in the docs? https://ipyrad.readthedocs.io/en/latest/API-analysis/cookbook-vcf2hdf5.html
Hi,
I tried filtering my file with bcftools
as described but I still get the error. The file is from freebayes
(dDocent
pipeline), with complex variants broken, only balletic SNPs retained.
After the filtering steps it looks clean:
[...]
##contig=<ID=dDocent_Contig_9235>
##contig=<ID=dDocent_Contig_9242>
##contig=<ID=dDocent_Contig_9245>
##contig=<ID=dDocent_Contig_9246>
* Subsample taxa during branching
dDocent_Contig_5 191 . G T 5238.62 . . GT 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 1/1 0/0 0/0 1/1 0/0 0/0 0/0
0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/0 0/0
0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0
0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0
0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0
0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0
dDocent_Contig_6 181 . T C 6171.06 . . GT 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/1 0/0 0/0 0/1 0/1 0/0 0/0 0/1
0/0 0/0 0/0 0/1 0/0 0/1 0/0 0/0 0/1 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/1 0/0 0/0 0/0
0/1 0/0 0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 ./. 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 1/1 0/0 0/0
0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 ./.
0/0 0/1 0/0 0/1 0/0 0/1 0/0 0/0 0/0 0/1 0/0 0/0 0/1 0/0 0/0 0/0 0/1 0/1 0/0 0/0
./. 0/0 0/0 0/0 0/0 0/0 1/1 1/1 0/0 0/0
[...]
Thanks, I'll look into it, I'm guessing maybe a Py2/3 bug...
Yes, good guess - that was in Conda environment with python 2.7, it was left after updating ipyrad. Fresh Conda environment solved the problem, now with python 3.6.7.
+1 python2.7 is officially eol, so we won't worry about fixing this for 2.7 version
I'm getting this error with ipyrad-0.9.33 when running
vcf_to_hdf5
converter: