Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
caspargross committed Apr 28, 2019
1 parent fcc79cc commit e976f99
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 23 deletions.
8 changes: 0 additions & 8 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
*/

params {
help = false
version = false
input = false // Required: select input file
mode = 'unicycler' // Mode Default: 'all'
outDir = "${PWD}/assembly" // Path to output directory

minContigLength = 1000 // Minimum contig length filter
genomeSize = 5300000 // Estimated bacterial genome size
targetShortReadCov = 100 // Target read coverage after subsampling
targetLongReadCov = 100 // Target read coverage after subsampling

py27 = "source activate ha_py27" // Assume conda is already in path
py36 = "source activate ha_py36" // Assume conda is already in path
Expand Down Expand Up @@ -46,7 +41,4 @@ process {
maxRetries = 1
maxErrors = '-1'

// Process-specific resource requirements
// TODO nf-core: Customise requirements for specific processes.
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
}
8 changes: 0 additions & 8 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,9 @@ params {
input = "${baseDir}/testdata/test_files.tsv"
mode = "all"
outDir = "${PWD}/testOut"
help = false
version = false

genomeSize = 150000
targetShortReadCov = 150
targetLongReadCov = 150
minContigLength = 500

py27 = "source activate ha_py27" // Assume conda is already in path
py36 = "source activate ha_py36" // Assume conda is already in path

max_cpus = 2
max_memory = 6.GB
max_time = 48.h
Expand Down
5 changes: 0 additions & 5 deletions conf/testlr.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@ params {
input = "${baseDir}/testdata/test_files.tsv"
mode = "all"
outDir = "${PWD}/testOut"
help = false
version = false

genomeSize = 150000
targetShortReadCov = 150
targetLongReadCov = 150
minContigLength = 500

py27 = "source activate ha_py27" // Assume conda is already in path
py36 = "source activate ha_py36" // Assume conda is already in path
Expand Down
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -472,14 +472,14 @@ process pilon{
samtools index alignments.bam
pilon -Xmx16384m --genome ${contigs} --frags alignments.bam --changes \
--output ${id}_${type}_pilon --fix all
--output ${id}_${type}_pilon --fix all --threads ${task.cpus}
"""
}

process draw_assembly_graph {
// Use Bandage to draw a picture of the assembly graph
tag{id}
publishDir "${params.outDir}/${id}/assembly/graph_plot/", mode: 'copy'
publishDir "${params.outDir}/${id}/qc/graph_plot/", mode: 'copy'

input:
set id, type, gfa from assembly_graph_spades.mix(assembly_graph_unicycler, assembly_graph_flye, assembly_graph_miniasm, assembly_graph_canu)
Expand Down

0 comments on commit e976f99

Please sign in to comment.