Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
f9cc1d93f2 | |||
09417f7c23 | |||
cf4145aee5 | |||
98ef3fa49a | |||
4b69492d40 | |||
c8e1760470 | |||
861dc16a64 | |||
fc0479ff77 | |||
dae3b1dd45 | |||
88cd2f71a6 | |||
6c29958c13 | |||
682f760c10 | |||
742f24d0e5 | |||
abd4a07dec | |||
48f4d30903 | |||
a908ddf8c2 | |||
71f48e0f5e |
@@ -3,7 +3,7 @@ language: python
|
|||||||
python:
|
python:
|
||||||
- "3.5"
|
- "3.5"
|
||||||
- "3.6"
|
- "3.6"
|
||||||
#- "3.7-dev" # fails due to datrie build failure (snakemake dependency)
|
- "3.7-dev"
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
@@ -11,4 +11,3 @@ install:
|
|||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
- pytest
|
- pytest
|
||||||
|
|
||||||
|
21
README.md
21
README.md
@@ -1,6 +1,6 @@
|
|||||||
# 2019-snakemake-cli
|
# 2019-snakemake-cli
|
||||||
|
|
||||||
[](https://travis-ci.org/charlesreid1/2019-snakemake-cli)
|
[](https://travis-ci.org/charlesreid1/2019-snakemake-cli.svg)
|
||||||
[](https://github.com/charlesreid1/2019-snakemake-cli/blob/master/LICENSE)
|
[](https://github.com/charlesreid1/2019-snakemake-cli/blob/master/LICENSE)
|
||||||
|
|
||||||
An example of a Snakemake command line interface
|
An example of a Snakemake command line interface
|
||||||
@@ -18,7 +18,7 @@ a command line tool called `bananas`.
|
|||||||
This runs through the installation and usage
|
This runs through the installation and usage
|
||||||
of 2019-snakemake-cli.
|
of 2019-snakemake-cli.
|
||||||
|
|
||||||
## Installing bananas
|
## Installing banana
|
||||||
|
|
||||||
Start by setting up a virtual environment,
|
Start by setting up a virtual environment,
|
||||||
and install the required packages into the
|
and install the required packages into the
|
||||||
@@ -37,13 +37,13 @@ python setup.py build install
|
|||||||
Now you can run
|
Now you can run
|
||||||
|
|
||||||
```
|
```
|
||||||
which bananas
|
which banana
|
||||||
```
|
```
|
||||||
|
|
||||||
and you should see `bananas` in your virtual
|
and you should see `bananas` in your Python
|
||||||
environment's `bin/` directory.
|
distribution's `bin/` directory.
|
||||||
|
|
||||||
## Running bananas
|
## Running banana
|
||||||
|
|
||||||
Move to the `test/` directory and run the tests
|
Move to the `test/` directory and run the tests
|
||||||
with the provided config and params files.
|
with the provided config and params files.
|
||||||
@@ -66,7 +66,7 @@ Run the goodbye workflow with Beth params:
|
|||||||
|
|
||||||
```
|
```
|
||||||
rm -f goodbye.txt
|
rm -f goodbye.txt
|
||||||
bananas workflow-goodbye params-beth
|
./run workflow-goodbye params-beth
|
||||||
```
|
```
|
||||||
|
|
||||||
# Details
|
# Details
|
||||||
@@ -80,10 +80,3 @@ An alternative arrangement would be for users
|
|||||||
to provide a Snakefile via rules in the working
|
to provide a Snakefile via rules in the working
|
||||||
directory, or via a Github URL or a remote URL.
|
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
|
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ gitdb2==2.0.5
|
|||||||
GitPython==2.1.11
|
GitPython==2.1.11
|
||||||
idna==2.8
|
idna==2.8
|
||||||
jsonschema==2.6.0
|
jsonschema==2.6.0
|
||||||
PyYAML>=4.2b1
|
PyYAML==3.13
|
||||||
ratelimiter==1.2.0.post0
|
ratelimiter==1.2.0.post0
|
||||||
requests==2.21.0
|
requests==2.21.0
|
||||||
smmap2==2.0.5
|
smmap2==2.0.5
|
||||||
|
Reference in New Issue
Block a user