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

autocorrelation? #48

Closed
cistarsa opened this issue Apr 11, 2023 · 1 comment
Closed

autocorrelation? #48

cistarsa opened this issue Apr 11, 2023 · 1 comment

Comments

@cistarsa
Copy link

cistarsa commented Apr 11, 2023

Hello and thank you for this nifty program! I'm using it to determine relatedness among three sympatric populations (within ~5mi radius) across two years and find an extremely high level of relatedness among all individuals. I'm using the r0, r1 and king-robust values for visualization but I'm concerned at the seemingly perfect correlation between these values among the individuals. Below is the angsd code used to generate the likelihoods. The reference genome is large at >2Gb, so I mapped the low coverage reads (1-3x) to the first half of the genome.

#map fastqs to reference:
bwa-mem2 mem -t32 noCont.fasta "$in1" "$in2" | samtools view -bS - | samtools sort - > sample."$z".bam

# did not mark duplicates, could this drive the difference?
#angsd.
angsd -b 176.temp -gl 2 -nInd 176 -minInd 158 -doCounts 1 -setMaxDepth 1580 -rf chrom5.rf.list -setMinDepth 320 -setMinDepthInd 1 -setMaxDepthInd 10 -domajorminor 1 -snp_pval 1e-6 -domaf 1 -minmaf 0.05 -doGlf 3 -nThreads 8 -out chrom5_90pc
#ngsrelate.
ngsRelate -g chrom5_90pc.glf.gz -n 176 -z 176.20201.list -f 179_chrom5.freq -O 179_chrom5_out

pecan_related20201

@cistarsa
Copy link
Author

moved on

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