Skip to content

Commit

Permalink
Merge pull request #1 from taylor-lab/develop
Browse files Browse the repository at this point in the history
Added requirements.txt for python libraries
  • Loading branch information
evanbiederstedt authored Jun 7, 2019
2 parents a7de771 + 3111c65 commit 5a82501
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: python
python:
- 2.7
install:
- sudo apt-get -y update
- pip install codecov
- pip install -r requirements.txt
script:
- nosetests
after_success:
- codecov
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ The pipeline has four main steps:


## Install
Clone the repo and you are ready to go:

Clone the repo and install any necessary python2 libraries from `requirements.txt`. Note that this repo is currently only compatible with Python 2.7, not Python 3.x :

```bash
git clone https://github.com/taylor-lab/neoantigen-dev.git
cd neoantigen-dev
pip install -r requirements.txt
```


## Usage
NOTE: For POLYSOLVER step, the pipeline requires 8 cores.
```
Expand Down
3 changes: 2 additions & 1 deletion neoantigen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/opt/common/CentOS_6-dev/python/python-2.7.10/bin/python
#!/usr/bin/env python2

import os, sys, subprocess, psutil
import argparse, re, errno
import time, datetime, dateutil.parser
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
psutil(>=5.6.2)
python-dateutil(>=2.8.0)
pandas(>=0.24.2)
joblib(>=0.13.2)

0 comments on commit 5a82501

Please sign in to comment.