-
Notifications
You must be signed in to change notification settings - Fork 53
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
angsd of different build retain no sites #405
Comments
Similar issue : Sites are not retained using "-sites" option using angsd 0.935I have been using angsd version: 0.935 (htslib: 1.12) build (Mar 28 2021 01:00:43) installed from conda using the command shown below. Unfortunately, the sites are not retained in the output files (see output for beagle.gz, mafs.gz). BUT when I use the angsd version: 0.921 (htslib: 1.9) build (Aug 6 2018 13:54:50) installed from conda using the same command sites are retained as expected. I also tested the angsd version: 0.921 (htslib: 1.6) build (Jun 3 2019 10:11:40) installed from github, which works fine as well. So in my case, the issue seems to be the version and not the installation via conda My commands:
My SNP list
My scaffolds for which I have sites I want to analyse (in this case only one, i.e. scaffold "chrom1")
|
Hi @tholtzem, thank you very much for coming here with this solution as it works well with version 0.921 indeed (got it installed with conda). So this problem is fixed on my side and I'll close this. I hope the latest version of angsd will be as stable soon. |
Add function aio::doAssert to replace asserts Did not use aio::assert as name since aio.h namespace complains due to assert being a macro Fixes the major bug explained in #527 Fixes issues #520 #474 #466 #420 #405 #396 #385 Possibly others; other issues should rerun the commands using the latest version.
I have been using angsd version: 0.933-79-gda26ba4 (htslib: 1.10.2) build(Jun 24 2020 10:30:09) with the following command to get genotype likelihood of selected sites and it has been going well in our server, say server A:
angsd -i input/${file} -sites sites.file -r autosomes -out glf_files/${file%.bam} -minQ 20 -minMapQ 20 -remove_bads 1 -trim 5 -GL 2 -doGlf 4
This is the result
But the exact same command with same sites, same BAM, same angsd and htslib version, different server, say server B, just installed from conda instead from github like what I did in server A, do not retain any sites:
I actually also noticed that the same version of angsd analysed different number of sites of the same BAM file even when I specify the same chromosome using
-r
. Could someone point me how to fix this? I have also compiled the newest version of ANGSD from github in my home directory in the server B. I have checked also if the sites actually exist; it output GL in using the same version of ANGSD in server A so it should be there.The text was updated successfully, but these errors were encountered: