Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
drpatelh committed Jul 1, 2020
1 parent 67e62fc commit 4ca0173
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,17 @@ if (!params.bwa_index) {
/*
* PREPROCESSING: Generate gene BED file
*/
// If --gtf is supplied along with --genome
// Make gene bed from supplied --gtf instead of using iGenomes one automatically
def MAKE_BED = false
if (!params.gene_bed) {
MAKE_BED = true
} else if (params.genome && params.gtf) {
if (params.genomes[ params.genome ].gtf != params.gtf) {
MAKE_BED = true
}
}
if (MAKE_BED) {
process MAKE_GENE_BED {
tag "$gtf"
label 'process_low'
Expand Down

0 comments on commit 4ca0173

Please # to comment.