Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to make bwa short read alignment deterministic for testing #41

Closed
tnguyensanger opened this issue Jul 29, 2020 · 1 comment
Closed

Comments

@tnguyensanger
Copy link
Contributor

@gbggrant requested ways to make bwa short read alignment deterministic for testing.

Trawling through the internet indicates that we can make bwa deterministic if we follow all of these steps:

  1. Always use the same fastq with the reads in the same order

  2. Always use the same machine and bwa settings. Alternatively, if we need to change the machine and threads given to bwa, we can explicitly set the hidden bwa mem option -K to set the chunk size. If -K is not set, then the chunksize is determined by the number threads. This makes a difference to the end bam because the insert size is determined by the chunk.

See past comments from Heng Li:
lh3/bwa#192
lh3/bwa#272
lh3/bwa#121

Also see this centre for common disease genomics repo issue:
CCDG/Pipeline-Standardization#2

@tnguyensanger
Copy link
Contributor Author

Addressed by #63

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants