Skip to content

Commit

Permalink
Merging with upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgawan committed Sep 26, 2021
2 parents a7e020d + 5e30975 commit 4ce8cd4
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
[![GitHub forks](https://img.shields.io/github/forks/mgawan/adept_revamp.svg?style=social&label=Fork&maxAge=2592000)](https://GitHub.com/mgawan/adept_revamp/network/) [![GitHub stars](https://img.shields.io/github/stars/mgawan/adept_revamp.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/mgawan/adept_revamp/stargazers/) [![GitHub contributors](https://img.shields.io/github/contributors/mgawan/adept_revamp.svg)](https://GitHub.com/mgawan/adept_revamp/graphs/contributors/) [![GitHub issues](https://img.shields.io/github/issues/mgawan/adept_revamp.svg)](https://GitHub.com/mgawan/adept_revamp/issues/) [![Github all releases](https://img.shields.io/github/downloads/mgawan/adept_revamp/total.svg)](https://GitHub.com/mgawan/adept_revamp/releases/)

# ADEPT
ADEPT is a GPU accelerated sequence alignment library for short DNA reads and protein sequences. It provides API calls for asychronously performing sequence alignments on GPUs while keeping track of progress on GPUs so that work can be performed on CPUs. Different capabilities of ADEPT API are explored using examples in the `examples` folder.

## Dependencies
ADEPT can built using CUDA 9.0 or later and a version of GCC compatible with the CUDA version that is used.
ADEPT can be built using CUDA 9.0 or later and a version of GCC compatible with the CUDA version that is used.

## Examples
To build the examples cd into the directory containing the <example>.cpp file and use below instructions to build and run:
## Building
To build ADEPT library along with the C++ and Python examples, first move into the top level directory of the repo and follow the below steps:

To build:
### To build:
```bash
mkdir build
cd build
cmake ../
export PYTHONPATH=$PWD:$PYTHONPATH
cmake -DADEPT_USE_PYTHON=ON ../
make
```
To run:
### To run
To run the installed examples (examples are also used as test):
```bash
make test
```
If you do not need python module of ADEPT, simply use:

```bash
./<example> ../../../test-data/dna-reference.fasta ../../../test-data/dna-query.fasta ./results
mkdir build
cd build
cmake ../
make
```
and follow the above steps to run the tests.

## Usage
ADEPT provides Smith Waterman sequence alignment support for Protein and DNA sequences. The library provides options of using multiple GPUs and asynchronous support for performing CPU work while GPUs are busy with ADEPT alignments. To understand different use cases please refer to the samples contained in Examples folder.

### Contact
If you need help modifying the library to match your specific use-case or for other issues and bug reports please open an issue or reach out at [email protected]
Expand All @@ -33,4 +46,9 @@ If you need help modifying the library to match your specific use-case or for ot
2. [Muhammad Haseeb](https://sites.google.com/fiu.edu/muhammadhaseeb) [![Twitter](https://flat.badgen.net/twitter/follow/iHaseebM?icon=twitter)](https://twitter.com/iHaseebM)

### License
Please read the license [here](./LICENSE).

ADEPT: a domain independent sequence alignment strategy for GPU architectures Copyright (c) 2019, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

If you have questions about your rights to use or distribute this software, please contact Berkeley Lab's Intellectual Property Office at [email protected].

NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S. Government consequently retains certain rights. As such, the U.S. Government has been granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the Software to reproduce, distribute copies to the public, prepare derivative works, and perform publicly and display publicly, and to permit other to do so.

0 comments on commit 4ce8cd4

Please sign in to comment.