Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stat #489

Merged
merged 6 commits into from
Sep 12, 2024
Merged

Stat #489

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions bin/agat_sp_statistics.pl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
my $gff = undef;
my $opt_output = undef;
my $opt_yaml = undef;
my $opt_percentile = 90;
my $opt_genomeSize = undef;
my $opt_plot = undef;
my $opt_verbose = 0;
Expand All @@ -23,6 +24,7 @@
'c|config=s' => \$config,
"h|help" => \$opt_help,
'o|output=s' => \$opt_output,
'percentile=i' => \$opt_percentile,
'yaml!' => \$opt_yaml,
'd|p' => \$opt_plot,
'v|verbose' => \$opt_verbose,
Expand Down Expand Up @@ -102,6 +104,7 @@
print "Compute statistics\n";
print_omniscient_statistics ({ input => $hash_omniscient,
genome => $opt_genomeSize,
percentile => $opt_percentile,
output => $out,
yaml => $opt_yaml,
distri => $opt_plot,
Expand Down Expand Up @@ -157,6 +160,10 @@ =head1 OPTIONS

File where will be written the result. If no output file is specified, the output will be written to STDOUT.

=item B<--percentile>

Integer - Percentile to compute. Default is 90.

=item B<--yaml>

Bolean - When this option is activated , a second output will be printed either in STDOUT if no output provided or in <output.yaml> (a .yaml suffix is added to the --output value provided)
Expand Down
4 changes: 4 additions & 0 deletions docs/tools/agat_sp_statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ agat_sp_statistics.pl --help

File where will be written the result. If no output file is specified, the output will be written to STDOUT.

- **--percentile**

Integer - Percentile to compute. Default is 90.

- **--yaml**

Bolean - When this option is activated , a second output will be printed either in STDOUT if no output provided or in <output.yaml> (a .yaml suffix is added to the --output value provided)
Expand Down
Loading
Loading