@@ -12,21 +12,17 @@ the [Dockstore.org](https://dockstore.org/) framework.
12
12
| --------------------------------------------- | ----------------------------------------------- |
13
13
| [ ![ Master Badge] [ travis-master ]] [ travis-base ] | [ ![ Develop Badge] [ travis-develop ]] [ travis-base ] |
14
14
15
- <!-- TOC depthFrom:2 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->
16
-
17
- - [ Usage] ( #usage )
18
- - [Usable Cores](#usable-cores)
19
- - [ Other uses] ( #other-uses )
20
- - [Native docker](#native-docker)
21
- - [Singularity](#singularity)
22
- - [ Verifying your deployment] ( #verifying-your-deployment )
23
- - [ Example data] ( #example-data )
24
- - [ Diagram of internals] ( #diagram-of-internals )
25
- - [ Development environment] ( #development-environment )
26
- - [ Release process] ( #release-process )
27
- - [ LICENCE] ( #licence )
28
-
29
- <!-- /TOC -->
15
+ * [ Usage] ( #usage )
16
+ * [ Usable Cores] ( #usable-cores )
17
+ * [ Other uses] ( #other-uses )
18
+ * [ Native docker] ( #native-docker )
19
+ * [ Singularity] ( #singularity )
20
+ * [ Verifying your deployment] ( #verifying-your-deployment )
21
+ * [ Example data] ( #example-data )
22
+ * [ Diagram of internals] ( #diagram-of-internals )
23
+ * [ Development environment] ( #development-environment )
24
+ * [ Release process] ( #release-process )
25
+ * [ LICENCE] ( #licence )
30
26
31
27
## Usage
32
28
@@ -40,14 +36,14 @@ You should see the usage for the `ds-cgpwgs.pl` script for all parameters (or th
40
36
Required input files are
41
37
42
38
1 . Tumour BAM file
43
- 1 . Normal BAM file
44
- 1 . Core reference archive (e.g. [ core_ref_GRCh37d5.tar.gz] [ ftp-ref ] )
45
- 1 . WXS reference archive (e.g. [ SNV_INDEL_ref_GRCh37d5.tar.gz] [ ftp-ref ] )
46
- 1 . WGS reference archive (e.g. [ CNV_SV_ref_GRCh37d5_brass6+.tar.gz] [ ftp-ref ] )
47
- 1 . VAGrENT (annotation) reference archive (e.g. [ VAGrENT_ref_GRCh37d5_ensembl_75.tar.gz] [ ftp-ref ] )
48
- 1 . Subclonal reference archive ([ SUBCL_ref_GRCh37d5.tar.gz] [ ftp-ref ] )
39
+ 2 . Normal BAM file
40
+ 3 . Core reference archive (e.g. [ core_ref_GRCh37d5.tar.gz] [ ftp-ref ] )
41
+ 4 . WXS reference archive (e.g. [ SNV_INDEL_ref_GRCh37d5.tar.gz] [ ftp-ref ] )
42
+ 5 . WGS reference archive (e.g. [ CNV_SV_ref_GRCh37d5_brass6+.tar.gz] [ ftp-ref ] )
43
+ 6 . VAGrENT (annotation) reference archive (e.g. [ VAGrENT_ref_GRCh37d5_ensembl_75.tar.gz] [ ftp-ref ] )
44
+ 7 . Subclonal reference archive ([ SUBCL_ref_GRCh37d5.tar.gz] [ ftp-ref ] )
49
45
* Only needed if ` skipbb ` is ` false `
50
- 1 . QC reference archive (e.g. [ qcGenotype_GRCh37d5.tar.gz] [ ftp-ref ] )
46
+ 8 . QC reference archive (e.g. [ qcGenotype_GRCh37d5.tar.gz] [ ftp-ref ] )
51
47
52
48
Inputs 1&2 are expected to have been mapped using [ dockstore-cgpmap] [ dockstore-cgpmap ]
53
49
@@ -56,12 +52,12 @@ your own reference files. Much of this information is available on the individu
56
52
pages (or the subsequently linked protocols papers).
57
53
58
54
* Specific to dockstore-cgpwgs:
59
- * [BRASS][brass-wiki]
60
- * [ascatNgs][ascatngs-wiki]
55
+ * [ BRASS] [ brass-wiki ]
56
+ * [ ascatNgs] [ ascatngs-wiki ]
61
57
* Inherited from dockstore-cgpwxs:
62
- * [cgpCaVEManWrapper][caveman-wiki]
63
- * [cgpPindel][cgppindel-wiki]
64
- * [VAGrENT][vagrent-wiki]
58
+ * [ cgpCaVEManWrapper] [ caveman-wiki ]
59
+ * [ cgpPindel] [ cgppindel-wiki ]
60
+ * [ VAGrENT] [ vagrent-wiki ]
65
61
66
62
67
63
### Usable Cores
@@ -80,54 +76,18 @@ If not set detects available cores on system.
80
76
All of the tools installed as part of [ dockstore-cgpmap] [ dockstore-cgpmap ] and
81
77
[ dockstore-cgpwxs] [ dockstore-cgpwxs ] and the above packages are available for direct use.
82
78
83
- ```
84
- export CGPWGS_VER=X.X.X
85
- docker pull quay.io/wtsicgp/dockstore-cgpwgs:$CGPWGS_VER
86
- docker --rm -ti [--volume ...] quay.io/wtsicgp/dockstore-cgpwgs:$CGPWGS_VER bash
87
- ```
79
+ See the [ docker guide in the wiki] [ cgpmap-wiki-docker ] for more details.
88
80
89
81
### Singularity
90
82
91
- The resulting docker container has been tested with Singularity. The command to exec is:
83
+ The resulting docker container has been tested with Singularity.
92
84
93
- ```
94
- ds-cgpwgs.pl -h
95
- ```
96
-
97
- Expected use would be along the lines of:
98
-
99
- ```
100
- export CGPWGS_VER=X.X.X
101
- singularity pull docker://quay.io/wtsicgp/dockstore-cgpwgs:$CGPWGS_VER
102
-
103
- singularity exec\
104
- --workdir /.../workspace \
105
- --home /.../workspace:/home \
106
- --bind /.../ref/human:/var/spool/ref:ro \
107
- --bind /.../example_data/cgpwgs:/var/spool/data:ro \
108
- dockstore-cgpwgs-${CGPWGS_VER}.simg \
109
- ds-cgpwgs.pl \
110
- -reference /var/spool/ref/core_ref_GRCh37d5.tar.gz \
111
- -annot /var/spool/ref/VAGrENT_ref_GRCh37d5_ensembl_75.tar.gz \
112
- -snv_indel /var/spool/ref/SNV_INDEL_ref_GRCh37d5-fragment.tar.gz \
113
- -tumour /var/spool/data/COLO-829_ex.cram \
114
- ...
115
- ```
116
-
117
- For a system automatically attaching _ all local mount points_ (not default singularity behaviour)
118
- you need not specify any ` exec ` params (workdir, home, bind) but you should specify the ` -outdir `
119
- option for ` ds-cgpwgs.pl ` to prevent data being written to your home directory.
120
-
121
- By default results are written to the home directory of the container so ensure you bind
122
- a large volume and set the ` -home ` variable. As indicated above the location can be overridden
123
- via the options of ` ds-cgpwgs.pl `
85
+ See the [ docker guide in the wiki] [ cgpmap-wiki-singularity ] for more details.
124
86
125
87
## Verifying your deployment
126
88
127
89
The ` examples/ ` tree contains test json files populated with data that can be used to verify the
128
- tool. More details can be found [ here] ( examples/README.md ) .
129
-
130
- The ` expected/ ` tree contains the expected output for each tool. More details can be found [ here] ( expected/README.md ) .
90
+ tool.
131
91
132
92
## Example data
133
93
@@ -148,7 +108,7 @@ will need to be manually cleaned to keep the repo size down.
148
108
149
109
Activate the hooks with
150
110
151
- ```
111
+ ``` bash
152
112
git config core.hooksPath git-hooks
153
113
```
154
114
@@ -157,21 +117,19 @@ git config core.hooksPath git-hooks
157
117
This project is maintained using HubFlow.
158
118
159
119
1 . Make appropriate changes
160
- 1 . Build image locally
161
- 1 . Run all example inputs and verify any changes are acceptable
162
- 1 . Update ` expected/ ` tree with output of last step
163
- 1 . Bump version in ` Dockerfile ` and ` Dockstore.cwl `
164
- 1 . Push changes
165
- 1 . Check state on Travis
166
- 1 . Update expected datasets
167
- 1 . Generate the release (add notes to GitHub)
168
- 1 . Confirm that image has been built on [ quay.io] [ quay-builds ]
169
- 1 . Update the [ dockstore] [ dockstore-cgpwgs ] entry, see [ their docs] [ dockstore-get-started ] .
120
+ 2 . Build image locally
121
+ 3 . Run all example inputs and verify any changes are acceptable
122
+ 4 . Bump version in ` Dockerfile ` and ` Dockstore.cwl `
123
+ 5 . Push changes
124
+ 6 . Check state on Travis
125
+ 7 . Generate the release (add notes to GitHub)
126
+ 8 . Confirm that image has been built on [ quay.io] [ quay-builds ]
127
+ 9 . Update the [ dockstore] [ dockstore-cgpwgs ] entry, see [ their docs] [ dockstore-get-started ] .
170
128
171
129
## LICENCE
172
130
173
- ```
174
- Copyright (c) 2017-2018 Genome Research Ltd.
131
+ ``` none
132
+ Copyright (c) 2017-2019 Genome Research Ltd.
175
133
176
134
Author: Cancer Genome Project <[email protected] >
177
135
@@ -208,6 +166,8 @@ identical to a statement that reads ‘Copyright (c) 2005, 2006, 2007, 2008,
208
166
[ caveman-wiki ] : https://github.com/cancerit/cgpCaVEManWrapper/wiki
209
167
[ ascatngs-wiki ] : https://github.com/cancerit/ascatNgs/wiki
210
168
[ vagrent-wiki ] : https://github.com/cancerit/VAGrENT/wiki
169
+ [ cgpmap-wiki-docker ] : https://github.com/cancerit/dockstore-cgpwgs/wiki/Running-under-docker
170
+ [ cgpmap-wiki-singularity ] : https://github.com/cancerit/dockstore-cgpwgs/wiki/Running-under-singularity
211
171
212
172
<!-- Travis -->
213
173
[ travis-base ] : https://travis-ci.org/cancerit/dockstore-cgpwgs
0 commit comments