Skip to content

Commit

Permalink
update call to seq store creation
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Aug 1, 2018
1 parent 9341a0c commit 9ac225d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/pipelines/trioCanu.pl
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,6 @@ ($$)

setWorkDirectory($asm, $rootdir);

if (defined($rootdir)) {
make_path($rootdir) if (! -d $rootdir);
chdir($rootdir);
}

setGlobal("onExitDir", getcwd());
setGlobal("onExitNam", $asm);

Expand Down Expand Up @@ -404,9 +399,9 @@ ($$)
setGlobal("minReadLength", 50);

# seqStore for each haplotype and setup meryl
createSequenceStore($asm, "hap", @inputFiles);
checkSequenceStore($asm, "hap", @inputFiles);
foreach my $h (keys(%haplotypes)) {
createSequenceStore("haplotype$h", "hap", @{ $haplotypes{$h} });
checkSequenceStore("haplotype$h", "hap", @{ $haplotypes{$h} });
merylConfigure("haplotype$h", "hap");
merylCheck("haplotype$h", "hap") foreach (1..getGlobal("canuIterationMax") + 1);
}
Expand Down

0 comments on commit 9ac225d

Please sign in to comment.