Skip to content
Snippets Groups Projects
nextflow.config 2.61 KiB
Newer Older
/*
 * -------------------------------------------------
 *  metagWGS Nextflow config file
 * -------------------------------------------------
 * Default config options for all environments.
 */
    // metagWGS parameters.
    reads = ""
    assemblies = ""
    single_end = false
    adapter1 = "AGATCGGAAGAGC"
    adapter2 = "AGATCGGAAGAGC"
    quality_type = "sanger"
    host_index = ""
    host_fasta = ""
Jean Mainguy's avatar
Jean Mainguy committed
    assembly = "" // short read: metaspades or megahit || HiFi reads : hifiasm-meta or metaflye
MARTIN Pierre's avatar
MARTIN Pierre committed
    min_contigs_cpm = 1
MARTIN Pierre's avatar
MARTIN Pierre committed
    diamond_bank = ""
    gtdbtk_bank = ""
Celine Noirot's avatar
Celine Noirot committed
    percentage_identity = 0.95
    // Stop after step or skip optional step/sub-step.

    // Optional step
    stop_at_clean = false
    skip_clean = false
    // Sub-steps of clean
    skip_host_filter = false
    skip_kaiju = false

    // Step
    stop_at_assembly = false

    // Optional step
    stop_at_filtering = false
MARTIN Pierre's avatar
MARTIN Pierre committed
    skip_filtering = false
    // Optional step
Celine Noirot's avatar
Celine Noirot committed
    skip_func_annot = false
    skip_taxo_affi = false
Celine Noirot's avatar
Celine Noirot committed

    // Optional step
    skip_binning = false
    binning_cross_alignment = 'individual'
    drep_threshold = 0.95
    min_completeness = 50
    max_contamination = 10
    // Ressources.
    kaiju_db_dir = false
Celine Noirot's avatar
Celine Noirot committed
    kaiju_db_url = "https://kaiju.binf.ku.dk/database/kaiju_db_refseq_2021-02-26.tgz"
    eggnog_mapper_db_dir = ""
    eggnog_mapper_db_download = true
    // Others parameters.
    outdir = "results"
    accession2taxid = "ftp://ftp.ncbi.nih.gov/pub/taxonomy/accession2taxid/prot.accession2taxid.FULL.gz"
DARBOT Vincent's avatar
DARBOT Vincent committed
    taxdump = "ftp://ftp.ncbi.nih.gov/pub/taxonomy/new_taxdump/new_taxdump.tar.gz"
    taxonomy_dir = false
    hifi_multiqc_config = "$baseDir/assets/hifi_multiqc_config.yaml"
    sr_multiqc_config = "$baseDir/assets/sr_multiqc_config.yaml"
// Load base.config by default for all pipelines.
includeConfig 'conf/base.config'

// Define profiles.
    debug { includeConfig 'conf/debug.config' }
    genotoul { includeConfig 'conf/genotoul.config' }
    test { includeConfig 'conf/test.config' }
    functional_test { includeConfig 'conf/functional_test.config' }
    local { process.executor = 'local'}
    conda { includeConfig 'conf/conda.config' }
    singularity { includeConfig 'conf/singularity.config' }
// Manifest.
    name = 'metagWGS'
    homePage = 'https://forgemia.inra.fr/genotoul-bioinfo/metagwgs'
    description = 'Analysis of metagenomics data'
    mainScript = 'main.nf'
    nextflowVersion = '>=20.01.0'