🧸 Updated rasusa (#437)

* changed genome size input position

* fixed...😊
This commit is contained in:
Thanh Lee 2021-04-12 21:47:55 +01:00 committed by GitHub
parent c99ab09f8d
commit c736817598
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View file

@ -19,9 +19,8 @@ process RASUSA {
} }
input: input:
tuple val(meta), path(reads) tuple val(meta), path(reads), val(genome_size)
val depth_cutoff val depth_cutoff
val genome_size
output: output:
tuple val(meta), path('*.fastq.gz'), emit: reads tuple val(meta), path('*.fastq.gz'), emit: reads

View file

@ -22,12 +22,12 @@ input:
- reads: - reads:
type: file type: file
description: List of input paired-end FastQ files description: List of input paired-end FastQ files
- depth_cutoff:
type: integer
description: Depth of coverage cutoff
- genome_size: - genome_size:
type: string type: string
description: Genome size of the species description: Genome size of the species
- depth_cutoff:
type: integer
description: Depth of coverage cutoff
output: output:
- meta: - meta:

View file

@ -8,11 +8,11 @@ workflow test_rasusa {
input = [ [ id:'test', single_end:false], // meta map input = [ [ id:'test', single_end:false], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true), [ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true) file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true)
] ],
"1000000b"
] ]
depth_cutoff = 100 depth_cutoff = 100
genome_size = "1000000b"
RASUSA ( input, depth_cutoff, genome_size ) RASUSA ( input, depth_cutoff )
} }