Skip to content

Commit

Permalink
Updated test data paths batch 20 (#6106)
Browse files Browse the repository at this point in the history
* Updated test data paths batch 20

* Fixed samtools/sort inputs

* Updated tuple
  • Loading branch information
GallVp authored Aug 3, 2024
1 parent a941aa2 commit 4ba1155
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 26 deletions.
4 changes: 2 additions & 2 deletions modules/nf-core/bamstats/generalstats/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/bam/test.single_end.bam', checkIfExists: true)
]
"""
}
Expand All @@ -41,7 +41,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/bam/test.single_end.bam', checkIfExists: true)
]
"""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
]
input[1] = [ [ id:'test' ], 500 ]
input[2] = [ [ id:'test' ], "MT192765.1" ]
Expand All @@ -41,7 +41,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
]
input[1] = [ [ id:'test' ], 500 ]
input[2] = [ [ id:'test' ], "MT192765.1" ]
Expand Down
12 changes: 6 additions & 6 deletions modules/nf-core/circularmapper/realignsamfile/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
]
input[1] = [ [ id:'test' ], 500 ]
input[2] = [ [ id:'test' ], "MT192765.1" ]
Expand All @@ -46,7 +46,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:true ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
input [1] = BWA_INDEX.out.index
"""
Expand All @@ -59,7 +59,7 @@ nextflow_process {
"""
fastq = Channel.of([
[ id:'test', single_end:true ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
])
input[0] = fastq.join(BWA_ALN.out.sai)
Expand All @@ -75,7 +75,7 @@ nextflow_process {
input[0] = BWA_SAMSE.out.bam
input[1] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
]
input[2] = [ [ id:'test' ], 500 ]
"""
Expand All @@ -100,11 +100,11 @@ nextflow_process {
"""
input[0] = [
[ id: "test" ], //meta map
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/bam/test.single_end.bam', checkIfExists: true)
]
input[1] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
]
input[2] = [ [ id:'test' ], 500 ]
"""
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/ganon/report/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true),
]
input[1] = []
input[2] = []
Expand All @@ -33,7 +33,7 @@ nextflow_process {
input[0] = [
[ id:'test', single_end:true ], // meta map
[
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true),
]
]
input[1] = GANON_BUILDCUSTOM.out.db.map{it[1]}
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/ganon/table/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true),
]
input[1] = []
input[2] = []
Expand All @@ -34,7 +34,7 @@ nextflow_process {
input[0] = [
[ id:'test', single_end:true ], // meta map
[
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true),
]
]
input[1] = GANON_BUILDCUSTOM.out.db.map{it[1]}
Expand Down
3 changes: 3 additions & 0 deletions modules/nf-core/mudskipper/bulk/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ input:
- index:
type: directory
description: Annotation index created by mudskipper/index
- rad:
type: string
description: File type

output:
- meta:
Expand Down
12 changes: 8 additions & 4 deletions modules/nf-core/mudskipper/bulk/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ nextflow_process {
tag "modules_nfcore"
tag "mudskipper"
tag "mudskipper/bulk"
tag "samtools/sort"
tag "mudskipper/index"

test("homo_sapiens - gtf - bam") {

Expand All @@ -19,8 +21,9 @@ nextflow_process {
"""
input[0] = [
[id:'test', single_end:false ], // meta map
file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/bam/test.rna.paired_end.sorted.bam", checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/bam/test.rna.paired_end.sorted.bam', checkIfExists: true)
]
input[1] = [ [], [] ]
"""
}
}
Expand All @@ -31,7 +34,7 @@ nextflow_process {
"""
input[0] = SAMTOOLS_SORT.out.bam
input[1] = []
input[2] = file(params.test_data['homo_sapiens']['genome']['genome_gtf'], checkIfExists: true)
input[2] = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf', checkIfExists: true)
input[3] = false
"""
}
Expand All @@ -55,8 +58,9 @@ nextflow_process {
"""
input[0] = [
[id:'test', single_end:false ], // meta map
file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/genomics/homo_sapiens/illumina/bam/test.rna.paired_end.sorted.bam", checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/illumina/bam/test.rna.paired_end.sorted.bam', checkIfExists: true)
]
input[1] = [ [], [] ]
"""
}
}
Expand All @@ -65,7 +69,7 @@ nextflow_process {
script "../../index/main.nf"
process {
"""
input[0] = file(params.test_data['homo_sapiens']['genome']['genome_gtf'], checkIfExists: true)
input[0] = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/genome/genome.gtf', checkIfExists: true)
"""
}
}
Expand Down
4 changes: 3 additions & 1 deletion modules/nf-core/vsearch/cluster/environment.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: vsearch_cluster

channels:
- conda-forge
- bioconda
- defaults

dependencies:
- bioconda::vsearch=2.21.1
- bioconda::samtools=1.16.1
- bioconda::vsearch=2.21.1
10 changes: 5 additions & 5 deletions modules/nf-core/vsearch/cluster/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
"""
}
Expand All @@ -42,7 +42,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
"""
}
Expand All @@ -66,7 +66,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
"""
}
Expand All @@ -90,7 +90,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
"""
}
Expand All @@ -114,7 +114,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
"""
}
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/vsearch/sort/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
input[1] = "--sortbysize"
"""
Expand All @@ -41,7 +41,7 @@ nextflow_process {
"""
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true)
file(params.modules_testdata_base_path + 'genomics/sarscov2/illumina/fastq/test_1.fastq.gz', checkIfExists: true)
]
input[1] = "--sortbylength"
"""
Expand Down

0 comments on commit 4ba1155

Please sign in to comment.