Skip to content
Snippets Groups Projects
Select Git revision
  • f19a3ec0c9b7c991ed8e935124140f4dec0c5da0
  • 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
    1204 commits behind the upstream repository.
    elabaron's avatar
    elabaron authored
     Changes to be committed:
    	new file:   src/10_ribowave.nf
    	modified:   src/docker_modules/FastQC/0.11.5/Dockerfile : Add perl instalation
    	new file:   src/nf_modules/FastQC/fastqc.config
    	new file:   src/nf_modules/FastQC/fastqc.nf
    	renamed:    src/nf_modules/Ribowave/10_ribowave.nf -> src/nf_modules/Ribowave/pipeline_PSMN.nf
    	new file:   src/nf_modules/Ribowave/pipeline_docker.nf
    	modified:   src/nf_modules/Ribowave/test/P-site.nf
    	new file:   src/ribowave.config
    f19a3ec0
    History
    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}
    """
    }