Skip to content

Commit

Permalink
fix genome length calc (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
sage-wright authored Aug 8, 2022
1 parent 1d68d2b commit ec5f1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/quality_control/task_consensus_qc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task consensus_qc {
}
command <<<
if [ ~{reference_genome} ] ; then
GENOME_LEN=$(grep -v ">" ~{reference_genome} | wc -c)
GENOME_LEN=$(grep -v ">" ~{reference_genome} | tr --delete '\n' | wc -c)
else
# set SC2 default
GENOME_LEN=29903
Expand Down

0 comments on commit ec5f1a9

Please sign in to comment.