bin/bioaln

filter: Statementstmt 100% 34 / 34 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod n/a totaltotal 95.8% 46 / 48 CC 1 SCAR 0.0
CC
1
Cov
95%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« bin/biotree ↑ Summary
1 #!/usr/bin/env perl
2  
3 29 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 29 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 29 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 29 ▶use Getopt::Long qw( :config bundling permute no_getopt_compat );
Subroutine BEGIN: called CC=1 SCAR=0.0
8 29 ▶use Pod::Usage;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 29 ▶use rlib '../lib';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 29 ▶use Pod::Usage;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 29 ▶use Bio::BPWrapper;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 29 ▶use Bio::BPWrapper::AlnManipulations;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 ################################################################################
16 # Option parsing
17 ################################################################################
18 29 my %opts;
19 29 ▶GetOptions(
Branch: 1 branch
BranchTrueFalseTotal
&GetOptions(\%opts, "help|h", "man", "avpid|a", "bootstrap|b", "codon-view|c:20", "delete|d=s", "nogaps|g", "input|i=s", "length|l", "match|m", "numseq|n", "output|o=s", "pick|p=s", "refseq|r=s", "slice|s=s", "split-cdhit=s", "uniq|u", "varsites|v", "window|w:30", "concat|A", "conblocks|B:6", "consensus|C:50", "dna2pep|D", "erasecol|E=s", "noflatname|F", "aln-index|I=s", "listids|L", "permute-states|M", "pep2dna|P=s", "resample|R:i", "shuffle-sites|S", "select-third", "remove-third", "uppercase", "gapstates", "gapstates2", "random-slice=i", "trimends", "bin-inform", "version|V", "binary", "phy-nonint") or pod2usage(2) 0 29 29
20 \%opts,
21 "help|h",
22 "man",
23 "avpid|a",
24 "bootstrap|b",
25 "codon-view|c:20", # Optional value, default 20
26 "delete|d=s",
27 "nogaps|g",
28 "input|i=s",
29 "length|l",
30 "match|m",
31 "numseq|n",
32 "output|o=s",
33 "pick|p=s",
34 "refseq|r=s",
35 "slice|s=s",
36 "split-cdhit=s",
37 "uniq|u",
38 "varsites|v",
39 "window|w:30",
40 "concat|A",
41 "conblocks|B:6",
42 "consensus|C:50",
43 "dna2pep|D",
44 "erasecol|E=s",
45 "noflatname|F",
46 "aln-index|I=s",
47 "listids|L",
48 "permute-states|M",
49 "pep2dna|P=s",
50 "resample|R:i", # Optional value, default is floor of num_sequences/2
51 "shuffle-sites|S",
52 "select-third",
53 "remove-third",
54 "uppercase", # make upper case (for DNAStatistics)
55 "gapstates",
56 "gapstates2",
57 "random-slice=i",
58 "trimends",
59 "bin-inform", # extract binary & informative sites (for clique): discard constant, 3/4-states, non-informative
60 "version|V",
61 "binary", # 0/1 for binary sites (for phylip lagacy programs)
62 "phy-nonint" # non-interleaved phylip (for e.g.,clique)
63 # "dnadist|D=s", # Needs fixing
64 # "inform|Z",
65 ) or pod2usage(2);
66  
67 29 ▶use constant PROGRAM => File::Basename::basename(__FILE__);
Subroutine BEGIN: called CC=1 SCAR=0.0
68 29 ▶Bio::BPWrapper::print_version(PROGRAM) if $opts{"version"};
Branch: 1 branch
BranchTrueFalseTotal
if $opts{"version"} 0 29 29
69  
70 29 initialize(\%opts);
71 29 write_out(\%opts);
72  
73 ################# POD Documentation ############
74  
75 __END__
« bin/biotree ↑ Summary