Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
stat-lab authored Jun 28, 2023
1 parent 64dc1c5 commit 87e61a7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/run_SVcallers/run_batch_LSF.pl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ =head1 SYNOPSIS
my $non_human = 0;
my $run_svcaller_dir = '';

my $script_dir = '';
$script_dir = $1 if ($0 =~ /(.+)\//);
$run_svcaller_dir = $script_dir;

my @tools;

my %tool_opt;
Expand Down
4 changes: 4 additions & 0 deletions scripts/run_SVcallers/run_batch_slurm.pl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ =head1 SYNOPSIS
my $non_human = 0;
my $run_svcaller_dir = '';

my $script_dir = '';
$script_dir = $1 if ($0 =~ /(.+)\//);
$run_svcaller_dir = $script_dir;

my @tools;

my %tool_opt;
Expand Down
5 changes: 4 additions & 1 deletion scripts/run_SVcallers/run_single.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ =head1 SYNOPSIS
die "bam is not specified:\n" if ($bam eq '');
die "config file is not specified:\n" if ($config eq '');

my $script_dir = '';
$script_dir = $1 if ($0 =~ /(.+)\//);

my $bam_base = basename ($bam);
my $sample_name = $sample_dir_name if ($sample_dir_name ne '');
$sample_name = $1 if ($sample_dir_name eq '') and ($bam_base =~ /(.+?)\./);
Expand All @@ -43,7 +46,7 @@ =head1 SYNOPSIS
my $ref = '';
my $target_chr = 'ALL';
my $non_human = 0;
my $run_svcaller_dir = '';
my $run_svcaller_dir = $script_dir;

my @tools;

Expand Down

0 comments on commit 87e61a7

Please sign in to comment.