Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of numbers output by realSFS #619

Open
Erikacj opened this issue Apr 24, 2024 · 1 comment
Open

Number of numbers output by realSFS #619

Erikacj opened this issue Apr 24, 2024 · 1 comment

Comments

@Erikacj
Copy link

Erikacj commented Apr 24, 2024

I am running -doSaf and realSFS to obtain the SFS to estimate Ne through time. For 14 samples I run:

~/angsd/angsd
-bam bam.txt
-nThreads 8
-anc ~/ref.fasta
-setMinDepthInd 5
-doSaf 1
-minmapQ 30
-minQ 20
-minInd 7
-doBcf 1
-domajorminor 1
-gl 2
-dopost 1
-domaf 2
-out ./angsd/SFS

~/angsd/misc/realSFS SFS.saf.idx -maxIter 100 -P 4 > SFS.sfs

The output from the above gives me 29 numbers for 14 samples:

2553445.800865 103809.213969 43688.859571 28674.860202 21990.861158 17054.914529 14721.903145 12352.277563 11707.233481 10945.865687 11070.809709 10355.972034 10011.312219 9803.119318 9387.831696 5617.122029 4253.325799 2615.508075 2468.261782 1593.288319 1148.791966 1317.130954 1039.779926 1126.637310 1217.816215 1393.024173 1699.225106 2439.155779 18558.097422

I thought this should give me 28 numbers, not 29. Can someone explain why I am getting this number?

@Erikacj Erikacj changed the title Number numbers output by realSFS Number of numbers output by realSFS Apr 24, 2024
@ANGSD
Copy link
Owner

ANGSD commented Apr 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants