Skip to content

Commit

Permalink
Fix check for the number of r1 reads equals r2 reads
Browse files Browse the repository at this point in the history
Resolves #1
  • Loading branch information
DonFreed committed Jan 23, 2019
1 parent 87648bb commit 72a76b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccdg_fastq2vcf.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ task SentieonFastqToVcf {
first_fastq+=(${sep=" " file_fastq_r1s})
second_fastq+=(${sep=" " file_fastq_r2s})
read_groups=('${sep="' '" read_groups}')
if [[ ${dollar}{#first_fastq[@]} -ne ${dollar}{#read_groups[@]} ]]; then
if [[ ${dollar}{#first_fastq[@]} -ne ${dollar}{#second_fastq[@]} ]]; then
echo "The number of fastq files for r1 does not equal the number for r2"
exit 1
fi
Expand Down

0 comments on commit 72a76b2

Please sign in to comment.