Skip to content
Snippets Groups Projects
Select Git revision
  • 06a4d0d4f56ec9155b507c2ea5d92e11c3f64bd2
  • master default protected
  • dev
  • 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
13 results

fastqc.nf

Blame
  • Forked from LBMC / nextflow
    1203 commits behind the upstream repository.
    fastqc.nf 590 B
    /*
    * fastqc :
    * Imputs : fastq files
    * Output : pdf files
    */
    
    /*                      fastQC                                     */
    params.fastq = ""
    
    log.info "fastq files : ${params.fastq}"
    
    Channel
      .fromPath( params.fastq )
      .ifEmpty { error "Cannot find any fastq files matching: ${params.fastq}" }
      .set { fastq_files }
    
    process fastqc {
      tag "$fastq.baseName"
      publishDir "results/fasqc/${fastq.baseName}/", mode: 'copy'
    
      input:
        file fastq from fastq_files
    
      output:
        file "*.htlm" into fastqc_repport
    
      script:
    """
    fastqc -o ./ --noextract -f fastq ${fastq}
    """
    }