Skip to content

Commit

Permalink
format AF for insertion/deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahhunt committed Sep 4, 2017
1 parent 832fa86 commit 4dd84f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Bio/EnsEMBL/VEP/OutputFactory/JSON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ sub add_colocated_variant_info_JSON {
my $tmp = $ex->{$pop};
my $lc_pop = lc($pop);

if($tmp =~ /(\w)\:([\d\.\-e]+)/) {
if($tmp =~ /(\D)\:([\d\.\-e]+)/) {
$ex->{$lc_pop.'_maf'} = $2;
$ex->{$lc_pop.'_allele'} = $1;
}
Expand Down

0 comments on commit 4dd84f6

Please sign in to comment.