Skip to content

Commit b050268

Browse files
add info on looper report and point to pepatac example #41
1 parent 9c41cc0 commit b050268

File tree

4 files changed

+20
-43
lines changed

4 files changed

+20
-43
lines changed

Diff for: docs/features.md

+1
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ Looper uses a command-line interface so you have total power at your fingertips.
4646
![html][html] **Beautiful linked result reports**
4747

4848
Looper automatically creates an internally linked, portable HTML report highlighting all results for your pipeline, for every pipeline.
49+
For an html report example see: [PEPATAC Gold Summary](https://pepatac.databio.org/en/latest/files/examples/gold/gold_summary.html)

Diff for: docs/looper-report.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Create a Browsable HTML Report
2+
3+
Looper can create a browsable html report of all project results using the command:
4+
5+
```terminal
6+
looper report --looper-config .your_looper_config.yaml
7+
```
8+
9+
An example html report out put can be found here: [PEPATAC Gold Summary](https://pepatac.databio.org/en/latest/files/examples/gold/gold_summary.html)
10+
11+
Note: pipestat must be configured by looper to perform this operation. Please see the pipestat section for more information: [Using pipestat](pipestat.md)

Diff for: docs/usage.md

+7-43
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Each task is controlled by one of the following commands: `run`, `rerun`, `runp`
2626
Here you can see the command-line usage instructions for the main looper command and for each subcommand:
2727
## `looper --help`
2828
```console
29-
version: 1.5.0
29+
version: 1.5.2-dev
3030
usage: looper [-h] [--version] [--logfile LOGFILE] [--dbg] [--silent]
3131
[--verbosity V] [--logdev]
3232
{run,rerun,runp,table,report,destroy,check,clean,inspect,init,init-piface}
@@ -45,7 +45,7 @@ positional arguments:
4545
check Check flag status of current runs.
4646
clean Run clean scripts of already processed jobs.
4747
inspect Print information about a project.
48-
init Initialize looper dotfile.
48+
init Initialize looper config file.
4949
init-piface Initialize generic pipeline interface.
5050

5151
options:
@@ -64,9 +64,7 @@ https://github.com/pepkit/looper
6464
## `looper run --help`
6565
```console
6666
usage: looper run [-h] [-i] [-d] [-t S] [-x S] [-y S] [-f] [--divvy DIVCFG] [-p P] [-s S]
67-
6867
[-c K [K ...]] [-u X] [-n N] [--looper-config LOOPER_CONFIG]
69-
7068
[-S YAML [YAML ...]] [-P YAML [YAML ...]] [-l N] [-k N]
7169
[--sel-attr ATTR] [--sel-excl [E ...] | --sel-incl [I ...]]
7270
[-a A [A ...]]
@@ -88,9 +86,7 @@ options:
8886
-f, --skip-file-checks Do not perform input file checks
8987
-u X, --lump X Total input file size (GB) to batch into one job
9088
-n N, --lumpn N Number of commands to batch into one job
91-
9289
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
93-
9490
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
9591
Path to looper sample config file
9692
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -119,9 +115,7 @@ sample selection arguments:
119115
## `looper runp --help`
120116
```console
121117
usage: looper runp [-h] [-i] [-d] [-t S] [-x S] [-y S] [-f] [--divvy DIVCFG] [-p P] [-s S]
122-
123118
[-c K [K ...]] [--looper-config LOOPER_CONFIG] [-S YAML [YAML ...]]
124-
125119
[-P YAML [YAML ...]] [-l N] [-k N] [--sel-attr ATTR]
126120
[--sel-excl [E ...] | --sel-incl [I ...]] [-a A [A ...]]
127121
[config_file]
@@ -140,10 +134,7 @@ options:
140134
-x S, --command-extra S String to append to every command
141135
-y S, --command-extra-override S Same as command-extra, but overrides values in PEP
142136
-f, --skip-file-checks Do not perform input file checks
143-
144137
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
145-
146-
147138
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
148139
Path to looper sample config file
149140
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -172,9 +163,7 @@ sample selection arguments:
172163
## `looper rerun --help`
173164
```console
174165
usage: looper rerun [-h] [-i] [-d] [-t S] [-x S] [-y S] [-f] [--divvy DIVCFG] [-p P]
175-
176166
[-s S] [-c K [K ...]] [-u X] [-n N] [--looper-config LOOPER_CONFIG]
177-
178167
[-S YAML [YAML ...]] [-P YAML [YAML ...]] [-l N] [-k N]
179168
[--sel-attr ATTR] [--sel-excl [E ...] | --sel-incl [I ...]]
180169
[-a A [A ...]]
@@ -196,9 +185,7 @@ options:
196185
-f, --skip-file-checks Do not perform input file checks
197186
-u X, --lump X Total input file size (GB) to batch into one job
198187
-n N, --lumpn N Number of commands to batch into one job
199-
200188
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
201-
202189
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
203190
Path to looper sample config file
204191
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -226,9 +213,7 @@ sample selection arguments:
226213

227214
## `looper report --help`
228215
```console
229-
230216
usage: looper report [-h] [--looper-config LOOPER_CONFIG] [-S YAML [YAML ...]]
231-
232217
[-P YAML [YAML ...]] [-l N] [-k N] [--sel-attr ATTR]
233218
[--sel-excl [E ...] | --sel-incl [I ...]] [-a A [A ...]] [--project]
234219
[config_file]
@@ -241,9 +226,7 @@ positional arguments:
241226

242227
options:
243228
-h, --help show this help message and exit
244-
245229
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
246-
247230
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
248231
Path to looper sample config file
249232
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -263,9 +246,7 @@ sample selection arguments:
263246

264247
## `looper table --help`
265248
```console
266-
267249
usage: looper table [-h] [--looper-config LOOPER_CONFIG] [-S YAML [YAML ...]]
268-
269250
[-P YAML [YAML ...]] [-l N] [-k N] [--sel-attr ATTR]
270251
[--sel-excl [E ...] | --sel-incl [I ...]] [-a A [A ...]] [--project]
271252
[config_file]
@@ -278,9 +259,7 @@ positional arguments:
278259

279260
options:
280261
-h, --help show this help message and exit
281-
282262
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
283-
284263
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
285264
Path to looper sample config file
286265
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -300,9 +279,7 @@ sample selection arguments:
300279

301280
## `looper inspect --help`
302281
```console
303-
304282
usage: looper inspect [-h] [--looper-config LOOPER_CONFIG] [-S YAML [YAML ...]]
305-
306283
[-P YAML [YAML ...]] [-l N] [-k N] [--sel-attr ATTR]
307284
[--sel-excl [E ...] | --sel-incl [I ...]] [-a A [A ...]]
308285
[--sample-names [SAMPLE_NAMES ...]] [--attr-limit ATTR_LIMIT]
@@ -316,9 +293,7 @@ positional arguments:
316293

317294
options:
318295
-h, --help show this help message and exit
319-
320296
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
321-
322297
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
323298
Path to looper sample config file
324299
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -340,12 +315,12 @@ sample selection arguments:
340315
## `looper init --help`
341316
```console
342317
usage: looper init [-h] [-f] [-o DIR] [-S YAML [YAML ...]] [-P YAML [YAML ...]] [-p]
343-
config_file
318+
pep_config
344319

345-
Initialize looper dotfile.
320+
Initialize looper config file.
346321

347322
positional arguments:
348-
config_file Project configuration file (YAML)
323+
pep_config Project configuration file (PEP)
349324

350325
options:
351326
-h, --help show this help message and exit
@@ -360,12 +335,10 @@ options:
360335

361336
## `looper destroy --help`
362337
```console
363-
364338
usage: looper destroy [-h] [-d] [--force-yes] [--looper-config LOOPER_CONFIG]
365-
366339
[-S YAML [YAML ...]] [-P YAML [YAML ...]] [-l N] [-k N]
367340
[--sel-attr ATTR] [--sel-excl [E ...] | --sel-incl [I ...]]
368-
[-a A [A ...]]
341+
[-a A [A ...]] [--project]
369342
[config_file]
370343

371344
Remove output files of the project.
@@ -379,14 +352,13 @@ options:
379352
-d, --dry-run Don't actually submit the jobs. Default=False
380353
--force-yes Provide upfront confirmation of destruction intent,
381354
to skip console query. Default=False
382-
383355
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
384-
385356
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
386357
Path to looper sample config file
387358
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
388359
Path to looper project config file
389360
-a A [A ...], --amend A [A ...] List of amendments to activate
361+
--project Process project-level pipelines
390362

391363
sample selection arguments:
392364
Specify samples to include or exclude based on sample attribute values
@@ -401,9 +373,7 @@ sample selection arguments:
401373
## `looper check --help`
402374
```console
403375
usage: looper check [-h] [--describe-codes] [--itemized] [-f [F ...]]
404-
405376
[--looper-config LOOPER_CONFIG] [-S YAML [YAML ...]]
406-
407377
[-P YAML [YAML ...]] [-l N] [-k N] [--sel-attr ATTR]
408378
[--sel-excl [E ...] | --sel-incl [I ...]] [-a A [A ...]] [--project]
409379
[config_file]
@@ -419,9 +389,7 @@ options:
419389
--describe-codes Show status codes description
420390
--itemized Show a detailed, by sample statuses
421391
-f [F ...], --flags [F ...] Check on only these flags/status values
422-
423392
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
424-
425393
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
426394
Path to looper sample config file
427395
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]
@@ -441,9 +409,7 @@ sample selection arguments:
441409

442410
## `looper clean --help`
443411
```console
444-
445412
usage: looper clean [-h] [-d] [--force-yes] [--looper-config LOOPER_CONFIG]
446-
447413
[-S YAML [YAML ...]] [-P YAML [YAML ...]] [-l N] [-k N]
448414
[--sel-attr ATTR] [--sel-excl [E ...] | --sel-incl [I ...]]
449415
[-a A [A ...]]
@@ -460,9 +426,7 @@ options:
460426
-d, --dry-run Don't actually submit the jobs. Default=False
461427
--force-yes Provide upfront confirmation of destruction intent,
462428
to skip console query. Default=False
463-
464429
--looper-config LOOPER_CONFIG Looper configuration file (YAML)
465-
466430
-S YAML [YAML ...], --sample-pipeline-interfaces YAML [YAML ...]
467431
Path to looper sample config file
468432
-P YAML [YAML ...], --project-pipeline-interfaces YAML [YAML ...]

Diff for: mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ nav:
2424
- Writing a pipeline interface: writing-a-pipeline-interface.md
2525
- Using looper config: looper-config.md
2626
- Using geofetch: using-geofetch.md
27+
- Browsable HTML Reports: looper-report.md
2728
- Using divvy:
2829
- Introduction: divvy/README.md
2930
- Configuring divvy: divvy/configuration.md

0 commit comments

Comments
 (0)