Hello Matthew,
The "this should never happen" errors are just guards to make sure all the code runs in exactly the way we think it should. In this case this seems to be a crash I introduced in v2.3 and has to do with the handling of SNPs that have more than two alleles.
We'll eventually fix it; in the meantime if you're fine ignoring SNPs that have 3 or 4 alleles, you can remove them from your VCF like so:
awk '/^#/ || $4 !~ /,/' mysnps.vcf > mysnps.2alleles.vcf
Best,
Nicolas
--
Stacks website: http://catchenlab.life.illinois.edu/stacks/
---
You received this message because you are subscribed to the Google Groups "Stacks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stacks-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/stacks-users/18160dfe-9b29-422b-bf55-35c74e525dc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Matthew,
The "this should never happen" errors are just guards to make sure all the code runs in exactly the way we think it should. In this case this seems to be a crash I introduced in v2.3 and has to do with the handling of SNPs that have more than two alleles.
We'll eventually fix it; in the meantime if you're fine ignoring SNPs that have 3 or 4 alleles, you can remove them from your VCF like so:
awk '/^#/ || $4 !~ /,/' mysnps.vcf > mysnps.2alleles.vcf
Best,
Nicolas
Le 2/8/2019 à 1:56 PM, Matthew Olson a écrit :
I am trying to import a vcf developed in gatk from sequence capture data from 47 individuals so that I can calculate Fis for each locus using "populations".--
My command line is:populations -V MyVcfName.vcf --out-path ./stacksOut -M popmap.txt -t 8
the popmap is read, the vcf is opened, and batch processing begins, but I get the following error:
At src/PopSum.cc:96 This should never happen.Aborted.
I am using stacks version 2.3.
Has anyone else had a similar problem? Any advice on how to move past this error message would be very much appreciated.
Stacks website: http://catchenlab.life.illinois.edu/stacks/
---
You received this message because you are subscribed to the Google Groups "Stacks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stacks...@googlegroups.com.