Hi Martin,
Thanks for the update, sorry we couldn't get back to you earlier.
What was the length of the initial header line? eg. this code
zgrep '^#C' mygenotypes.vcf.gz | wc -c
Anyway, that's weird; there already is code to handle that case,
but it's a limit situation that may have been extensively tested
so there might be a bug. If you could send me the error-causing
VCF (or a subset with the header and a bunch of record lines) it
would greatly help.
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/293565da-dc8f-4c35-9db7-67a70125a1ff%40googlegroups.com.
Now processing...
RAD_0 populations: src/export_formats.cc:2632: virtual int VcfExport::write_site(const CSLocus*, const LocPopSum*, const Datum* const*, std::size_t, std::size_t): Assertion `d[s]->snpdata[index].gq != (255)' failed.
/export/software/slurm/spool/slurmd/job14086941/slurm_script: line 27: 63137 Aborted (core dumped) populations --in_vcf /lustre/mngeve/rapturedata/CATDATA/ipyrad/CBtestsbb_outfiles/CBtestsbb.vcf -M /lustre/mngeve/rapturedata/CATDATA/ipyrad/CBtests_popmap.txt -O /lustre/mngeve/rapturedata/CATDATA/ipyrad/stackspop -p 2 -r 0.7 -t 10 --vcf
To unsubscribe from this group and stop receiving emails from it, send an email to stacks...@googlegroups.com.
Hi Ashley,
This runs without error on my linux machine (see output below). What are you actually trying to accomplish analytically by mixing the two pipelines? For example, the --smooth option won’t do much with this particular dataset since your ‘chromosomes’ are so short.
Julian
% populations -V ./subdata.vcf -O ./ --smooth
Logging to './subdata.p.log'.
Locus/sample distributions will be written to './subdata.p.log.distribs'.
populations parameters selected:
Input mode: VCF
Percent samples limit per population: 0
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
A population map was not specified, all samples will be read from '' as a single popultaion.
Opening the VCF file...
No population map specified, creating one from the VCF header...
Working on 24 samples.
Working on 1 population(s):
defaultpop: 120H5, 124H5, 126H1, 130H5, 134H5, 137H1, 140H5, 141H5, 142H5, 143H5, 151H5, 154G1, 156G7, 157G19, 159H5, 162L1, 163L5, 169L1,
170L5, 171L5, 173H1, 72G6, 74G8, 88G22
Working on 1 group(s) of populations:
defaultgrp: defaultpop
Raw haplotypes will be written to './subdata.p.haplotypes.tsv'
Population-level summary statistics will be written to './subdata.p.sumstats.tsv'
Population-level haplotype summary statistics will be written to './subdata.p.hapstats.tsv'
Processing data in batches:
* load a batch of catalog loci and apply filters
* compute SNP- and haplotype-wise per-population statistics
* 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 './subdata.p.log.distribs'.
Now processing...
RAD_0
RAD_2
…
RAD_1247
RAD_1250
RAD_1253
Found 1978 SNP records in file './subdata.vcf'. (Skipped 0 already filtered-out SNPs and 0 non-SNP records ; more with --verbose.)
Removed 0 loci that did not pass sample/population constraints from 1978 loci.
Kept 1906 loci, composed of 1906 sites; 0 of those sites were filtered, 1906 variant sites remained.
1904 genomic sites, of which 2 were covered by multiple loci (0.1%).
Mean genotyped sites per locus: 1.00bp (stderr 0.00).
Population summary statistics (more detail in populations.sumstats_summary.tsv):
defaultpop: 21.116 samples per locus; pi: 0.11727; all/variant/polymorphic sites: 1906/1906/1906; private alleles: 0
Populations is done.