-
Notifications
You must be signed in to change notification settings - Fork 17
/
Build.PL
executable file
·140 lines (132 loc) · 6.46 KB
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
use strict;
use warnings;
use npg_tracking::util::build;
my $class = npg_tracking::util::build->subclass(code => <<'EOF');
sub process_data_files {
my $self = shift;
# Do not copy PNG images
`find data/config_files -type f -not -name '*.png' | cpio -pdv --quiet blib`;
return;
}
EOF
my $builder = $class->new(
'module_name' => 'npg_seq_pipeline',
'dist_author' => 'npg <[email protected]>',
'dist_version' => npg_tracking::util::build->git_tag(),
'dist_abstract' => 'Wellcome Sanger Institute pluggable pipeline for Illumina sequencing post processing and QC',
'license' => 'gpl',
'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz', },
'requires' => {
'perl' => 5.010,
'autodie' => 0,
'Carp' => 1.04,
'Cwd' => 0,
'Class::Load' => 0,
'Config::Any' => 0,
'Data::Dump' => 0,
'Date::Format' => 0,
'DateTime' => 0,
'English' => 1.02,
'File::Basename' => 0,
'File::Copy' => 0,
'File::Find' => 0,
'File::Path' => 0,
'File::Slurp' => 0,
'File::Spec' => 0,
'File::Spec::Functions' => 0,
'FindBin' => 0,
'Getopt::Long' => 2.37,
'Graph' => 0.9704,
'HTTP::Request' => 0,
'JSON' => 0,
'JSON::XS' => 0,
'JSON::Validator' => 0,
'lib' => 0,
'List::MoreUtils' => 0,
'List::Util' => 0,
'Log::Log4perl' => 0,
'Log::Dispatch::Syslog' => 2.70,
'Math::Random::Secure' => 0,
'MIME::Base64' => 0,
'Moose' => 0.93,
'Moose::Meta::Class' => 0,
'Moose::Role' => 0,
'Moose::Util::TypeConstraints' => 0,
'MooseX::AttributeCloner' => 0.17,
'MooseX::Getopt' => 0,
'MooseX::Singleton' => 0,
'MooseX::StrictConstructor' => 0,
'namespace::autoclean' => 0,
'Perl6::Slurp' => 0,
'POSIX' => 0,
'Pod::Usage' => 0,
'Readonly' => 1.03,
'strict' => 1.03,
'Sys::Filesystem::MountPoint' => 0,
'Try::Tiny' => 0,
'UUID' => 0,
'URI' => 0,
'warnings' => 1.05,
'YAML' => 0,
'YAML::XS' => 0,
'XML::LibXML' => 0,
'npg_common::roles::software_location' => 0,
'npg_tracking::data::reference::find' => 0,
'npg_tracking::data::reference::list' => 0,
'npg_tracking::data::primer_panel' => 0,
'npg_tracking::data::bait' => 0,
'npg_tracking::data::transcriptome' => 0,
'npg_tracking::data::gbs_plex' => 0,
'npg_tracking::glossary::run' => 0,
'npg_tracking::glossary::rpt' => 0,
'npg_tracking::glossary::composition::factory::rpt_list' => 0,
'npg_tracking::illumina::runfolder' => 0,
'npg_tracking::Schema' => 0,
'npg_tracking::util::types' => 0,
'npg_tracking::util::abs_path' => 0,
'npg_tracking::util::pipeline_config' => 0,
'npg_qc::Schema' => 0,
'npg_qc::autoqc::role::result' => 0,
'npg_qc::autoqc::qc_store' => 0,
'npg_qc::autoqc::constants' => 0,
'npg_qc::illumina::interop::parser' => 0,
'st::api::lims' => 0,
'st::api::lims::ml_warehouse' => 0,
'npg::samplesheet' => 0,
'WTSI::DNAP::Utilities::Loggable' => 0,
'WTSI::DNAP::Warehouse::Schema' => 0,
'WTSI::DNAP::Warehouse::Schema::Query::IseqFlowcell' => 0,
'WTSI::DNAP::Utilities::Loggable' => 0,
'WTSI::NPG::iRODS' => 0,
'WTSI::NPG::iRODS::Collection' => 0,
},
'build_requires' => {
'Data::Compare' => 0,
'Digest::MD5' => 0,
'File::Copy::Recursive' => 0,
'File::Temp' => 0,
'File::Which' => 0,
'IO::Compress::Bzip2' => 0,
'Moose::Util' => 0,
'Sys::Hostname' => 0,
'Test::Deep' => 0,
'Test::Exception' => 0,
'Test::Differences' => 0,
'Test::More' => '0.8',
'Test::Perl::Critic' => 0,
'Test::Trap' => 0,
'Test::Warn' => 0,
'npg_testing::db' => 0,
'npg_tracking::util::build' => 0,
'npg_tracking::glossary::composition::component::illumina' => 0,
'npg_tracking::glossary::composition' => 0,
},
);
if ($builder->install_base()) {
$builder->install_path('data' => join q{/}, $builder->install_base(), 'data');
$builder->add_build_element('data');
} else {
warn "WARNING: '--install_base' option is not given, 'data' element will not be installed\n\n";
}
$builder->create_build_script();
1;