-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
PKGBUILD for snpeff ver 5.1 #100
Conversation
I would suggest you complete the lilac.yaml just like what is written in tnt. If this is package is maintained by yourself on AUR, add For java package, better to compile from source unless it's difficult. I am still trying to fix current java applications. see my efforts on #85 |
try |
Yes the package is maintained by me in AUR. I can make the modifications as you suggested. I will add bioarchlinux bot as co-maintainer as well. However, regarding compiling java packages from source is out of my skill level as of now.
|
just try |
okay. i will give it a try |
You might check also this doc. |
BioArchLinux/snpeff/PKGBUILD
Outdated
source=( | ||
snpEff.sh | ||
SnpSift.sh | ||
https://snpeff.blob.core.windows.net/versions/snpEff_latest_core.zip |
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 recommend to use https://github.com/pcingola/SnpEff/archive/refs/tags/v${pkgver}.tar.gz
,
and compile from source.
BTW, the latest version is 5.1d
, see https://github.com/pcingola/SnpEff/releases/tag/v5.1d
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.
It's not a good version number, vercmp 5.1d 5.1
returns -1
, which means 5.1d < 5.1
. The upstream might need to use a proper version number.
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 recommend to use
https://github.com/pcingola/SnpEff/archive/refs/tags/v${pkgver}.tar.gz
, and compile from source.BTW, the latest version is
5.1d
, see https://github.com/pcingola/SnpEff/releases/tag/v5.1d
That seems to be source code release. However the project main page as well as binaries lists version as 5.1
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.
That seems to be source code release.
Whenever possible, compile from source.
However the project main page as well as binaries lists version as 5.1
This means the project main page is out-of-date and should be updated.
BTW, as the version number is not properly set, you may file an issue in the upstream first.
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.
why not confirm with upstream? It would be a problem if the source and the binary release did not match.
so according to the doc biojava-core and biojava-structure are also dependencies for building snpeff from source |
already in pom.xml https://github.com/pcingola/SnpEff/blob/master/pom.xml#L102 |
you might also make sure the files' permission is set to |
i have been trying to compile this package from sources. however, the sources for two utilities of the package SnpEff and SnpSift are hosted in two different github repositories as per the documentation from upstream as shown below.
i managed to write a |
Looks fine to me, but there are minor issues you should pay attention to. According to Java_package_guidelines, And since nothing is done in BTW, since the two components share the same version number, I now think |
i have made the modifications as suggested as well as adding shell wrapper for jar files. please check and let me know if anything else is to be done. |
|
while attempting to squash commits i am getting following error.
commit f075eca is the current PKGBUILD that compiles from source. any ideas? if nothing works, this pull request can be closed and new one be opened as snpeff has already been added ot Bioarchlinux:master branch. the rewritten PKGBUILD cn be submitted as fresh PR |
I think you could update the |
Oh, it seems you fork this repo, and work on a branch It would be much easier to:
Maybe you could use the same branch name in the forked repo, and then you don't need to create another pull request. If you choose this method, remember to back up your files before deleting the old branch so that you could create a new branch with the same name. |
another tip, |
Involved packages
Details
Additional Note
the package provides both snpEff and SnpSift binaries.