mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
update meta files
This commit is contained in:
parent
46e5752b82
commit
19cfb4e951
10 changed files with 24 additions and 12 deletions
|
@ -38,7 +38,7 @@ process CNVPYTOR_HISTOGRAM {
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/^.*pyCNVnator //; s/Using.*\$//' ))
|
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/CNVpytor //' ))
|
||||||
END_VERSIONS
|
END_VERSIONS
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,3 +43,4 @@ output:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@sima-r"
|
- "@sima-r"
|
||||||
|
- "@ramprasadn"
|
||||||
|
|
|
@ -32,7 +32,7 @@ process CNVPYTOR_IMPORTREADDEPTH {
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/^.*pyCNVnator //; s/Using.*\$//' ))
|
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/CNVpytor //' ))
|
||||||
END_VERSIONS
|
END_VERSIONS
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
@ -52,3 +52,4 @@ output:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@sima-r"
|
- "@sima-r"
|
||||||
|
- "@ramprasadn"
|
||||||
|
|
|
@ -37,7 +37,7 @@ process CNVPYTOR_PARTITION {
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
"${task.process}":
|
"${task.process}":
|
||||||
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/^.*pyCNVnator //; s/Using.*\$//' ))
|
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/CNVpytor //' ))
|
||||||
END_VERSIONS
|
END_VERSIONS
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,3 +43,4 @@ output:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@sima-r"
|
- "@sima-r"
|
||||||
|
- "@ramprasadn"
|
||||||
|
|
|
@ -23,13 +23,14 @@ process CNVPYTOR_VIEW {
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def output_suffix = output_format ?: 'vcf'
|
def output_suffix = output_format ?: 'vcf'
|
||||||
|
def bins = bin_sizes ?: '1000'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
python3 <<CODE
|
python3 <<CODE
|
||||||
import cnvpytor,os
|
import cnvpytor,os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
pytor_files = Path.cwd().glob("*.pytor")
|
pytor_files = Path.cwd().glob("*.pytor")
|
||||||
binsizes = "${bin_sizes}".split(" ")
|
binsizes = "${bins}".split(" ")
|
||||||
for pytor_file in pytor_files:
|
for pytor_file in pytor_files:
|
||||||
for binsize in binsizes:
|
for binsize in binsizes:
|
||||||
file_list = [str(pytor_file)]
|
file_list = [str(pytor_file)]
|
||||||
|
|
|
@ -31,10 +31,18 @@ output:
|
||||||
description: |
|
description: |
|
||||||
Groovy Map containing sample information
|
Groovy Map containing sample information
|
||||||
e.g. [ id:'test' ]
|
e.g. [ id:'test' ]
|
||||||
- partitions:
|
- tsv:
|
||||||
type: file
|
type: file
|
||||||
description: pytor file containing partitions of read depth histograms using mean-shift method
|
description: tsv file containing cnv calls
|
||||||
pattern: "*.{pytor}"
|
pattern: "*.{tsv}"
|
||||||
|
- vcf:
|
||||||
|
type: file
|
||||||
|
description: vcf file containing cnv calls
|
||||||
|
pattern: "*.{vcf}"
|
||||||
|
- xls:
|
||||||
|
type: file
|
||||||
|
description: xls file containing cnv calls
|
||||||
|
pattern: "*.{xls}"
|
||||||
- versions:
|
- versions:
|
||||||
type: file
|
type: file
|
||||||
description: File containing software versions
|
description: File containing software versions
|
||||||
|
@ -42,3 +50,4 @@ output:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@sima-r"
|
- "@sima-r"
|
||||||
|
- "@ramprasadn"
|
||||||
|
|
|
@ -23,10 +23,9 @@ workflow test_cnvpytor_view_tsvout {
|
||||||
file(params.test_data['homo_sapiens']['illumina']['test_pytor'], checkIfExists: true)
|
file(params.test_data['homo_sapiens']['illumina']['test_pytor'], checkIfExists: true)
|
||||||
]
|
]
|
||||||
|
|
||||||
bin_sizes = "10000"
|
|
||||||
output_suffix = "tsv"
|
output_suffix = "tsv"
|
||||||
|
|
||||||
CNVPYTOR_VIEW ( input, bin_sizes, output_suffix )
|
CNVPYTOR_VIEW ( input, [], output_suffix )
|
||||||
}
|
}
|
||||||
|
|
||||||
workflow test_cnvpytor_view_stub {
|
workflow test_cnvpytor_view_stub {
|
||||||
|
@ -36,8 +35,8 @@ workflow test_cnvpytor_view_stub {
|
||||||
file(params.test_data['homo_sapiens']['illumina']['test_pytor'], checkIfExists: true)
|
file(params.test_data['homo_sapiens']['illumina']['test_pytor'], checkIfExists: true)
|
||||||
]
|
]
|
||||||
|
|
||||||
bin_sizes = "10000"
|
bin_sizes = []
|
||||||
output_suffix = "tsv"
|
output_suffix = []
|
||||||
|
|
||||||
CNVPYTOR_VIEW ( input, bin_sizes, output_suffix )
|
CNVPYTOR_VIEW ( input, bin_sizes, output_suffix )
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
- cnvpytor
|
- cnvpytor
|
||||||
- cnvpytor/view
|
- cnvpytor/view
|
||||||
files:
|
files:
|
||||||
- path: output/cnvpytor/test.tsv
|
- path: output/cnvpytor/test_1000.tsv
|
||||||
- path: output/cnvpytor/versions.yml
|
- path: output/cnvpytor/versions.yml
|
||||||
|
|
||||||
- name: cnvpytor view test_cnvpytor_view stub
|
- name: cnvpytor view test_cnvpytor_view stub
|
||||||
|
|
Loading…
Reference in a new issue