Skip to content

Commit

Permalink
Merge f615262 into 1e109a6
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikstranneheim committed Dec 14, 2020
2 parents 1e109a6 + f615262 commit b49e035
Show file tree
Hide file tree
Showing 1,139 changed files with 2,783 additions and 14,732 deletions.
2 changes: 2 additions & 0 deletions .perlcriticrc
Expand Up @@ -9,6 +9,8 @@ lines = 100
functions = :builtins
exclude_functions = print say

[-Perl::Critic::Policy::Modules::RequireVersionVar]

## Perltidy has already been run with a diffrent slightlty modified rules
[-CodeLayout::RequireTidyCode]

6 changes: 2 additions & 4 deletions documentation/API/Tests.md
Expand Up @@ -53,8 +53,7 @@ use MIP::Program::Conda qw{conda_install};
#### Diagnose string
Change:
```Perl
diag( q{Test SUB_ROUTINE from MODULE_NAME.pm v}
. $MIP::PATH::TO::MODULE::VERSION
diag( q{Test SUB_ROUTINE from MODULE_NAME.pm}
. $COMMA
. $SPACE . q{Perl}
. $SPACE
Expand All @@ -64,8 +63,7 @@ diag( q{Test SUB_ROUTINE from MODULE_NAME.pm v}
```
To:
```Perl
diag( q{Test conda_install from Conda.pm v}
. $MIP::Program::Conda::VERSION
diag( q{Test conda_install from Conda.pm}
. $COMMA
. $SPACE . q{Perl}
. $SPACE
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Active_parameter.pm
Expand Up @@ -27,9 +27,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.34;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
add_gender
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Analysis.pm
Expand Up @@ -28,9 +28,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.28;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
broadcast_parameters
Expand Down
3 changes: 1 addition & 2 deletions lib/MIP/Check/Reference.pm
Expand Up @@ -22,8 +22,7 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.19;


# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Analyse.pm
Expand Up @@ -21,8 +21,6 @@ use Moose::Util::TypeConstraints;
use MIP::Cli::Utils qw{ run };

# Set the version for version checking
our $VERSION = 1.16;

extends(qw{ MIP::Cli::Mip });

command_short_description(q{MIP analyse command});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Analyse/Dragen_rd_dna.pm
Expand Up @@ -17,8 +17,6 @@ use Moose::Util::TypeConstraints;
## MIPs lib
use MIP::Main::Analyse qw{ mip_analyse };

our $VERSION = 1.20;

extends(qw{ MIP::Cli::Mip::Analyse });

command_short_description(q{Dragen rare disease DNA analysis});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Analyse/Rd_dna.pm
Expand Up @@ -16,8 +16,6 @@ use Moose::Util::TypeConstraints;
## MIPs lib
use MIP::Main::Analyse qw{ mip_analyse };

our $VERSION = 1.64;

extends(qw{ MIP::Cli::Mip::Analyse });

command_short_description(q{Rare disease DNA analysis});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Analyse/Rd_dna_panel.pm
Expand Up @@ -16,8 +16,6 @@ use Moose::Util::TypeConstraints;
## MIPs lib
use MIP::Main::Analyse qw{ mip_analyse };

our $VERSION = 1.13;

extends(qw{ MIP::Cli::Mip::Analyse });

command_short_description(q{Rare disease DNA analysis of panels});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Analyse/Rd_dna_vcf_rerun.pm
Expand Up @@ -16,8 +16,6 @@ use Moose::Util::TypeConstraints;
## MIPs lib
use MIP::Main::Analyse qw{ mip_analyse };

our $VERSION = 1.34;

extends(qw{ MIP::Cli::Mip::Analyse });

command_short_description(q{Rare disease DNA vcf rerun analysis});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Analyse/Rd_rna.pm
Expand Up @@ -16,8 +16,6 @@ use Moose::Util::TypeConstraints;
## MIPs lib
use MIP::Main::Analyse qw{ mip_analyse };

our $VERSION = 1.40;

extends(qw{ MIP::Cli::Mip::Analyse });

command_short_description(q{Rare disease RNA analysis});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Download.pm
Expand Up @@ -19,8 +19,6 @@ use MooseX::Types::Moose qw{ ArrayRef Bool HashRef Int Str };
use MIP::Definition qw{ get_parameter_from_definition_files };
use MIP::Main::Download qw{ mip_download };

our $VERSION = 1.05;

extends(qw{ MIP::Cli::Mip });

command_short_description(q{Generate bash or sbatch for download of references});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Install.pm
Expand Up @@ -22,8 +22,6 @@ use MIP::Definition qw{ get_parameter_from_definition_files };
use MIP::Get::Parameter qw{ get_install_parameter_attribute };
use MIP::Main::Install qw{ mip_install };

our $VERSION = 1.26;

extends(qw{ MIP::Cli::Mip });

command_short_description(q{MIP install command});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Qccollect.pm
Expand Up @@ -19,8 +19,6 @@ use MooseX::Types::Moose qw{ ArrayRef Bool HashRef Int Str };
## MIPs lib/
use MIP::Constants qw{ $NEWLINE };

our $VERSION = 1.02;

command_short_description(q{MIP qccollect command});

command_long_description(q{Entry point for collecting MIP QC metrics});
Expand Down
2 changes: 0 additions & 2 deletions lib/MIP/Cli/Mip/Vcfparser.pm
Expand Up @@ -26,8 +26,6 @@ use MIP::Constants qw{ %ANALYSIS $COLON $DASH $NEWLINE };
use MIP::Log::MIP_log4perl qw{ initiate_logger };
use MIP::Main::Vcfparser qw{ mip_vcfparser };

our $VERSION = 1.02;

command_short_description(q{MIP vcfparser command});

command_long_description(
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Cli/Utils.pm
Expand Up @@ -17,9 +17,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.02;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ run };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Cluster.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
use base qw{ Exporter };
require Exporter;

# Set the version for version checking
our $VERSION = 1.07;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
get_core_number
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Config.pm
Expand Up @@ -22,9 +22,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.07;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ check_cmd_config_vs_definition_file
get_install_containers
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Constants.pm
Expand Up @@ -19,9 +19,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.27;

# Functions and variables which can be optionally exported

our @EXPORT_OK = qw{
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Contigs.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.11;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
check_select_file_contigs
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Definition.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.06;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ check_definition_file
get_dependency_tree_from_definition_file
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Dependency_tree.pm
Expand Up @@ -23,9 +23,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.01;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ get_dependency_tree
get_dependency_tree_chain
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Download.pm
Expand Up @@ -21,9 +21,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.00;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ check_user_reference get_download_reference_attributes };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/Child_process.pm
Expand Up @@ -19,9 +19,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.01;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ child_process };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/Cluster.pm
Expand Up @@ -22,9 +22,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.00;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ check_max_core_number
check_recipe_memory_allocation
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/Container.pm
Expand Up @@ -22,9 +22,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.05;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
build_container_cmd
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/Executable.pm
Expand Up @@ -21,9 +21,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.14;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
build_binary_version_cmd
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/Manager.pm
Expand Up @@ -21,9 +21,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.01;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ get_env_method_cmds write_source_environment_command };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/Path.pm
Expand Up @@ -26,9 +26,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.05;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
get_conda_path
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Environment/User.pm
Expand Up @@ -21,9 +21,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.01;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ check_email_address };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/Fastq.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.05;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
casava_header_features
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Decompression.pm
Expand Up @@ -21,9 +21,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.05;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ decompress_files };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Dragen.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.00;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ create_dragen_fastq_list_sample_id };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Feature_file.pm
Expand Up @@ -23,9 +23,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.02;

# Functions and variables which can be optionally exported
our @EXPORT_OK =
qw{ parse_feature_file_data parse_feature_file_header read_feature_file set_vcf_header_info tree_annotations };
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Mip.pm
Expand Up @@ -18,9 +18,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.03;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Pli.pm
Expand Up @@ -22,9 +22,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.00;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ load_pli_file };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Star_fusion.pm
Expand Up @@ -23,9 +23,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.02;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ create_star_fusion_sample_file };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Vcf.pm
Expand Up @@ -22,9 +22,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.02;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
check_vcf_variant_line
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Format/Vep.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.00;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{ create_vep_synonyms_file };
}
Expand Down
3 changes: 0 additions & 3 deletions lib/MIP/File/Path.pm
Expand Up @@ -24,9 +24,6 @@ BEGIN {
require Exporter;
use base qw{ Exporter };

# Set the version for version checking
our $VERSION = 1.06;

# Functions and variables which can be optionally exported
our @EXPORT_OK = qw{
check_allowed_temp_directory
Expand Down

0 comments on commit b49e035

Please sign in to comment.