🧸 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:
tuple val(meta), path(reads)
tuple val(meta), path(reads), val(genome_size)
val depth_cutoff
val genome_size
output:
tuple val(meta), path('*.fastq.gz'), emit: reads

View file

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

View file

@ -8,11 +8,11 @@ workflow test_rasusa {
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_2_fastq_gz'], checkIfExists: true)
]
],
"1000000b"
]
depth_cutoff = 100
genome_size = "1000000b"
RASUSA ( input, depth_cutoff, genome_size )
RASUSA ( input, depth_cutoff )
}