Skip to content

Commit

Permalink
Merge pull request #358 from andrewjpage/dashes_for_missing
Browse files Browse the repository at this point in the history
change missing gene in core to be dashes rather than Ns
  • Loading branch information
andrewjpage authored Oct 10, 2017
2 parents 466909f + 802c2aa commit 68c77ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author = Andrew J. Page <[email protected]>
license = GPL_3
copyright_holder = Wellcome Trust Sanger Institute
copyright_year = 2013
version = 3.10.2
version = 3.11.0
main_module = lib/Bio/Roary.pm

[MetaResources]
Expand Down
2 changes: 1 addition & 1 deletion lib/Bio/Roary/MergeMultifastaAlignments.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ sub _sequence_for_sample_from_gene_file {
sub _padded_string_for_gene_file {
my ( $self, $gene_file ) = @_;
return '' unless ( defined( $self->_gene_lengths->{$gene_file} ) );
return 'N' x ( $self->_gene_lengths->{$gene_file} );
return '-' x ( $self->_gene_lengths->{$gene_file} );
}

sub _create_merged_sequence_for_sample {
Expand Down
2 changes: 1 addition & 1 deletion t/data/expected_core_gene_alignment_core0.66.aln
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ TTTTT
>query_2
GGGGG
>query_3
NNNNN
-----

0 comments on commit 68c77ea

Please sign in to comment.