Skip to content

Commit

Permalink
default EXE_GSAPATH is '' so that it works in conda
Browse files Browse the repository at this point in the history
  • Loading branch information
eead-csic-compbio committed Jan 23, 2025
1 parent 818bea8 commit 732b4fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pangenes/_collinear_genes.pl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# -p 80 -s 1000 -> 1793
# -p 80 -s 2000 -> 1528

my $GSALIGNPATH = './';
my $GSALIGNPATH = '';
my $GSAINDXEXE = 'bwt_index';
my $GSALIGNEXE = 'GSAlign';
my $GSALIGNPARS = '-sen -no_vcf -fmt 1';
Expand Down Expand Up @@ -261,9 +261,7 @@ sub help_message {
if($gsalign_path ne '') {
$GSAINDXEXE = "$gsalign_path/$GSAINDXEXE";
$GSALIGNEXE = "$gsalign_path/$GSALIGNEXE";
}

print "\n# gsalign binaries: $GSAINDXEXE , $GSALIGNEXE\n\n";
} #print "\n# gsalign binaries: $GSAINDXEXE , $GSALIGNEXE\n\n";

if(`$GSALIGNEXE 2>&1` !~ 'Usage') {
print "# ERROR: cannot find binary file $GSALIGNEXE , exit\n";
Expand Down

0 comments on commit 732b4fe

Please sign in to comment.