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 sites retained after filtering #602

Open
shuya099 opened this issue Nov 1, 2023 · 0 comments
Open

Number of sites retained after filtering #602

shuya099 opened this issue Nov 1, 2023 · 0 comments

Comments

@shuya099
Copy link

shuya099 commented Nov 1, 2023

hello, teams,

I did haploid calling with the following code:

#!/bin/bash
ref_geno="XXXX"

samtools mpileup -aa -B -l haploid_calling_sites.txt -f "$ref_geno" *.bam > TwoSamps.pileup.txt

After that:

ref_geno_fai="XXXXXX"

angsd -out haploid_calling_output -pileup TwoSamps.pileup.txt -fai "$ref_geno_fai" -nInd 2 -dohaplocall 1 -doCounts 1 -nThreads 5

So the output text shown on the screen was:

    -> Arguments and parameters for all analysis are located in .arg file
    -> Total number of sites analyzed: 42976817
    -> Number of sites retained after filtering: 35524355

I will appreciate it if you can explain what sites got filtered during this process. For pseudohaplotype calling from a known SNP set, there should be no removal of sites at this step, and all samples should end up with the same number of sites.

Many thanks for your help,

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

1 participant