File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ RUN apt-get update \
77 && git clone https://github.com/aroneklund/copynumber.git \
88 && /opt/conda/bin/R CMD INSTALL copynumber
99
10- COPY *.R /scripts/
10+ ENV PATH= "/tools:${PATH}"
1111
12- USER sequenza
13- WORKDIR /home/sequenza
12+ COPY runSequenza.R /tools/
13+
14+ ENTRYPOINT ["/usr/bin/env" ]
1415
1516CMD ["/bin/bash" ]
Original file line number Diff line number Diff line change 2929/* this block is auto-generated based on info from pkg.json where */
3030/* changes can be made if needed, do NOT modify this block manually */
3131nextflow. enable. dsl = 2
32- version = ' 0.2 .0' // package version
32+ version = ' 0.3 .0'
3333
3434container = [
3535 ' ghcr.io' : ' ghcr.io/icgc-argo-structural-variation-cn-wg/wfpm-demo.seqz-main'
@@ -51,7 +51,6 @@ params.publish_dir = "output_dir/" // set to empty string will disable publishD
5151// tool specific parmas go here, add / change as needed
5252params. seqz = " "
5353params. genome = ' hg38'
54- params. runscript = " ${ baseDir} /scripts/runSequenza.R"
5554params. output_pattern = " *_*" // output file name pattern are *.pdf|*.txt|*.RData
5655
5756
@@ -64,7 +63,6 @@ process seqzMain {
6463
6564 input: // input, make update as needed
6665 path seqz
67- path runscript
6866
6967 output: // output, make update as needed
7068 path " ${ params.output_pattern} " , emit: results
@@ -74,7 +72,7 @@ process seqzMain {
7472 // add and initialize variables here as needed
7573
7674 """
77- Rscript !{runscript} --seqz !{seqz} --genome !{params.genome}
75+ Rscript /tools/runSequenza.R --seqz !{seqz} --genome !{params.genome}
7876 """
7977}
8078
@@ -83,7 +81,6 @@ process seqzMain {
8381// using this command: nextflow run <git_acc>/<repo>/<pkg_name>/<main_script>.nf -r <pkg_name>.v<pkg_version> --params-file xxx
8482workflow {
8583 seqzMain(
86- file(params. seqz),
87- file(params. runscript)
84+ file(params. seqz)
8885 )
8986}
Original file line number Diff line number Diff line change 11{
22 "name" : " seqz-main" ,
3- "version" : " 0.2 .0" ,
3+ "version" : " 0.3 .0" ,
44 "description" : " run sequenza (the input for this package - *.seqz.gz - can be generated with the seqz-preprocess package)" ,
55 "main" : " main.nf" ,
66 "deprecated" : false ,
File renamed without changes.
Original file line number Diff line number Diff line change 3434/* this block is auto-generated based on info from pkg.json where */
3535/* changes can be made if needed, do NOT modify this block manually */
3636nextflow. enable. dsl = 2
37- version = ' 0.2 .0' // package version
37+ version = ' 0.3 .0'
3838
3939container = [
4040 ' ghcr.io' : ' ghcr.io/icgc-argo-structural-variation-cn-wg/wfpm-demo.seqz-main'
@@ -49,7 +49,6 @@ params.container = ""
4949
5050// tool specific parmas go here, add / change as needed
5151params. seqz = " "
52- params. runscript = " "
5352params. expected_output = " "
5453
5554include { seqzMain } from ' ../main'
@@ -76,13 +75,11 @@ process file_smart_diff {
7675workflow checker {
7776 take :
7877 seqz
79- runscript
8078 expected_output
8179
8280 main :
8381 seqzMain(
84- seqz,
85- runscript
82+ seqz
8683 )
8784
8885 file_smart_diff(
@@ -95,7 +92,6 @@ workflow checker {
9592workflow {
9693 checker(
9794 file(params. seqz),
98- file(params. runscript),
9995 file(params. expected_output)
10096 )
10197}
You can’t perform that action at this time.
0 commit comments