Skip to content
Snippets Groups Projects
Select Git revision
  • 231fd9e6a361a8095f07f32ce8c42b69f9409f8f
  • master default protected
  • dev
  • v2.0.0
  • v0.4.0
  • v0.3.0
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • v0.1.0
  • v0.2.5
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.2
18 results

BWA.def

Blame
  • Forked from LBMC / nextflow
    Source project has a limited visibility.
    fastqc_single.nf 576 B
    params.fastq = "$baseDir/data/fastq/*.fastq"
    
    log.info "fastq files : ${params.fastq}"
    
    Channel
      .fromPath( params.fastq )
      .ifEmpty { error "Cannot find any fastq files matching: ${params.fastq}" }
      .map { it -> [(it.baseName =~ /([^\.]*)/)[0][1], it]}
      .set { fastq_files }
    
    process fastqc_fastq {
      tag "$file_id"
      publishDir "results/fastq/fastqc/", mode: 'copy'
    
      input:
      set file_id, file(reads) from fastq_files
    
      output:
        file "*.{zip,html}" into fastqc_report
    
      script:
    """
    fastqc --quiet --threads ${task.cpus} --format fastq --outdir ./ ${reads}
    """
    }