Skip to content
Snippets Groups Projects
Commit f6ee4fbe authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix align sample combine

parent 02d4766e
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8842 failed with stages
in 2 minutes and 5 seconds
......@@ -701,7 +701,7 @@ process downsampleData {
}
// Replicate the dowsampled fastq's and attatched to the references
inferInput = endsManual_alignSampleData.combine(refInfer.combine(fastqs1Sample.collect().combine(fastqs2Sample.collect())))
inferInput = endsManual_alignSampleData.combine(refInfer.combine(fastqs1Sample.collect().combine(fastqs2Sample.collect().combine(fastqCountError_alignSampleData.combine(val fastqReadError_alignSampleData)))))
/*
* alignSampleData: aligns the downsampled reads to a reference database
......@@ -710,9 +710,7 @@ process alignSampleData {
tag "${ref}"
input:
tuple val (ends), val (ref), path (hisat2), path (fna), path (gtf), path (fastq1), path (fastq2) from inferInput
val fastqCountError_alignSampleData
val fastqReadError_alignSampleData
tuple val (ends), val (ref), path (hisat2), path (fna), path (gtf), path (fastq1), path (fastq2), val (fastqCountError), val (fastqReadError) from inferInput
output:
path ("${ref}.sampled.sorted.bam") into sampleBam
......@@ -720,8 +718,8 @@ process alignSampleData {
path ("${ref}.alignSampleSummary.txt") into alignSampleQC
when:
fastqCountError_alignSampleData == "false"
fastqReadError_alignSampleData == "false"
fastqCountError == "false"
fastqReadError == "false"
script:
"""
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment