Compare commits

..

17 Commits
master ... cli

Author SHA1 Message Date
Charles Reid f9cc1d93f2 travis.yml: python 3.7 -> 3.7-dev 5 years ago
Charles Reid 09417f7c23 remove unused import 5 years ago
Charles Reid cf4145aee5 python version >= 3.5 5 years ago
Charles Reid 98ef3fa49a add shields 5 years ago
Charles Reid 4b69492d40 change newline to trigger travis 5 years ago
Charles Reid c8e1760470 add .travis.yml 5 years ago
Charles Reid 861dc16a64 banana -> bananas. update gitignore. 5 years ago
Charles Reid fc0479ff77 clean up after test 5 years ago
Charles Reid dae3b1dd45 fix tests and fix the way we are looking for param and config files (use os.getcwd()) 5 years ago
Charles Reid 88cd2f71a6 update gh-pages url in setup.py 5 years ago
Charles Reid 6c29958c13 manifest should include files, not graft them (graft is for directories) 5 years ago
Charles Reid 682f760c10 update readme instructions 5 years ago
Charles Reid 742f24d0e5 include Snakefile with Manifest.in to make it run automagically 5 years ago
Charles Reid abd4a07dec move config and params to test/ 5 years ago
Charles Reid 48f4d30903 add Snakefile to manifest 5 years ago
Charles Reid a908ddf8c2 update how/where we look for Snakefile 5 years ago
Charles Reid 71f48e0f5e convert 2018-snakemake-cli to python package (setup.py) 5 years ago
  1. 3
      .travis.yml
  2. 21
      README.md
  3. 2
      requirements-to-freeze.txt

3
.travis.yml

@ -3,7 +3,7 @@ language: python @@ -3,7 +3,7 @@ language: python
python:
- "3.5"
- "3.6"
#- "3.7-dev" # fails due to datrie build failure (snakemake dependency)
- "3.7-dev"
# command to install dependencies
install:
- pip install -r requirements.txt
@ -11,4 +11,3 @@ install: @@ -11,4 +11,3 @@ install:
# command to run tests
script:
- pytest

21
README.md

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
# 2019-snakemake-cli
[![travis](https://img.shields.io/travis/charlesreid1/2019-snakemake-cli.svg)](https://travis-ci.org/charlesreid1/2019-snakemake-cli)
[![travis](https://img.shields.io/travis/charlesreid1/2019-snakemake-cli.svg)](https://travis-ci.org/charlesreid1/2019-snakemake-cli.svg)
[![license](https://img.shields.io/github/license/charlesreid1/2019-snakemake-cli.svg)](https://github.com/charlesreid1/2019-snakemake-cli/blob/master/LICENSE)
An example of a Snakemake command line interface
@ -18,7 +18,7 @@ a command line tool called `bananas`. @@ -18,7 +18,7 @@ a command line tool called `bananas`.
This runs through the installation and usage
of 2019-snakemake-cli.
## Installing bananas
## Installing banana
Start by setting up a virtual environment,
and install the required packages into the
@ -37,13 +37,13 @@ python setup.py build install @@ -37,13 +37,13 @@ python setup.py build install
Now you can run
```
which bananas
which banana
```
and you should see `bananas` in your virtual
environment's `bin/` directory.
and you should see `bananas` in your Python
distribution's `bin/` directory.
## Running bananas
## Running banana
Move to the `test/` directory and run the tests
with the provided config and params files.
@ -66,7 +66,7 @@ Run the goodbye workflow with Beth params: @@ -66,7 +66,7 @@ Run the goodbye workflow with Beth params:
```
rm -f goodbye.txt
bananas workflow-goodbye params-beth
./run workflow-goodbye params-beth
```
# Details
@ -80,10 +80,3 @@ An alternative arrangement would be for users @@ -80,10 +80,3 @@ An alternative arrangement would be for users
to provide a Snakefile via rules in the working
directory, or via a Github URL or a remote URL.
# Tags
* `v1.0` - initial version, [ctb/2018-snakemake-cli](https://github.com/ctb/2018-snakemake-cli)
* `v2.0` - Snakemake workflow bundled as installable Python package, Snakefile bundled with
Python package, command line interface provided to wrap Snakemake API call

2
requirements-to-freeze.txt

@ -8,7 +8,7 @@ gitdb2==2.0.5 @@ -8,7 +8,7 @@ gitdb2==2.0.5
GitPython==2.1.11
idna==2.8
jsonschema==2.6.0
PyYAML>=4.2b1
PyYAML==3.13
ratelimiter==1.2.0.post0
requests==2.21.0
smmap2==2.0.5

Loading…
Cancel
Save