File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# !/usr/bin/perl
22# # Pombert JF, Illinois Tech - 2019
3- my $version = ' 1.1 ' ;
3+ my $version = ' 1.1a ' ;
44my $name = ' run_Mash.pl' ;
5- my $updated = ' 2021-03-14 ' ;
5+ my $updated = ' 2021-12-21 ' ;
66
77use strict; use warnings; use Getopt::Long qw( GetOptions) ;
88
3939);
4040
4141# # Checking if Mash is installed
42- my $prog = ` command -v mash` ;
42+ my $prog = ` echo \$ ( command -v mash) ` ;
4343chomp $prog ;
4444if ($prog eq ' ' ){
4545 die " \n ERROR: Cannot find Mash. Please install Mash in your \$ PATH\n\n " ;
Original file line number Diff line number Diff line change 11# !/usr/bin/perl
22# # Pombert Lab, IIT, 2019
33my $name = ' bam2fastq.pl' ;
4- my $version = ' 0.3b ' ;
5- my $updated = ' 2021-03-22 ' ;
4+ my $version = ' 0.3c ' ;
5+ my $updated = ' 2021-12-21 ' ;
66
77use strict; use warnings; use Getopt::Long qw( GetOptions) ; use File::Basename;
88
5353);
5454
5555# # Program + option check
56- my $samtools = ` command -v samtools` ;
56+ my $samtools = ` echo \$ ( command -v samtools) ` ;
5757chomp $samtools ;
5858if ($samtools eq ' ' ){
5959 die " \n ERROR: Cannot find Samtools. Please install Samtools in your path\n\n " ;
Original file line number Diff line number Diff line change 11# !/usr/bin/perl
22# # Pombert JF, Illinois Tech - 2020
3- my $version = ' 2.0 ' ;
3+ my $version = ' 2.0a ' ;
44my $name = ' get_SNPs.pl' ;
5- my $updated = ' 2021-03-16 ' ;
5+ my $updated = ' 2021-12-21 ' ;
66
77use strict; use warnings; use File::Basename; use Getopt::Long qw( GetOptions) ;
88
414414# sub to check if programs are installed
415415sub chkinstall{
416416 my $exe = $_ [0];
417- my $prog = ` command -v $exe ` ;
417+ my $prog = ` echo \$ ( command -v $exe ) ` ;
418418 chomp $prog ;
419419 if ($prog eq ' ' ){die " \n ERROR: Cannot find $exe . Please install $exe in your \$ PATH\n\n " ;}
420420}
You can’t perform that action at this time.
0 commit comments