forked from jts/nanopolish
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hasindu2008/gpu-varcall-update
cleaned up GPU consensus calling
- Loading branch information
Showing
59 changed files
with
33,253 additions
and
1,929 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ include/ | |
lib/ | ||
share/ | ||
|
||
hdf5-1.8.14.tar.gz | ||
hdf5-1.*.tar.gz | ||
3.2.5.tar.bz2 | ||
eigen/ | ||
local* |
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,10 @@ | ||
# Developer Notes | ||
|
||
## Updating Bioconda on tagged releases | ||
The following is a quick step-by-step checklist on updating the bioconda release for nanopolish, to be done after each tagged release, and is a condensed/updated version of [these slides](https://monashbioinformaticsplatform.github.io/bioconda-tutorial/#/) by Andrew Perry. | ||
1. On Github, fork `https://github.com/bioconda/bioconda-recipes` to `https://github.com/{USER}/bioconda-recipes` and clone the latter repository to a local directory; `cd` into the cloned directory. | ||
2. Check out a new branch via `git branch nanopolish-bioconda-bump && git checkout nanopolish-bioconda-bump`. | ||
3. Update the `bioconda-recipes/recipes/nanopolish/meta.yaml` file by editing the version tag and the SHA hash; the SHA256 hash can be obtained by running `sha256sum nanopolish-v{$VERSION}.tar.gz` on the command line (where `{VERSION}` is the new, updated version tag); commit the changes to the `meta.yaml` file via, e.g., `git commit -a -m 'bump nanopolish to version {VERSION}'`. | ||
4. Push the changes to your forked repo via `git push origin nanopolish-bioconda-bump`; then, make a pull request to merge the updates into the master branch of the upstream `bioconda-recipes` repository. | ||
5. If all goes well, the automated TravisCI tests on the upstream repository will pass and an owner will merge the changes. | ||
6. Otherwise, if further edits are requested or if the TravisCI tests fail, make further commits to the local cloned repository and push to the forked repository on Github; the changes should automatically appear in the pull request and will trigger an automated TravisCI check. |
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,18 @@ | ||
FROM multiarch/ubuntu-debootstrap:arm64-bionic | ||
RUN uname -a | ||
RUN apt-get update -qq && \ | ||
apt-get install -yq --no-install-suggests --no-install-recommends \ | ||
bzip2 \ | ||
ca-certificates \ | ||
gcc \ | ||
g++ \ | ||
make \ | ||
software-properties-common | ||
RUN add-apt-repository -y universe && \ | ||
apt-get update -qq && \ | ||
apt-get install -yq libhdf5-dev | ||
RUN find /usr/include -name "hdf5.h" || true | ||
RUN find /usr/lib -name "libhdf5.a" || true | ||
WORKDIR /nanopolish | ||
COPY . . | ||
CMD exec bash -c "make && make test" |
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,27 @@ | ||
#Make file options for CUDA support | ||
|
||
NVCC ?= nvcc | ||
CUDA_ROOT = /usr/local/cuda | ||
CUDA_LIB ?= $(CUDA_ROOT)/lib64 | ||
CUDA_INCLUDE ?= $(CUDA_ROOT)/include | ||
CURTFLAGS = -L$(CUDA_LIB) -lcudart_static -lrt | ||
NVCCFLAGS ?= -std=c++11 -I. -I$(CUDA_INCLUDE) -O3 -use_fast_math --default-stream per-thread -restrict | ||
|
||
CPPFLAGS += -I$(CUDA_INCLUDE) | ||
CPPFLAGS += -DHAVE_CUDA=1 | ||
|
||
# Sub directories containing CUDA source code | ||
SUBDIRS += src/cuda_kernels | ||
# Find the source files by searching subdirectories | ||
CU_SRC := $(foreach dir, $(SUBDIRS), $(wildcard $(dir)/*.cu)) | ||
# Automatically generated object names | ||
CU_OBJ = $(CU_SRC:.cu=.o) | ||
CPP_OBJ += $(CU_OBJ) | ||
LDFLAGS += $(CURTFLAGS) | ||
|
||
.SUFFIXES: .cu | ||
|
||
# Compile objects | ||
.cu.o: | ||
$(NVCC) -o $@ -c $(NVCCFLAGS) $(CPPFLAGS) $< | ||
|
Oops, something went wrong.