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

2d folded sfs how to? #599

Open
darijajosic opened this issue Sep 28, 2023 · 1 comment
Open

2d folded sfs how to? #599

darijajosic opened this issue Sep 28, 2023 · 1 comment

Comments

@darijajosic
Copy link

darijajosic commented Sep 28, 2023

Hi,
I am probably doing this wrong... I am trying to produce a 2d folded sfs to use with fastsimcoal.
My commands are as follows for each of my 2 populations:

angsd \
-nThreads 12 \
-bam bamlist_pop1 \
-anc m19_AffsNnoesSC.p1.fa \
-doSaf 1 \
-GL 2 \
-out pop1_sfs \
-minMapQ 30 \
-minQ 20

Next I fold it and create a 2d sfs:

realSFS -fold 1 pop1_sfs_red.saf.idx pop2_sfs_red.saf.idx -P 30 > pop1_pop2_fold_red.sfs

Is this the correct way?

Thank you so much for your help.
Best,
Darija

@darijajosic darijajosic changed the title 2d folded sfs has the wrong dimensions 2d folded sfs how to? Oct 13, 2023
@TrishikaS
Copy link

Hey @darijajosic, that seems ok to me. Did it work?

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