Hi Julian,
I also had an aborted (core dumped) problem with Populations. I am going through your 2017 protocol using the test samples. I am performing the reference-based analysis (p.2650) with Stacks 2.62. As the protocol is for version 1, I modified it to work with the current version by sorting the .bam file and using Gstacks. I then analyzed the output from Gstacks with Populations. At first Populations appeared to be working fine until the core dumped. Can you please provide any assistance to both Ayress and myself? Below is the populations.log
$ populations -P ./ -M ../../info/popmap.test_samples.tsv -r 0.65 --vcf --genepop --fstat --smooth --hwe -t 8
Logging to './populations.log'.
Locus/sample distributions will be written to './populations.log.distribs'.
populations parameters selected:
Percent samples limit per population: 0.65
Locus Population limit: 1
Percent samples overall: 0
Minor allele frequency cutoff: 0
Maximum observed heterozygosity cutoff: 1
Applying Fst correction: none.
Pi/Fis kernel smoothing: on
F-stats kernel smoothing: on
Bootstrap resampling: off
Parsing population map...
The population map contained 12 samples, 4 population(s), 1 group(s).
Working on 12 samples.
Working on 4 population(s):
cs: cs_1335.01, cs_1335.13, cs_1335.15
pcr: pcr_1193.10, pcr_1193.11, pcr_1211.04
sj: sj_1483.06, sj_1484.07, sj_1819.36
wc: wc_1218.04, wc_1221.01, wc_1222.02
Working on 1 group(s) of populations:
defaultgrp: cs, pcr, sj, wc
SNPs and calls will be written in VCF format to './populations.snps.vcf'
Haplotypes will be written in VCF format to './populations.haps.vcf'
Polymorphic sites in GenePop format will be written to './populations.snps.genepop'
Polymorphic loci in GenePop format will be written to './populations.haps.genepop'
Raw haplotypes will be written to './populations.haplotypes.tsv'
Population-level summary statistics will be written to './populations.sumstats.tsv'
Population-level haplotype summary statistics will be written to './populations.hapstats.tsv'
Processing data in batches:
* load a batch of catalog loci and apply filters
* compute SNP- and haplotype-wise per-population statistics
* compute SNP- and haplotype-wise deviation from HWE
* smooth per-population statistics
* compute F-statistics
* smooth F-statistics
* write the above statistics in the output files
* export the genotypes/haplotypes in specified format(s)
More details in './populations.log.distribs'.
Now processing...
groupI
groupII
groupIII
groupIV assertion "has_lik(gt)" failed: file "src/utils.h", line 121, function: double GtLiks::at(std::size_t) const
Aborted (core dumped)
thanks,
Blair