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

Replace BWA MEM with Minimap2 #182

Merged
merged 5 commits into from
Sep 12, 2024
Merged

Replace BWA MEM with Minimap2 #182

merged 5 commits into from
Sep 12, 2024

Conversation

standage
Copy link
Member

@standage standage commented Sep 12, 2024

This PR replaces BWA MEM with Minimap2 as the alignment program used by mhpl8r pipe. This yields substantial speedups especially for mapping to the entire genome.


curl -L -O http://ccb.jhu.edu/software/FLASH/FLASH-1.2.11-Linux-x86_64.tar.gz && tar -xzf FLASH-1.2.11-Linux-x86_64.tar.gz && sudo cp FLASH-1.2.11-Linux-x86_64/flash /usr/local/bin/ && rm -r FLASH-1.2.11*
python -m pip install --upgrade pip
pip install .
mhpl8r getrefr
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command wasn't used previously because it takes so long to create a BWA index. Instead, a pre-computed index was downloaded. Constructing a Minimap2 index is much quicker and can be done as part of the CI build.

@standage standage merged commit a70b5a2 into main Sep 12, 2024
4 checks passed
@standage standage deleted the minimap2 branch September 12, 2024 19:13
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

Successfully merging this pull request may close these issues.

1 participant