Skip to content

Commit

Permalink
add aligner expected by current SSPACE; issue sanger-pathogens#67
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeetocode committed Jan 19, 2017
1 parent 16cd1c1 commit 561c93f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Bio/AssemblyImprovement/Scaffold/SSpace/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use Moose;
has 'input_files' => ( is => 'ro', isa => 'ArrayRef', required => 1 );
has '_default_insert_size' => ( is => 'ro', isa => 'Int', default => 300 );
has 'insert_size' => ( is => 'rw', isa => 'Int', required => 1 );
has 'mapper' => ( is => 'ro', isa => 'Str', default => 'bwa' );
has 'output_filename' => ( is => 'rw', isa => 'Str', default => '_scaffolder.config' );

sub create_config_file {
Expand All @@ -41,7 +42,7 @@ sub create_config_file {

my $input_file_names = join( ' ', @{ $self->input_files } );
open( my $lib_fh, "+>", $self->output_filename );
print $lib_fh "LIB " . $input_file_names . " " . $self->insert_size . " 0.3 FR";
print $lib_fh "LIB ".$self->mapper . " ". $input_file_names . " " . $self->insert_size . " 0.3 FR";
close($lib_fh);

return $self;
Expand Down

0 comments on commit 561c93f

Please sign in to comment.