summaryrefslogtreecommitdiff
path: root/rampion/rampion.pl
diff options
context:
space:
mode:
Diffstat (limited to 'rampion/rampion.pl')
-rwxr-xr-xrampion/rampion.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/rampion/rampion.pl b/rampion/rampion.pl
index fda2bac2..9884f453 100755
--- a/rampion/rampion.pl
+++ b/rampion/rampion.pl
@@ -301,11 +301,15 @@ while (1){
my $score = 0;
my $icc = 0;
my $inweights="$dir/weights.$im1";
+ my $outweights="$dir/weights.$iteration";
$cmd="$MAPINPUT $dir/hgs > $dir/agenda.$im1";
print STDERR "COMMAND:\n$cmd\n";
check_call($cmd);
- die "PLEASE IMPL";
+ $cmd="$MAPPER $refs_comma_sep -m $metric -i $dir/agenda.$im1 -w $inweights > $outweights";
+ check_call($cmd);
+ $lastWeightsFile = $outweights;
$iteration++;
+ `rm hgs/*.gz`;
print STDERR "\n==========\n";
}