Skip to content

Commit 07c0481

Browse files
committed
Pass global filter coverage to generateCorrectionLayouts.
1 parent 2b70735 commit 07c0481

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/pipelines/canu/CorrectReads.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ sub buildCorrectionLayoutsConfigure ($) {
138138
fetchOvlStore($asm, $base);
139139

140140
print STDERR "-- Computing correction layouts.\n";
141+
print STDERR "-- Local filter coverage ", getCorCov($asm, "Local"), "\n";
142+
print STDERR "-- Global filter coverage ", getCorCov($asm, "Global"), "\n";
141143

142144
$cmd = "$bin/generateCorrectionLayouts \\\n";
143145
$cmd .= " -S ../$asm.seqStore \\\n";
@@ -146,6 +148,7 @@ sub buildCorrectionLayoutsConfigure ($) {
146148
$cmd .= " -eL " . getGlobal("corMinEvidenceLength") . " \\\n" if (defined(getGlobal("corMinEvidenceLength")));
147149
$cmd .= " -eE " . getGlobal("corMaxEvidenceErate") . " \\\n" if (defined(getGlobal("corMaxEvidenceErate")));
148150
$cmd .= " -eC " . getCorCov($asm, "Local") . " \\\n";
151+
$cmd .= " -xC " . getCorCov($asm, "Global") . " \\\n";
149152
$cmd .= "> ./$asm.corStore.err 2>&1";
150153

151154
if (runCommand($base, $cmd)) {

0 commit comments

Comments
 (0)