-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
spades: try to remove spades-bwa #212
base: master
Are you sure you want to change the base?
Conversation
BioArchLinux/spades/PKGBUILD
Outdated
@@ -12,10 +12,11 @@ depends=( | |||
python | |||
) | |||
makedepends=( | |||
bzip2 | |||
gcc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gcc is the default compiler, I don't think we need to add it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used makepkg
to test building process, then I got some errors.
After installing gcc
, it works. That's why I added gcc into PKGBUILD.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But have you tried bioarchlinux-x86_64-build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gcc
is a dependency of base-devel
, so it should not be in makedepends. From Arch wiki:
The package
base-devel
is assumed to be already installed when building with makepkg. Dependencies of this package should not be included inmakedepends
array.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Removed gcc
.
my question is that the spades-bwa is same with bwa, why not use ln -s to solve it? |
Sorry for my misunderstanding. From the CMakeLists.txt file https://github.com/ablab/spades/blob/main/ext/src/bwa/CMakeLists.txt#L33, it appears that SPAdes does not use the most recent version of BWA, but instead includes a method to build BWA as part of the SPAdes compilation process. This approach simplifies the installation for users, as they can compile SPAdes and have BWA built alongside it without needing to separately install BWA. Arch Linux users, embracing the KISS principle, can opt for a simplified SPAdes installation process. If the latest BWA is compatible with SPAdes, we can remove the integrated BWA build from SPAdes and instead provide a symbolic link from spades-bwa to the latest BWA installation. Let me try this week. |
After removing |
Unfortunately, BWA used: https://github.com/lh3/bwa/blob/master/bwamem.h The API is not the same one. |
Okay, great, thanks for your testing |
you said not compatible, but why do you now use ln? |
I checked the API more in depth, basically, |
Have you tested it with example data? |
Involved packages
Involved issue
Close # 7f21e90#commitcomment-143917186
Details
Additional Note
gcc
tomakedepends