mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
86ac223916
* Added cnvpytor/importreaddepth module * Corrected process name in meta.yml file * added -chrom argument * space correction * Added complementary info * fixed typo * md5sum added * modified the module to work on cram files as well * Added cnvpytor/histogram module and test files * Added cnvpytor/partition module and test files * added cnvpytor/callcnvs module and tests * modified by new modules * Added test file and fixed input path in modules * added when block * little fixes * skip tracking test.yml * removed changes to test if conflicts get resolved * updated outfile name * corrected the version.yml content
32 lines
961 B
Text
32 lines
961 B
Text
process CNVPYTOR_PARTITION {
|
|
tag "$meta.id"
|
|
label 'process_medium'
|
|
|
|
conda (params.enable_conda ? "bioconda::cnvpytor=1.0" : null)
|
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
|
'https://depot.galaxyproject.org/singularity/cnvpytor:A1.0--py39h6a678da_2':
|
|
'quay.io/biocontainers/cnvpytor:1.0--py39h6a678da_2' }"
|
|
|
|
input:
|
|
tuple val(meta), path(pytor)
|
|
|
|
output:
|
|
tuple val(meta), path("${pytor.baseName}.pytor"), emit: pytor
|
|
path "versions.yml" , emit: versions
|
|
|
|
when:
|
|
task.ext.when == null || task.ext.when
|
|
|
|
script:
|
|
def args = task.ext.args ?: '1000'
|
|
"""
|
|
cnvpytor \\
|
|
-root $pytor \\
|
|
-partition $args
|
|
|
|
cat <<-END_VERSIONS > versions.yml
|
|
"${task.process}":
|
|
cnvpytor: \$(echo \$(cnvpytor --version 2>&1) | sed 's/^.*pyCNVnator //; s/Using.*\$//' ))
|
|
END_VERSIONS
|
|
"""
|
|
}
|