Skip to content

Commit

Permalink
tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Telatin (QIB) committed Nov 5, 2021
1 parent c940984 commit e451422
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bin/dadaist2
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ my $opt_metadata_separator = "\t";
my $opt_notify = 0;
my $opt_crosstalk = 0;
my $opt_seqfu = undef;
my $opt_skip_tree = 0;
my $opt_skip_tree = 0;

# FASTP Preprocess
# To be autocalculated:
Expand Down Expand Up @@ -156,10 +156,6 @@ my %dependencies = (
'exporter' => File::Spec->catfile($RealBin, 'dadaist2-exporter') . ' --version',
);

if (not $opt_skip_tree) {
$dependencies{'fasttree'} = 'fasttree 2>&1 | head -n 1 | cut -c 11-';
$dependencies{'clustalo'} = 'clustalo --version 2>&1';
}


my $parsed = GetOptions(
Expand Down Expand Up @@ -206,6 +202,12 @@ my $parsed = GetOptions(
) || die " Parameters error, type --help for more info.\n";

die " ERROR: Unexpected parameters: ", join(", ", @ARGV), "\n" if ($ARGV[0]);

if (not $opt_skip_tree) {
$dependencies{'fasttree'} = 'fasttree 2>&1 | head -n 1 | cut -c 11-';
$dependencies{'clustalo'} = 'clustalo --version 2>&1';
}

=pod
=head1 PARAMETERS
Expand Down

0 comments on commit e451422

Please sign in to comment.