-
Notifications
You must be signed in to change notification settings - Fork 26
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
Different number of SNPs from same data when ParSNP run on different computers #99
Comments
Hmmm. Thanks for pointing this out. I'm not immediately aware of what could be causing this. I'm assuming both versions came from Conda? |
Thanks for the speedy reply! Actually, both versions were built from source. I noticed the same thing when I use the same Dockerfile to build from source as part of a GitHub actions workflow vs on my computer as well. |
In case it helps, here's an example of the different SNP alignments from ParSNP built using the same Dockerfile on my laptop vs in the GitHub actions workflow and the ParSNP alignment logs from each. The Dockerfile is here. |
Hmm that is strange. The link you posted earlier to the script you ran no longer seems to work. If you can pass that to me, I can run Parsnp from the conda version and see which of your outputs it agrees with. |
Sorry about that, I renamed the script in the meantime. Here's the new link and I've also attached it as a zip archive. |
Hi @bkille I just wanted to follow up that I am having the same issue with ParSNP when installed via conda in a Docker image. I've tried to make the problem easier for you to reproduce via Docker. Dockerfile:
To reproduce the issue, you would need docker installed and running, save the Dockerfile, and run:
That should install ParSNP via conda, download some test assemblies, run ParSNP on them, and cat the SNP alignment and XMFA file sha-256 checksum out to you. When I do this on my laptop (MacOS Monteray) I get When I build the same dockerfile using GitHub actions I get Clearing the caches and re-building the image again on both systems yields the same checksums. |
We are having a problem that ParSNP returns different numbers of SNPs when run on the same input but on different computers.
Here is the script we're running - it pulls genomes from NCBI and runs ParSNP. When run by my colleage on his Linux computer, ParSNP yields a 425-character SNP alignment. When run in a Ubuntu-based Docker container on my computer, ParSNP yields a 450-character SNP alignment.
We are both using ParSNP version 1.5.6. When we run the script multiple times on the same computer, we do get consistent results. So, the differences seem to be introduced by running on different computers.
Do you know what might be causing these differences?
The text was updated successfully, but these errors were encountered: