forked from nf-core/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move gatk4/svcluster to nf-test (nf-core#4919)
- Loading branch information
1 parent
6d4a97b
commit cceb02b
Showing
10 changed files
with
76 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ channels: | |
- bioconda | ||
- defaults | ||
dependencies: | ||
- bioconda::gatk4=4.4.0.0 | ||
- bioconda::gatk4=4.5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
nextflow_process { | ||
|
||
name "Test Process GATK4_SVCLUSTER" | ||
script "../main.nf" | ||
process "GATK4_SVCLUSTER" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "manta" | ||
tag "manta/germline" | ||
tag "gatk4" | ||
tag "gatk4/svcluster" | ||
|
||
test("test_gatk4_svcluster") { | ||
setup { | ||
run("MANTA_GERMLINE") { | ||
script "../../../manta/germline/main.nf" | ||
process { | ||
""" | ||
input[0] = Channel.of([ [ id:'test' ], file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true), file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram_crai'], checkIfExists: true), [], []]) | ||
input[1] = Channel.value([ [ id:'test' ], file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)]) | ||
input[2] = Channel.value([ [ id:'test' ], file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)]) | ||
input[3] = [] | ||
""" | ||
} | ||
} | ||
} | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = MANTA_GERMLINE.out.diploid_sv_vcf.combine(MANTA_GERMLINE.out.diploid_sv_vcf_tbi, by: 0) | ||
input[1] = file("https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/svcluster/samples_ploidy.tsv", checkIfExists:true) | ||
input[2] = Channel.value(file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)) | ||
input[3] = Channel.value(file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)) | ||
input[4] = Channel.value(file(params.test_data['homo_sapiens']['genome']['genome_dict'], checkIfExists: true)) | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot( | ||
file(process.out.clustered_vcf.get(0).get(1)).name, | ||
process.out.clustered_vcf_index.get(0).get(1), | ||
).match("test_gatk4_svcluster") } | ||
) | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
process { | ||
withName: MANTA_GERMLINE { | ||
enabled: false | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
gatk4/svcluster: | ||
- "modules/nf-core/gatk4/svcluster/**" | ||
- "modules/nf-core/manta/germline/**" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.