Skip to content
Snippets Groups Projects
Select Git revision
  • 0e22ab653ad18d17f7b0692637050cf1e31ebed8
  • main default
  • master
3 results

session_8.Rmd

Blame
  • fastqc.nf 585 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 "*" into fastqc_repport
    
      script:
    """
    fastqc -o ./ --noextract -f fastq ${fastq}
    """
    }