Closed casparbein closed 3 years ago
Yes, hello Berhard. First, let me say, thank you for carefully including so much useful information in your issue, it's super helpful.
This is actually a known bug in the tetrad codebase, which I have actually "fixed" but I don't have permissions on the repository to apply said fix. Was going to make a pr, but I didn't get around to it. I posted the diff to fix this in the issue on the tetrad github:
https://github.com/eaton-lab/tetrad/issues/5#issuecomment-872811206
If you can clone the tetrad repo and apply this diff that'll be the fastest way to get you going. Otherwise watch that tetrad issue for when the fix is merged in.
Closing this ticket as a dupe of the tetrad one.
Hi,
in order to run a tetrad analysis on a couple of SNP datasets that we filtered with vcftools, I converted a bunch of vcf-files that were originally produced as output of an ipyrad assembly and subsequently filtered with vcftools into hdf5-files. I used the following command from the ipyrad analysis toolkit cookbook:
Which runs without a problem. Now, when I try to use this file in a tetrad analysis with the following command:
I get the following error:
I tried perfiltering indels and multiallelic SNPs, but apparently there are no indels in the vcf, and the error occurs invariably both with heavily filtered files and even the original output vcf produced by ipyrad (when converted to hdf5). When I use the snps.hdf5 file of the ipyrad output directly, however, I get no error and tetrad runs smoothly:
Any idea what I am doing wrong? I am running ipyrad v. 0.9.65 and Python v.3.7.10 on a remote machine.
Thanks a lot in advance,
Bernhard