Skip to content

Commit

Permalink
replace ; in gbk fields when converting to gff. Fixes #121
Browse files Browse the repository at this point in the history
  • Loading branch information
thackl committed Mar 30, 2022
1 parent 7053a8e commit 4792ee4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exec/gb2gff
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ sub parse_attributes{
my $v = $f{$k};
push @a, $k .(defined($v) ? "=".uri_escape($v) : "=true");
}
tr/;/,/ for @a; # replace ; not allowed in gff fields
return join(";", @a);
}

Expand Down

0 comments on commit 4792ee4

Please sign in to comment.