Skip to content

Commit

Permalink
Add workflow for Nanopore
Browse files Browse the repository at this point in the history
  • Loading branch information
drpatelh committed Feb 14, 2021
1 parent acfae09 commit 1ed5471
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if (params.help) {

params.fasta = Workflow.get_genome_attribute(params, 'fasta')
params.gff = Workflow.get_genome_attribute(params, 'gff')
params.bwa_index = Workflow.get_genome_attribute(params, 'bwa')
params.bowtie2_index = Workflow.get_genome_attribute(params, 'bowtie2')

////////////////////////////////////////////////////
Expand Down Expand Up @@ -64,18 +65,25 @@ if (!params.public_data_ids && !platformList.contains(params.platform)) {

workflow {
/*
* SUBWORKFLOW: Get SRA run information for public database ids, download and md5sum check FastQ files, auto-create samplesheet
* WORKFLOW: Get SRA run information for public database ids, download and md5sum check FastQ files, auto-create samplesheet
*/
if (params.public_data_ids) {
include { SRA_DOWNLOAD } from './workflows/sra_download' addParams( summary_params: summary_params )
SRA_DOWNLOAD ()

/*
* SUBWORKFLOW: Variant analysis for Illumina data
* WORKFLOW: Variant and de novo assembly analysis for Illumina data
*/
} else if (params.platform == 'illumina') {
include { ILLUMINA } from './workflows/illumina' addParams( summary_params: summary_params )
ILLUMINA ()

/*
* WORKFLOW: Variant analysis for Nanopore data
*/
} else if (params.platform == 'nanopore') {
include { NANOPORE } from './workflows/nanopore' addParams( summary_params: summary_params )
NANOPORE ()
}
}

Expand Down

0 comments on commit 1ed5471

Please sign in to comment.