B-UMMI / DEN-IM

Dengue virus genotyping from shotgun and targeted metagenomics​ - A nextflow pipeline
GNU General Public License v3.0
7 stars 5 forks source link

Add Single-end support #4

Closed cimendes closed 5 years ago

cimendes commented 5 years ago

This PR adds support to DEN-IM for single-end short-read sequencing data. The channel responsible for receiving the raw input data has been modified to permit any number of input files per sample by using the size optional parameter in the fromFilePairs method.

IN_fastq_raw = Channel.fromFilePairs(params.fastq, size: -1).ifEmpty { exit 1, "No fastq files provided with pattern:'${params.fastq}'" }

All processes that handle fastq or bam data have been adjusted to handle both paired-end and single-end data.