diff --git a/etc/run_jalview b/etc/run_jalview
index dd8e783839b2cee93235c8a6b7ca46ff51bb42fd..673cf26efda0775c2da0cb4f6387dab21da2df4e 100755
--- a/etc/run_jalview
+++ b/etc/run_jalview
@@ -71,10 +71,24 @@ sub process_fasta
     die "cannot understand $fasta_results_file\n";
   }
 
+  
   if (! -e $sequence_file) {
-    die "cannot find $sequence_file\n";
+    if ($feature_file =~ /(.*)(\/jalview\/)(.+)$/)
+    {
+      $sequence_file = "$1/$sequence_file";
+      if (! -e $fasta_results_file &&
+          ! -e "$fasta_results_file.gz")
+      {
+        $fasta_results_file = "$1/$fasta_results_file";
+      }
+    }
+    if (! -e $sequence_file)
+    {
+      die "cannot find $sequence_file\n";
+    }
   }
 
+
   my $fasta_seq_for_alignment = "";
 
   open SEQ_FILE, $sequence_file or die "cannot open $sequence_file: $!\n";