Update kallistobustools/ref module (#465)

* Bump version and format references to use raw params.test_data

* Apply suggestions from code review

Co-authored-by: Kevin Menden <kevin.menden@live.com>

* Updated tags

Missed on in last commit.

Co-authored-by: Kevin Menden <kevin.menden@live.com>
This commit is contained in:
Florian Wuennemann 2021-04-28 08:54:40 -04:00 committed by GitHub
parent d7a3286a9a
commit a5d0cf3686
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 23 deletions

View file

@ -11,11 +11,11 @@ process KALLISTOBUSTOOLS_REF {
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), meta:[:], publish_by_meta:[]) }
conda (params.enable_conda ? "bioconda::kb-python=0.25.1" : null)
conda (params.enable_conda ? "bioconda::kb-python=0.26.0" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/kb-python:0.25.1--py_0"
container "https://depot.galaxyproject.org/singularity/kb-python:0.26.0--pyhdfd78af_0"
} else {
container "quay.io/biocontainers/kb-python:0.25.1--py_0"
container "quay.io/biocontainers/kb-python:0.26.0--pyhdfd78af_0"
}
input:

View file

@ -6,8 +6,8 @@ include { KALLISTOBUSTOOLS_REF } from '../../../../software/kallistobustools/ref
workflow test_kallistobustools_ref_standard {
fasta = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/kallistobustools/GRCm39.chr19_100k.fa.gz", checkIfExists: true)
gtf = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/kallistobustools/gencode.VM26.chr19_10k.gtf.gz", checkIfExists: true)
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
gtf = file(params.test_data['homo_sapiens']['genome']['genome_gtf'], checkIfExists: true)
workflow = "standard"
KALLISTOBUSTOOLS_REF(fasta, gtf, workflow)
@ -15,18 +15,18 @@ workflow test_kallistobustools_ref_standard {
workflow test_kallistobustools_ref_lamanno {
fasta = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/kallistobustools/GRCm39.chr19_100k.fa.gz", checkIfExists: true)
gtf = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/kallistobustools/gencode.VM26.chr19_10k.gtf.gz", checkIfExists: true)
workflow = "standard"
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
gtf = file(params.test_data['homo_sapiens']['genome']['genome_gtf'], checkIfExists: true)
workflow = "lamanno"
KALLISTOBUSTOOLS_REF( fasta, gtf, workflow)
}
workflow test_kallistobustools_ref_nucleus {
fasta = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/kallistobustools/GRCm39.chr19_100k.fa.gz", checkIfExists: true)
gtf = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/kallistobustools/gencode.VM26.chr19_10k.gtf.gz", checkIfExists: true)
workflow = "standard"
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
gtf = file(params.test_data['homo_sapiens']['genome']['genome_gtf'], checkIfExists: true)
workflow = "nucleus"
KALLISTOBUSTOOLS_REF( fasta, gtf, workflow)
}

View file

@ -1,38 +1,50 @@
- name: kallistobustools ref test_kallistobustools_ref_standard
command: nextflow run tests/software/kallistobustools/ref -entry test_kallistobustools_ref_standard -c tests/config/nextflow.config
tags:
- kallistobustools
- kallistobustools/ref
- kallistobustools
files:
- path: output/kallistobustools/cdna.fa
md5sum: da194221c883656c68e2f90d8f77a56b
md5sum: 0de7fdac9e7418576987ed93640927c7
- path: output/kallistobustools/kb_ref_out.idx
md5sum: c0ffe9554cb6fdcc7cbb4a1285ca8f29
md5sum: 7d5cd0731e7c467e5521d761f7d79895
- path: output/kallistobustools/t2g.txt
md5sum: 3089d303d9cd1a39a27969eca2dcaba7
md5sum: d5bcfd61ff078aa92e576abf8cc4fc08
- name: kallistobustools ref test_kallistobustools_ref_lamanno
command: nextflow run tests/software/kallistobustools/ref -entry test_kallistobustools_ref_lamanno -c tests/config/nextflow.config
tags:
- kallistobustools
- kallistobustools/ref
- kallistobustools
files:
- path: output/kallistobustools/cdna.fa
md5sum: da194221c883656c68e2f90d8f77a56b
md5sum: 0de7fdac9e7418576987ed93640927c7
- path: output/kallistobustools/cdna_t2c.txt
md5sum: 6d583083eaf6ca81e409332a40d2e74c
- path: output/kallistobustools/intron.fa
md5sum: ca5ca147afa0a25f6a730edfb39a6098
- path: output/kallistobustools/intron_t2c.txt
md5sum: 728480007abfdbdb248f7ba9de6026ef
- path: output/kallistobustools/kb_ref_out.idx
md5sum: c0ffe9554cb6fdcc7cbb4a1285ca8f29
md5sum: 48ca8323aadd30b1762d4e8f5a7d7aee
- path: output/kallistobustools/t2g.txt
md5sum: 3089d303d9cd1a39a27969eca2dcaba7
md5sum: 7cae93dfb9a26f70adf4a57fe2a83027
- name: kallistobustools ref test_kallistobustools_ref_nucleus
command: nextflow run tests/software/kallistobustools/ref -entry test_kallistobustools_ref_nucleus -c tests/config/nextflow.config
tags:
- kallistobustools
- kallistobustools/ref
- kallistobustools
files:
- path: output/kallistobustools/cdna.fa
md5sum: da194221c883656c68e2f90d8f77a56b
md5sum: 0de7fdac9e7418576987ed93640927c7
- path: output/kallistobustools/cdna_t2c.txt
md5sum: 6d583083eaf6ca81e409332a40d2e74c
- path: output/kallistobustools/intron.fa
md5sum: ca5ca147afa0a25f6a730edfb39a6098
- path: output/kallistobustools/intron_t2c.txt
md5sum: 728480007abfdbdb248f7ba9de6026ef
- path: output/kallistobustools/kb_ref_out.idx
md5sum: c0ffe9554cb6fdcc7cbb4a1285ca8f29
md5sum: 48ca8323aadd30b1762d4e8f5a7d7aee
- path: output/kallistobustools/t2g.txt
md5sum: 3089d303d9cd1a39a27969eca2dcaba7
md5sum: 7cae93dfb9a26f70adf4a57fe2a83027