Watterson Theta with ANGSD [Segmentation Error]
0
1
Entering edit mode
4.1 years ago
yolek64754 ▴ 30

Hi everyone,

I am trying to calculate Theta for the first time using ANGSD and this tutorial . I installed it using Conda (as I am running it on a cluster and don't want bother loading C packages to make and all). The first command

angsd -i MYsorted.bam -doSaf 1 -anc ref/human_g1k_v37.fa.gz -GL 1 -out TESTOUT

run, I believe correctly, here is :

angsd version: 0.933 (htslib: 1.9) build(May 6 2020 21:25:11)

Reading fasta: ref/human_g1k_v37.fa.gz

[bammer_main] 1 samples in 1 input files
-> Parsing 1 number of samples
-> Printing at chr: GL000239.1 pos:32549 chunknumber 26300 contains 222 sites
-> Done reading data waiting for calculations to finish
-> Done waiting for threads
-> Output filenames:
->"TESTOUT.arg"
->"TESTOUT.saf.gz"
->"TESTOUT.saf.pos.gz" ->"TESTOUT.saf.idx"
-> Wed Nov 4 17:45:56 2020
-> Arguments and parameters for all analysis are located in .arg file
-> Total number of sites analyzed: 33057855
-> Number of sites retained after filtering: 33007015
[ALL done] cpu-time used = 75.00 sec
[ALL done] walltime used = 75.00 sec

However when I try to do the second command of step 1:

realSFS TESTOUT.saf.idx -P 24 -fold 1 > TESTOUT.sfs

I have the output:

-> Version of fname:TESTOUT.saf.idx is:2

Segmentation fault

Do you have an idea from where this can come from ? Thanks a lot !

angsd theta watterson stats conda • 1.4k views
ADD COMMENT

Login before adding your answer.

Traffic: 2069 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6