Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww95 authored Oct 16, 2023
2 parents 6092736 + e2e0be7 commit b265e71
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) matthew wells
Copyright (c) 2023 Public Health Agency of Canada

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Mikrokondo takes in either, Illumina, Nanopore or Pacbio data (Pacbio data only

# Installation


## Installing Nextflow
Nextflow is required to run mikrokondo, but fortunately it is not too hard to install (Linux is required). The instructions for installing Nextflow can be found at either either resource: [Nextflow Home](https://www.nextflow.io/) or [Nextflow Documentation](https://www.nextflow.io/docs/latest/getstarted.html#installation)

Expand Down
4 changes: 3 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,10 @@ process {

withName: MASH_ESTIMATE {
//container = params.mash.container
errorStrategy = { task.attempt <= task.maxRetries ? sleep(Math.pow(2, task.attempt) * 200 as long) && 'retry' : 'finish' }
ext.containers = params.mash
scratch = false
maxForks = 20
stageInMode = params.stage_in_mode
publishDir = [
[
Expand Down Expand Up @@ -322,7 +324,7 @@ process {
withName: MASH_SCREEN {
def dir_out = null
//errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }
errorStrategy = 'ignore'
errorStrategy = { task.attempt <= task.maxRetries ? sleep(Math.pow(2, task.attempt) * 200 as long) && 'retry' : 'finish' }
maxForks = 20
//dir_out = process.toString().contains("QC_READS") ? "read_quality/${params.mash.output_dir}/mash" : "taxon_determination/mash"
ext.args = "-w"
Expand Down
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,10 @@ params {
validate_params = true
show_hidden_params = false


// If a param in camel case is present nextflow automatically creates a kebab case parameter as well
schema_ignore_params = '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,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'

stage_in_mode = 'symlink'


Expand Down Expand Up @@ -195,6 +197,7 @@ params {
}

// Flye options
// TODO figure out if --keep-haplotypes should be enabled
flye {
// TODO add in arg for data type in flye
nanopore {
Expand Down

0 comments on commit b265e71

Please sign in to comment.