Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amend _alignment_command() to allow creation and interrogation of def… #542

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

dozy
Copy link
Member

@dozy dozy commented Dec 2, 2019

…initions and p4_params without requiring file creation

generate method's second parameter $mode can take three values:
GENERATE_MODE_DEFAULT => default, generate all files
GENERATE_MODE_NOWRITE => no files written by generate()
GENERATE_MODE_DRY_RUN => only composition files written by generate()

Example:
my $sa = npg_pipeline::function::seq_alignment->new(runfolder_path => q[runfolder], recalibrated_path => q[recal], repository => q[repository], conf_path => q[config],);
my $defs = $sa->generate(q[analysis], $npg_pipeline::function::seq_alignment::GENERATE_MODE_NOWRITE);
print join qq[\n], keys %{$sa->p4_params};

…initions and p4_params without requiring file creation

generate method's second parameter $mode can take three values:
  GENERATE_MODE_DEFAULT => default, generate all files
  GENERATE_MODE_NOWRITE => no files written by generate()
  GENERATE_MODE_DRY_RUN => only composition files written by generate()

Example:
 my $sa = npg_pipeline::function::seq_alignment->new(runfolder_path => q[runfolder], recalibrated_path => q[recal], repository => q[repository], conf_path => q[config],);
 my $defs = $sa->generate(q[analysis], $npg_pipeline::function::seq_alignment::GENERATE_MODE_NOWRITE);
 print join qq[\n], keys %{$sa->p4_params};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant