Skip to content

Commit cb49ea7

Browse files
committed
script: everywhere
1 parent 43e8d2d commit cb49ea7

31 files changed

+57
-1
lines changed

hello-nextflow/containers/solutions/hello-containers-3.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ process cowSay {
4343
output:
4444
path "cowsay-*"
4545

46+
script:
4647
"""
4748
cowsay -c "$params.character" -t "\$(cat $input_file)" > cowsay-${input_file}
4849
"""

hello-nextflow/containers/solutions/hello-containers-4.1.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ process cowSay {
4343
output:
4444
path "cowsay-*"
4545

46+
script:
4647
"""
4748
cowsay -c "$params.character" -t "\$(cat $input_file)" > cowsay-${input_file}
4849
"""

hello-nextflow/containers/solutions/hello-containers-4.2.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ process cowSay {
4444
output:
4545
path "cowsay-*"
4646

47+
script:
4748
"""
4849
cowsay -c "$params.character" -t "\$(cat $input_file)" > cowsay-${input_file}
4950
"""

hello-nextflow/hello-containers.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ process cowSay {
4242
output:
4343
path "cowsay-*"
4444

45+
script:
4546
"""
4647
cowsay -c "$params.character" -t "\$(cat $input_file)" > cowsay-${input_file}
4748
"""

hello-nextflow/hello-genomics.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ process SAMTOOLS_INDEX {
1919

2020
output:
2121

22+
script:
2223
"""
2324
2425
"""

hello-nextflow/hello-operators.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ process SAMTOOLS_INDEX {
2828
output:
2929
tuple path(input_bam), path("${input_bam}.bai")
3030

31+
script:
3132
"""
3233
samtools index '$input_bam'
3334
"""
@@ -53,6 +54,7 @@ process GATK_HAPLOTYPECALLER {
5354
path "${input_bam}.vcf" , emit: vcf
5455
path "${input_bam}.vcf.idx" , emit: idx
5556

57+
script:
5658
"""
5759
gatk HaplotypeCaller \
5860
-R ${ref_fasta} \

hello-nextflow/hello-world.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ process sayHello {
88
output:
99
stdout
1010

11+
script:
1112
"""
1213
echo 'Hello World!'
1314
"""

hello-nextflow/solutions/hello-config/final-main.nf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ process SAMTOOLS_INDEX {
1515

1616
output:
1717
tuple path(input_bam), path("${input_bam}.bai")
18-
18+
19+
script:
1920
"""
2021
samtools index '$input_bam'
2122
"""
@@ -42,6 +43,7 @@ process GATK_HAPLOTYPECALLER {
4243
path "${input_bam}.g.vcf" , emit: vcf
4344
path "${input_bam}.g.vcf.idx" , emit: idx
4445

46+
script:
4547
"""
4648
gatk HaplotypeCaller \
4749
-R ${ref_fasta} \

hello-nextflow/solutions/hello-genomics/hello-genomics-1.nf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ process SAMTOOLS_INDEX {
2222
output:
2323
path "${input_bam}.bai"
2424

25+
script:
2526
"""
2627
samtools index '$input_bam'
2728
"""

hello-nextflow/solutions/hello-genomics/hello-genomics-2.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ process SAMTOOLS_INDEX {
2828
output:
2929
path "${input_bam}.bai"
3030

31+
script:
3132
"""
3233
samtools index '$input_bam'
3334
"""
@@ -54,6 +55,7 @@ process GATK_HAPLOTYPECALLER {
5455
path "${input_bam}.vcf" , emit: vcf
5556
path "${input_bam}.vcf.idx" , emit: idx
5657

58+
script:
5759
"""
5860
gatk HaplotypeCaller \
5961
-R ${ref_fasta} \

0 commit comments

Comments
 (0)