-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from phac-nml/dev
Dev
- Loading branch information
Showing
17 changed files
with
441 additions
and
35 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 |
---|---|---|
|
@@ -20,3 +20,5 @@ Makefile | |
*.bak | ||
docs/TODO.md | ||
.git.bak | ||
assets/schema_input_nfv2.0.0.json | ||
nextflow_schema_nfv2.json |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
mk-kondo/mikrokondo Nextflow config file | ||
phac-nml/mikrokondo Nextflow config file | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Default config options for all compute environments | ||
---------------------------------------------------------------------------------------- | ||
|
@@ -39,10 +39,10 @@ params { | |
// Sub sampling options | ||
target_depth = 100 | ||
|
||
validate_params = false | ||
validate_params = true | ||
show_hidden_params = false | ||
validationS3PathCheck = true | ||
validationSchemaIgnoreParams = 'output_idx_name,filtered_reads,coverage_calc_fields,assembly_status,coverage_calc_fields.fixed_cov,coverage_calc_fields.auto_cov,assembly_status.report_tag,medaka.model,medaka,validation-S3Path-check,validationS3PathCheck,abricate,python3,pointfinder_db_tag,staramr,mobsuite_recon,skip_staramr,genomes,flye_read_type,shigeifinder,lissero,sistr,ectyper,bandage,bakta,unicycler,medaka,pilon_iterative,pilon,racon,samtools,minimap2,r_contaminants,mash,kraken,checkm,quast_filter,quast,fastqc,spades,flye,chopper,fastp,seqtk,seqtk_size,kat,coreutils,opt_platforms,QCReportFields,QCReport-fields,QCReport,kraken_bin,shigatyper,spatyper,kleborate,subtyping_report,kraken_species,top_hit_species,mash_meta,mlst,raw_reads,abricate_params,target_depth' | ||
validationSchemaIgnoreParams = 'seqkit,contigs_too_short,output_idx_name,filtered_reads,coverage_calc_fields,assembly_status,coverage_calc_fields.fixed_cov,coverage_calc_fields.auto_cov,assembly_status.report_tag,medaka.model,medaka,validation-S3Path-check,validationS3PathCheck,abricate,python3,pointfinder_db_tag,staramr,mobsuite_recon,skip_staramr,genomes,flye_read_type,shigeifinder,lissero,sistr,ectyper,bandage,bakta,unicycler,medaka,pilon_iterative,pilon,racon,samtools,minimap2,r_contaminants,mash,kraken,checkm,quast_filter,quast,fastqc,spades,flye,chopper,fastp,seqtk,seqtk_size,kat,coreutils,opt_platforms,QCReportFields,QCReport-fields,QCReport,kraken_bin,shigatyper,spatyper,kleborate,subtyping_report,kraken_species,top_hit_species,mash_meta,mlst,raw_reads,abricate_params,target_depth' | ||
validationFailUnrecognisedParams = false // for the qcreport fields | ||
|
||
// SKIP options | ||
|
@@ -922,8 +922,8 @@ profiles { | |
} | ||
|
||
plugins { | ||
id 'nf-validation' | ||
// id [email protected] | ||
//id 'nf-validation@2.0.0' | ||
id '[email protected]' | ||
id 'nf-prov' | ||
} | ||
|
||
|
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
>contig1 | ||
>contig1 length=1 | ||
A | ||
>contig2 | ||
>contig2 length=2 | ||
AC | ||
>contig3 | ||
>contig3 length=3 | ||
ACT | ||
>contig4 | ||
>contig4 length=4 | ||
ACTG |
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 @@ | ||
>contig1 length=10 | ||
ATCGATCGAT | ||
>contig2 length=20 | ||
ATCGATCGATATCGATCGAT | ||
>contig3 length=30 | ||
ATCGATCGATATCGATCGATATCGATCGAT |
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,2 @@ | ||
sample,fastq_1,fastq_2,long_reads,assembly | ||
CSE,https://github.com/phac-nml/mikrokondo/raw/dev/tests/data/reads/campy-staph1.fq.gz,https://github.com/phac-nml/mikrokondo/raw/dev/tests/data/reads/campy-staph2.fq.gz,, |
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,39 @@ | ||
nextflow_workflow { | ||
|
||
name "Full Integration Tests for MIKROKONDO" | ||
script "main.nf" | ||
workflow "MIKROKONDO" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
params { | ||
input = "samplesheet-staph.csv" | ||
platform = "illumina" | ||
outdir = "results" | ||
mash.mash_sketch = "campy-staph-ecoli.msh" | ||
r_contaminants.mega_mm2_idx = "campy.mmi" | ||
skip_bakta = true | ||
skip_staramr = true | ||
skip_mobrecon = true | ||
skip_checkm = true | ||
skip_raw_read_metrics = true | ||
skip_polishing = true | ||
max_memory = "4.GB" | ||
max_cpus = 2 | ||
} | ||
workflow { | ||
""" | ||
// define inputs of the workflow here. Example: | ||
// input[0] = file("test-file.txt") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
} | ||
|
||
} | ||
|
||
} |
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
Oops, something went wrong.