hoelzer / mgnify-lr

Evaluation of long-read support for the MGnify pipeline
GNU General Public License v3.0
6 stars 5 forks source link

Merged Nextflow profiles #27

Closed hoelzer closed 4 years ago

hoelzer commented 4 years ago

docker.config

docker { enabled = true }

        process {
            withLabel: plasflow { container = 'quay.io/biocontainers/plasflow:1.1.0--py35_0' }
            withLabel: abricate { container = 'nanozoo/abricate:0.9.8--97b9f1e' } 
            withLabel: fargene { container = 'nanozoo/fargene:0.1--df641ae'}
            withLabel: sourmash { container = 'nanozoo/sourmash:2.3.0--4257650'  }
            withLabel: mashtree { container = 'quay.io/biocontainers/mashtree:1.0.4--pl526h516909a_0' }
            withLabel: toytree { container = 'nanozoo/toytree:1.1.2--1295ae6' }
            withLabel: ubuntu { container = 'nanozoo/template:3.8--ccd0653' }
            withLabel: ggplot2 { container = 'nanozoo/r_fungi:0.1--097b1bb' }
        }

Local config

        process {
            withLabel: plasflow { cpus = 10 }
            withLabel: abricate { cpus = 1 } 
            withLabel: fargene { cpus = 1 }
            withLabel: sourmash { cpus = 4 }
            withLabel: mashtree { cpus = params.cores }
            withLabel: toytree { cpus = 2 }
            withLabel: ubuntu { cpus = 2  }
            withLabel: ggplot2 { cpus = 1 }
        }

Profile

profiles {

    local { 
        params.cloudProcess = false
        params.cloudDatabase = false
        includeConfig 'configs/local.config' }

    docker { 
        includeConfig 'configs/docker.config' }
}

Command

-profile local,docker