| 1 | =head1 NAME | ||
| 2 | |||
| 3 | CLIPSeqTools::Role::Option::Plot - Role to enable plot as command line option | ||
| 4 | |||
| 5 | =head1 SYNOPSIS | ||
| 6 | |||
| 7 | Role to enable plot as command line option | ||
| 8 | |||
| 9 | Defines options. | ||
| 10 | --plot call plotting script to create plots. | ||
| 11 | |||
| 12 | =cut | ||
| 13 | |||
| 14 | |||
| 15 | package CLIPSeqTools::Role::Option::Plot; | ||
| 16 | $CLIPSeqTools::Role::Option::Plot::VERSION = '1.0.0'; | ||
| 17 | |||
| 18 | ####################################################################### | ||
| 19 | ####################### Load External modules ##################### | ||
| 20 | ####################################################################### | ||
| 21 | use Modern::Perl; | ||
| 22 | use MooseX::App::Role; | ||
| 23 | |||
| 24 | |||
| 25 | ####################################################################### | ||
| 26 | #################### Load CLIPSeqTools plotting ################### | ||
| 27 | ####################################################################### | ||
| 28 | use CLIPSeqTools::PlotApp; | ||
| 29 | |||
| 30 | |||
| 31 | ####################################################################### | ||
| 32 | ####################### Command line options ###################### | ||
| 33 | ####################################################################### | ||
| 34 | option 'plot' => ( | ||
| 35 | is => 'rw', | ||
| 36 | isa => 'Bool', | ||
| 37 | documentation => 'call plotting script to create plots.', | ||
| 38 | ); | ||
| 39 | |||
| 40 | |||
| 41 | ####################################################################### | ||
| 42 | ######################## Interface Methods ######################## | ||
| 43 | ####################################################################### | ||
| 44 | sub validate_args {} | ||
| 45 | |||
| 46 | |||
| 47 | 1; |