changeset 3:2390a7ae4853 draft

Uploaded
author dereeper
date Mon, 21 Jun 2021 21:42:16 +0000
parents fac71ffb07d5
children 2a9ac8ac9120
files ragoo.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ragoo.pl	Mon Jun 21 21:38:28 2021 +0000
+++ b/ragoo.pl	Mon Jun 21 21:42:16 2021 +0000
@@ -20,7 +20,7 @@
 system("cp -rf $scaffolds $tmpdir/scaffolds.fa");
 system("cp -rf $reference $tmpdir/reference.fa");
 chdir($tmpdir);
-system("$dirname/ragoo.py scaffolds.fa reference.fa");
+system("$dirname/ragoo.py scaffolds.fa reference.fa >>$output 2>&1");
 
 
 my %hash;
@@ -34,7 +34,7 @@
 }
 close(F);
 
-open(O,">$output");
+open(O,">>$output");
 foreach my $id(keys(%hash)){
 	print O ">$id\n";
 	my $seq = $hash{$id};