diff ragoo.pl @ 1:6a1c9991b723 draft

Uploaded
author dereeper
date Mon, 21 Jun 2021 21:38:10 +0000
parents 90611c479c08
children 2390a7ae4853
line wrap: on
line diff
--- a/ragoo.pl	Mon Jun 21 21:10:57 2021 +0000
+++ b/ragoo.pl	Mon Jun 21 21:38:10 2021 +0000
@@ -1,6 +1,8 @@
 #!/usr/bin/perl
 
 use strict;
+use File::Basename;
+my $dirname = dirname(__FILE__);
 
 my $scaffolds= $ARGV[0];
 my $reference = $ARGV[1];
@@ -18,7 +20,7 @@
 system("cp -rf $scaffolds $tmpdir/scaffolds.fa");
 system("cp -rf $reference $tmpdir/reference.fa");
 chdir($tmpdir);
-system("ragoo.py scaffolds.fa reference.fa");
+system("$dirname/ragoo.py scaffolds.fa reference.fa");
 
 
 my %hash;