-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
374 changed files
with
22,501 additions
and
1,588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
|
||
export M4="${BUILD_PREFIX}/bin/m4" | ||
cd "${SRC_DIR}" | ||
|
||
autoconf | ||
./configure --prefix="${PREFIX}" | ||
make | ||
autoupdate | ||
./configure --prefix="${PREFIX}" CC="${CC}" | ||
make -j"${CPU_COUNT}" | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -xe | ||
|
||
go mod tidy | ||
go build -o allhic -v cmd/main.go | ||
|
||
mkdir -p ${PREFIX}/bin | ||
install -m 755 allhic ${PREFIX}/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% set name = "allhic" %} | ||
{% set version = "0.9.14" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin='x.x') }} | ||
|
||
source: | ||
url: https://github.com/tanghaibao/allhic/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: b73d66d591b69b9456df61e3374b79f86a5501080805f02bc5ea56809d889de5 | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('go') }} | ||
|
||
test: | ||
commands: | ||
- allhic --help | ||
|
||
about: | ||
home: https://github.com/tanghaibao/allhic | ||
license: BSD-3-Clause | ||
license_family: BSD | ||
license_file: LICENSE | ||
summary: Genome scaffolding based on HiC data in heterozygous and high ploidy genomes | ||
dev_url: https://github.com/tanghaibao/allhic | ||
|
||
extra: | ||
additional-platforms: | ||
- linux-aarch64 | ||
- osx-arm64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
set -xe | ||
|
||
export M4="${BUILD_PREFIX}/bin/m4" | ||
export INCLUDES="-I{PREFIX}/include" | ||
export LIBPATH="-L${PREFIX}/lib" | ||
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" | ||
export CFLAGS="${CFLAGS} -O3" | ||
export CXXFLAGS="${CXXFLAGS} -O3" | ||
|
||
case $(uname -m) in | ||
aarch64 | arm64) | ||
ARCH_OPTS="--disable-sse" | ||
;; | ||
*) | ||
ARCH_OPTS="" | ||
;; | ||
esac | ||
|
||
./autogen.sh | ||
./configure CC="${CC}" CXX="${CXX}" --prefix=${PREFIX} --with-jdk=${PREFIX} --disable-march-native ${ARCH_OPTS} | ||
make -j ${CPU_COUNT} | ||
make install |
Oops, something went wrong.