meta.yml init; test.yml and main.nf for printing version

This commit is contained in:
Sviatoslav Sidorov 2021-03-16 11:54:42 +00:00
parent 2f675fbe7c
commit 390c835f9f
3 changed files with 24 additions and 39 deletions

View file

@ -1,20 +1,17 @@
name: fastqc name: hifiasm
description: Run FastQC on sequenced reads description: Run hifiasm on Pacbio HiFi reads
keywords: keywords:
- quality control - genome assembly
- qc - pacbaio
- adapters - hifi
- long reads
- fastq - fastq
tools: tools:
- fastqc: - hifiasm:
description: | description: |
FastQC gives general quality metrics about your reads. hifiasm generates a genome assembly from long Pacbio HiFi reads. ...Haplotype resolution ...Using short reads.
It provides information about the quality score distribution homepage: https://github.com/chhylp123/hifiasm
across your reads, the per base sequence content (%A/C/G/T). documentation: https://github.com/chhylp123/hifiasm
You get information about adapter contamination and other
overrepresented sequences.
homepage: https://www.bioinformatics.babraham.ac.uk/projects/fastqc/
documentation: https://www.bioinformatics.babraham.ac.uk/projects/fastqc/Help/
params: params:
- outdir: - outdir:
type: string type: string

View file

@ -2,27 +2,27 @@
nextflow.enable.dsl = 2 nextflow.enable.dsl = 2
include { FASTQC } from '../../../software/fastqc/main.nf' addParams( options: [:] ) include { HIFIASM } from '../../../software/hifiasm/main.nf' addParams( options: [:] )
/* /*
* Test with single-end data * Test with single-end data
*/ */
workflow test_fastqc_single_end { /* workflow test_fastqc_single_end {
def input = [] def input = []
input = [ [ id:'test', single_end:true ], // meta map input = [ [ id:'test', single_end:true ], // meta map
[ file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true) ] ] [ file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true) ] ]
FASTQC ( input ) FASTQC ( input )
} } */
/* /*
* Test with paired-end data * Test version printing
*/ */
workflow test_fastqc_paired_end { workflow test_hifiasm_version {
def input = [] /* def input = []
input = [[id: 'test', single_end: false], // meta map input = [[id: 'test', single_end: false], // meta map
[file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true), [file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_1.fastq.gz", checkIfExists: true),
file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_2.fastq.gz", checkIfExists: true)]] file("${launchDir}/tests/data/genomics/sarscov2/fastq/test_2.fastq.gz", checkIfExists: true)]] */
FASTQC (input) HIFIASM ()
} }

View file

@ -1,19 +1,7 @@
- name: fastqc single-end - name: hifiasm
command: nextflow run ./tests/software/fastqc/ -entry test_fastqc_single_end -c tests/config/nextflow.config command: nextflow run ./tests/software/hifiasm/ -entry test_hifiasm_version -c tests/config/nextflow.config
tags: tags:
- fastqc - hifiasm
- fastqc_single_end - hifiasm_version
files: files:
- path: ./output/fastqc/test_fastqc.html - path: ./output/hifiasm/VERSION.txt
- path: ./output/fastqc/test_fastqc.zip
- name: fastqc paired-end
command: nextflow run ./tests/software/fastqc/ -entry test_fastqc_paired_end -c tests/config/nextflow.config
tags:
- fastqc
- fastqc_paired_end
files:
- path: ./output/fastqc/test_1_fastqc.html
- path: ./output/fastqc/test_2_fastqc.html
- path: ./output/fastqc/test_2_fastqc.zip
- path: ./output/fastqc/test_1_fastqc.zip