Skip to content

Commit

Permalink
Merge pull request #101 from NuttyLogic/development
Browse files Browse the repository at this point in the history
- added support for bedGraph methylation calls
  • Loading branch information
NuttyLogic authored Oct 8, 2020
2 parents f448e65 + a42ff28 commit e56a04a
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 11 deletions.
51 changes: 42 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,55 @@ BSBolt is released under the MIT license.

BSBolt documentation can be found at [bsbolt.readthedocs.io](https://bsbolt.readthedocs.io).

### Installation
## Installation

BSBolt alignment is performed using a modified version of [BWA](https://github.com/lh3/bwa). Read simulation is carried
out using a modified version of [wgsim](https://github.com/lh3/wgsim).
### **PyPi Installation**


Install through PyPi
The easiest installation method is installing pre-compiled binaries using PyPi. Binaries are provided for python >=3.6
on unix like systems (macOS >=10.15 and linux).

```shell
pip3 install BSBolt --user
```

Install from source
### **Installing from Source**

Dependencies

* zlib-devel >= 1.2.3-29
* GCC >= 8.3.1

```shell
git clone [email protected]:NuttyLogic/BSBolt.git
cd BSBolt-master
python3 setup.py install .
# clone the repository
git clone https://github.com/NuttyLogic/BSBolt.git
cd BSBolt
# compile and install package
pip3 install .
```

### **Installing from Source on macOS**

Dependencies
* autoconf
* homebrew
* xcode

Installation from source requires xcode command line utilities, [homebrew](https://brew.sh/) macOS package manager,
and autoconf are installed. Xcode through the mac App Store, running the xcode installation command listed below,
or as part of the [homebrew](https://brew.sh/) macOS package manager installation. The full installation process
can be completed as outlined below.

```shell script
# install xcode utilities
xcode-select --install
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# install autoconf
brew install autoconf
# optionally install python
brew install python3.8
# install BSBolt
pip3 install BSBolt
```


33 changes: 31 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
BSBolt consists of mixture of C, CPP, and Python modules. BSBolt was built to be
[manylinux2010](https://www.python.org/dev/peps/pep-0571/) compliant.
BSBolt and dependencies need to be compiled during the installation process. Pre-compiled binaries are available for
macOS >= 10.15 and linux distributions released after 2010 according to the
[manylinux2010](https://www.python.org/dev/peps/pep-0571/) python enhancement proposal. If a precompiled binary is
unavailable for the target OS binaries will be built from source. If working on a linux distribution zlib-devel should
be installed prior to compilation. Compilation on macOS requires xcode-command line utilities and autoconf be installed
as described below.

### **PyPi Installation**

Expand All @@ -24,3 +28,28 @@ cd BSBolt
# compile and install package
pip3 install .
```

### **Installing from Source on macOS**

Dependencies
* autoconf
* homebrew
* xcode

Installation from source requires xcode command line utilities, [homebrew](https://brew.sh/) macOS package manager,
and autoconf are installed. Xcode through the mac App Store, running the xcode installation command listed below,
or as part of the [homebrew](https://brew.sh/) macOS package manager installation. The full installation process
can be completed as outlined below.

```shell script
# install xcode utilities
xcode-select --install
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# install autoconf
brew install autoconf
# optionally install python
brew install python3.8
# install BSBolt
pip3 install BSBolt
```
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def compile_dependency(compilation_command, cwd):
for line in iter(comp.stdout.readline, ''):
formatted_line = line.strip()
print(formatted_line)
for line in iter(comp.stderr.readline, ''):
formatted_line = line.strip()
print(formatted_line)


def make_external_dependencies():
Expand Down

0 comments on commit e56a04a

Please sign in to comment.