Skip to content

Commit

Permalink
Move import, update setup/README
Browse files Browse the repository at this point in the history
Moved an import statement in predict_loading_concentration:main from main() to the top.
Edited setup.py to call the new predict_loading_concentration.
Iterated version.
Updated REAMDE to show dependency installation instructions.
  • Loading branch information
jdmccauley committed May 21, 2021
1 parent cc561bd commit 3f04b85
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ This package is a repository of tools used by the DIVA DNA Seq team at the Joint

## Installation

The tool can be installed using pip with

```bash
pip install diva_dna_seq
The dependencies of this tool can be installed with:
```
pip install -r requirements.txt
```

## Use

This tool can then be used either in a Jupyter notebook or on the command line. A bioanalyzer ladder file and result file are needed. The tool generates a plot that relates library loading concentration for your library to
This tool can then be used either in a Jupyter notebook or on the command line. A bioanalyzer ladder file and result file are needed. The tool generates a plot that relates library loading concentration for your library to
2 changes: 1 addition & 1 deletion predict_loading_concentration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ def warn(*args, **kwargs):
from diva_seq_opt import utility
import argparse
import pickle
import matplotlib as mpl


def main():
#Allow Matplotlib to be used on commandline
import matplotlib as mpl
mpl.use('Agg')

#Handle inputs
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
from setuptools import setup

setup(name='diva_seq_opt',
version='0.0.3',
version='0.0.4',
description='Predict the library loading concentration to use for mi-seq runs based on bioanalyzer data.',
url='https://github.com/JBEI/library_loading_concentration_prediction',
author='Zak Costello',
author_email='[email protected]',
license='BSD',
packages=['diva_seq_opt'],
entry_points = {
'console_scripts': ['predict_loading_concentration=diva_seq_opt.predict_loading_concentration:main'],
'console_scripts': ['predict_loading_concentration=predict_loading_concentration:main'],
},
install_requires=[
'pandas','numpy','scipy','matplotlib',
'peakutils','sklearn','tpot'
],
include_package_data=True,
zip_safe=False)
zip_safe=False)

0 comments on commit 3f04b85

Please sign in to comment.