|
1 | | -#!/usr/bin/perl -w |
| 1 | +#!/usr/bin/env perl |
| 2 | + |
| 3 | +########## LICENCE ########## |
| 4 | +# Copyright (c) 2022 Genome Research Ltd |
| 5 | +# |
| 6 | +# Author: CASM/Cancer IT <cgphelp@sanger.ac.uk> |
| 7 | +# |
| 8 | +# This file is part of NanoSeq. |
| 9 | +# |
| 10 | +# This program is free software: you can redistribute it and/or modify |
| 11 | +# it under the terms of the GNU Affero General Public License as |
| 12 | +# published by the Free Software Foundation, either version 3 of the |
| 13 | +# License, or (at your option) any later version. |
| 14 | +# |
| 15 | +# This program is distributed in the hope that it will be useful, |
| 16 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | +# GNU Affero General Public License for more details. |
| 19 | +# |
| 20 | +# You should have received a copy of the GNU Affero General Public License |
| 21 | +# along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 22 | +# |
| 23 | +# 1. The usage of a range of years within a copyright statement contained within |
| 24 | +# this distribution should be interpreted as being equivalent to a list of years |
| 25 | +# including the first and last year specified and all consecutive years between |
| 26 | +# them. For example, a copyright statement that reads ‘Copyright (c) 2005, 2007- |
| 27 | +# 2009, 2011-2012’ should be interpreted as being identical to a statement that |
| 28 | +# reads ‘Copyright (c) 2005, 2007, 2008, 2009, 2011, 2012’ and a copyright |
| 29 | +# statement that reads ‘Copyright (c) 2005-2012’ should be interpreted as being |
| 30 | +# identical to a statement that reads ‘Copyright (c) 2005, 2006, 2007, 2008, |
| 31 | +# 2009, 2010, 2011, 2012’. |
| 32 | +########################### |
2 | 33 |
|
3 | 34 | use strict; |
4 | 35 | use List::Util qw(min); |
|
0 commit comments