dna-nn
LOW
maintainer imjiaoyuan
0 votes
scanned 2026-10-08 16:09:18.783063
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: imjiaoyuan <imjiaoyuan@gmail.com>
2
# Upstream ships no LICENSE file; the licence text in the tree is the MIT grant
3
# heading the bundled KANN headers, so that is what gets installed.
4
5
pkgname=dna-nn
6
pkgver=0.1
7
pkgrel=1
8
pkgdesc="Deep-learning models for annotating satellite DNA in long assemblies"
9
arch=('x86_64')
10
url="https://github.com/lh3/dna-nn"
11
license=('MIT')
12
depends=('glibc' 'zlib')
13
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14
sha256sums=('bac26a25ad9e0315351b170bc33ab4e41b7573818fd9527b661f882b96ae0a8a')
15
16
build() {
17
cd "$srcdir/$pkgname-$pkgver"
18
make
19
}
20
21
package() {
22
cd "$srcdir/$pkgname-$pkgver"
23
install -Dm755 gen-fq "$pkgdir/usr/bin/gen-fq"
24
install -Dm755 dna-cnn "$pkgdir/usr/bin/dna-cnn"
25
install -Dm755 dna-brnn "$pkgdir/usr/bin/dna-brnn"
26
# the pre-trained (ATTCC)n / alpha-satellite model the README uses
27
install -Dm644 models/attcc-alpha.knm \
28
"$pkgdir/usr/share/$pkgname/models/attcc-alpha.knm"
29
install -d "$pkgdir/usr/share/licenses/$pkgname"
30
awk 'NR==1,/^\*\//' kann.h > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31
}
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 16:09:18 | Low | 1 |