Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

use nf-core configs to load hasta #41

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ params {

platform='ILLUMINA'

// Utilize nf-core custom profiles
custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/master"

// Star reference directory path
star_index="${reference_dir}/grch38_homo_sapiens_-gencode_pri-.fasta_star_genome_dir/"

Expand Down Expand Up @@ -49,6 +52,13 @@ process.shell = ['/bin/bash', '-euo', 'pipefail']
// Load modules.config for DSL2 module specific options
includeConfig 'conf/modules.config'

// Load nf-core custom profiles from different Institutions
try {
includeConfig "${params.custom_config_base}/nfcore_custom.config"
} catch (Exception e) {
System.err.println("WARNING: Could not load nf-core/config profiles: ${params.custom_config_base}/nfcore_custom.config")
}

profiles {
docker {
docker.enabled = true
Expand Down