BioX-Workflow-Plugin-Drake
view release on metacpan or search on metacpan
lib/BioX/Workflow/Plugin/Drake.pm view on Meta::CPAN
print $fh "#!/bin/bash\n\n";
foreach my $sample (@{$self->samples}){
print $fh <<EOF;
drake --vars "SAMPLE=$sample" --workflow workflow.drake
EOF
}
close $fh;
chmod 0777, 'run-workflow.sh';
$self->samples(["\$SAMPLE"]);
};
=head3 write_process
Fill in the template with the process
Ensure INPUT/OUTPUT exist
( run in 0.615 second using v1.01-cache-2.11-cpan-496ff517765 )