Skip to content

Commit

Permalink
Merge pull request #47 from wtsi-npg/devel
Browse files Browse the repository at this point in the history
release 0.09
  • Loading branch information
dozy committed Oct 23, 2014
2 parents 6565a0a + 1d543e4 commit 6b33edc
Show file tree
Hide file tree
Showing 16 changed files with 59 additions and 514 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Build*
MYMETA*
_build/
blib/
*~

25 changes: 10 additions & 15 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,9 @@ my $class = Module::Build->subclass(code => <<'EOF');
sub process_data_files {
`cp -av data blib`;
return;
}
sub ACTION_install {
my $self = shift;
$self->SUPER::ACTION_install;
my $lib = $self->install_base() .'/lib';
if (-d $lib) {
`rm -frv $lib`;
}
}
sub ACTION_code {
my $self = shift;
Expand Down Expand Up @@ -68,6 +58,12 @@ my $builder = $class->new(
'ExtUtils::CBuilder' => 0
},

'build_requires' => {
'English' => 0,
'Test::More' => 0,
'Test::Compile' => 0,
},

'requires' => {
'Carp' => 0,
'Cwd' => 0,
Expand All @@ -80,11 +76,10 @@ my $builder = $class->new(
'JSON' => 0,
'List::MoreUtils' => 0,
'POSIX' => 0,
'Readonly' => 0
},

'build_requires' => {
'ExtUtils::CBuilder' => 0
'Readonly' => 0,
'strict' => 0,
'Storable' => 0,
'warnings' => 0,
},

'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz', }
Expand Down
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CHANGES LOG
-----------

release 0.09
-install action should not remove lib directory at target
3 changes: 2 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
bin/viv.pl
bin/vtfp.pl
Build.PL
Changes
data/bwamem_wtsi_stage2_template.vtf
data/snap_sample_template.vtf
data/tophat2_wtsi_realign_template.vtf
data/tophat2_wtsi_stage2_template.vtf
examples/bwa_aln_cfg.png
examples/bwa_mem/bwa_mem_alignment.vtf
Expand All @@ -23,6 +23,7 @@ README
README.vtfp
t/data/simple_failing_pipeline.vtf
t/data/simple_pipeline.vtf
t/00-scripts_compile.t
visualisation/bwa_aln.cfg
visualisation/bwa_aln.json
visualisation/config_view.html
Expand Down
7 changes: 2 additions & 5 deletions bin/viv.pl
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
#!/usr/bin/env perl

use strict;

use warnings;
use Carp;
use File::Slurp;
use JSON;

use POSIX;
use File::Temp qw/ tempdir /;
use Getopt::Std;
use Readonly;

use Carp;

use Data::Dumper;

our $VERSION = '0';
Expand Down
10 changes: 4 additions & 6 deletions bin/vtfp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@
########################################################################################################

use strict;

use warnings;
use Carp;
use Readonly;
use Getopt::Long;
use Data::Dumper;
use File::Which qw(which);
use List::MoreUtils qw(any);
use Cwd qw(abs_path);
use File::Slurp;
use JSON;

use Storable 'dclone';
use Carp;
use Readonly;


our $VERSION = '0';

Expand Down Expand Up @@ -386,7 +385,6 @@ sub resolve_subst_to_string {
$attrib_name ||= "element $elem_index";
my $subst_param_name = $subst_param->{param_name};
my $parent_id = $subst_param->{parent_id};
my $parent_id = $subst_param->{parent_id};
$parent_id ||= q[NO_PARENT_ID]; # should be ARRAY?

if($subst_param->{required} and not $query_mode) { # required means "must be specified by the caller", so default value is disregarded
Expand Down
6 changes: 3 additions & 3 deletions data/bcl2bam_phix_deplex_wtsi_stage1_template.vtf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"required":"yes",
"subst_constructor":{
"vals":[
{"subst_param_name":"java_cmd","required":"no","default":"/software/jdk1.7.0_25/bin/java"},
{"subst_param_name":"java_cmd","required":"no","default":"java"},
"-Xmx1024m",
"-jar",{"subst_param_name":"illumina2bam_jar","required":"no","default":"/software/npg/java_jars/Illumina2bam.jar"},
{"subst_param_name":"i2b_intensity_flag",
Expand Down Expand Up @@ -115,7 +115,7 @@
"required":"yes",
"subst_constructor":{
"vals":[
{"subst_param_name":"java_cmd","required":"no","default":"/software/jdk1.7.0_25/bin/java"},
{"subst_param_name":"java_cmd","required":"no","default":"java"},
"-Xmx1024m",
"-jar",{"subst_param_name":"bamindexdecoder_jar","required":"no","default":"/software/npg/java_jars/BamIndexDecoder.jar"},
"I=/dev/stdin",
Expand All @@ -141,7 +141,7 @@
"required":"yes",
"subst_constructor":{
"vals":[
{"subst_param_name":"splitter_cmd","required":"no","default":"/software/solexa/pkg/samtools/samtools-1.1/samtools"},
{"subst_param_name":"samtools_cmd","required":"no","default":"samtools"},
"split",
"-f",
{"subst_param_name":"split_format", "required":"no",
Expand Down
10 changes: 5 additions & 5 deletions data/bwamem_wtsi_stage2_template.vtf
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@
"required":"yes",
"subst_constructor":{
"vals":[
{"subst_param_name":"java_cmd","required":"no","default":"/software/jdk1.7.0_25/bin/java"},
{"subst_param_name":"java_cmd","required":"no","default":"java"},
"-Xmx1000m",
"-jar", {"subst_param_name":"alignment_filter_jar","required":"no",
"subst_constructor":{
Expand Down Expand Up @@ -556,8 +556,8 @@
"required":"yes",
"subst_constructor":{
"vals":[
"bamstreamingmarkduplicates ",
"level=0 ",
{"subst_param_name":"bmd_cmd","required":"no","default":"bammarkduplicates2"},
" level=0 ",
"verbose=0 ",
"M=",
{"subst_param_name":"outdatadir","required":"no","default":"."},
Expand Down Expand Up @@ -627,8 +627,8 @@
"required":"yes",
"subst_constructor":{
"vals":[
"bamstreamingmarkduplicates ",
"level=0 ",
{"subst_param_name":"bmd_cmd","required":"no","default":"bammarkduplicates2"},
" level=0 ",
"verbose=0 ",
"M=",
{"subst_param_name":"outdatadir","required":"no","default":"."},
Expand Down
Loading

0 comments on commit 6b33edc

Please sign in to comment.