diff --git a/CHANGELOG.md b/CHANGELOG.md index 57bbfecb33522fe42ab662bd5ca593a8afca0572..eb2ef2713ef1b4665c225e1208034cef8ac8eee1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ that users understand how the changes affect the new version. version 4.1.0-dev --------------------------- -+ Remove globs from lima outputs. ++ Bam2fastx: Input bam and index are now arrays. ++ Lima: Remove globs from outputs. + Added a task for GRIDSS. + Add wdl file for pacbio's bam2fastx tool. diff --git a/bam2fastx.wdl b/bam2fastx.wdl index 5e5fb50afe854af5ea404f977f835da00f4e1c1f..a8f1342ccd8266325af0ec72de6712c5fac9d23b 100644 --- a/bam2fastx.wdl +++ b/bam2fastx.wdl @@ -22,8 +22,8 @@ version 1.0 task Bam2Fasta { input { - File inputFile - File bamIndex + Array[File]+ inputFile + Array[File]+ bamIndex String outputPrefix Int compressionLevel = 1 Boolean splitByBarcode = false @@ -43,7 +43,7 @@ task Bam2Fasta { -c ~{compressionLevel} \ ~{true="--split-barcodes" false="" splitByBarcode} \ ~{"--seqid-prefix " + seqIdPrefix} \ - ~{inputFile} + ~{sep=" " inputFile} } output { @@ -58,8 +58,8 @@ task Bam2Fasta { parameter_meta { # inputs - inputFile: {description: "The input pacbio bam file.", category: "required"} - bamIndex: {description: "The .pbi index for the input file.", category: "required"} + inputFile: {description: "The input pacbio bam file(s).", category: "required"} + bamIndex: {description: "The .pbi index for the input file(s).", category: "required"} outputPrefix: {description: "Output directory path + output file prefix.", category: "required"} compressionLevel: {description: "Gzip compression level [1-9]", category: "advanced"} splitByBarcode: {description: "Split output into multiple fasta files, by barcode pairs.", category: "advanced"} @@ -75,8 +75,8 @@ task Bam2Fasta { task Bam2Fastq { input { - File inputFile - File bamIndex + Array[File]+ inputFile + Array[File]+ bamIndex String outputPrefix Int compressionLevel = 1 Boolean splitByBarcode = false @@ -96,7 +96,7 @@ task Bam2Fastq { -c ~{compressionLevel} \ ~{true="--split-barcodes" false="" splitByBarcode} \ ~{"--seqid-prefix " + seqIdPrefix} \ - ~{inputFile} + ~{sep=" " inputFile} } output { @@ -111,8 +111,8 @@ task Bam2Fastq { parameter_meta { # inputs - inputFile: {description: "The input pacbio bam file.", category: "required"} - bamIndex: {description: "The .pbi index for the input file.", category: "required"} + inputFile: {description: "The input pacbio bam file(s).", category: "required"} + bamIndex: {description: "The .pbi index for the input file(s).", category: "required"} outputPrefix: {description: "Output directory path + output file prefix.", category: "required"} compressionLevel: {description: "Gzip compression level [1-9]", category: "advanced"} splitByBarcode: {description: "Split output into multiple fastq files, by barcode pairs.", category: "advanced"}