Skip to content

Commit

Permalink
Fixed bug in orthograph2hamstrad that prevented summarized data to be…
Browse files Browse the repository at this point in the history
… converted
  • Loading branch information
mptrsen committed Nov 23, 2015
1 parent c856653 commit a121c13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Changes since release 0.5.6
===========================

* Fixed bug in orthograph2hamstrad.pl that prevented summarized data to be converted
* Moved notification on reftaxon skipping to `verbose`, improved wording on said message
* Alignment files for ortholog set now contain the reference OGS headers, not just database IDs

Expand Down
4 changes: 2 additions & 2 deletions orthograph2hamstrad.pl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
next unless $f =~ /\.fa$/;
(my $basename = $f) =~ s/\.aa(\.summarized)?(\.mafft)?\.fa$//;

my $summarized = defined $1 ? '.' . $1 : '';
my $mafft = defined $2 ? '.' . $2 : '';
my $summarized = defined $1 ? $1 : '';
my $mafft = defined $2 ? $2 : '';

my $aafile = catfile($aaind, $f);
my $ntfile = catfile($ntind, $basename . '.nt' . $summarized . $mafft . '.fa');
Expand Down

0 comments on commit a121c13

Please sign in to comment.