Mercurial > repos > jvolkening > nanopore_qc
annotate yaml_to_html.pl @ 2:5c7848b91964 draft default tip
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit efc73adf2038b9c6504c60f35202e91dbc7f4d48-dirty
author | jvolkening |
---|---|
date | Sat, 02 Mar 2024 05:33:33 +0000 |
parents | e0006d8bf849 |
children |
rev | line source |
---|---|
0
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
1 #!/usr/bin/env perl |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
2 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
3 use strict; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
4 use warnings; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
5 use 5.012; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
6 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
7 use YAML::XS qw/LoadFile/; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
8 use MIME::Base64; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
9 use autodie; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
10 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
11 my ($fn_yaml, $dir_in, $fn_out) = @ARGV; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
12 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
13 die "Can't find or read input file: $!\n" |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
14 if (! -r $fn_yaml); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
15 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
16 # set output filehandle based on arguments |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
17 my $fh = \*STDOUT; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
18 if (defined $fn_out) { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
19 open $fh, '>', $fn_out; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
20 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
21 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
22 my $yaml = LoadFile($fn_yaml); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
23 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
24 convert($yaml, $dir_in); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
25 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
26 sub convert { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
27 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
28 my ($yaml) = @_; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
29 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
30 print {$fh} header(); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
31 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
32 say {$fh} " <h3>Summary statistics</h3>"; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
33 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
34 for my $grp (sort keys %$yaml) { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
35 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
36 my $ref = $yaml->{$grp}; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
37 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
38 next if (! ref $ref); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
39 next if (! defined $ref->{'total.gigabases'}); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
40 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
41 print {$fh} <<"CONTENT" |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
42 <table> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
43 <caption>$grp</caption> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
44 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
45 <td>Total Yield (Gb)</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
46 <td>$ref->{'total.gigabases'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
47 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
48 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
49 <td>Total Reads</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
50 <td>$ref->{'total.reads'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
51 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
52 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
53 <td>Mean Length</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
54 <td>$ref->{'mean.length'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
55 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
56 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
57 <td>Median Length</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
58 <td>$ref->{'median.length'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
59 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
60 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
61 <td>Max Length</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
62 <td>$ref->{'max.length'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
63 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
64 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
65 <td>Mean Q</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
66 <td>$ref->{'mean.q'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
67 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
68 <tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
69 <td>Median Q</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
70 <td>$ref->{'median.q'}</td> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
71 </tr> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
72 </table> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
73 CONTENT |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
74 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
75 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
76 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
77 my %figs = ( |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
78 'length_histogram' => "Read length distribution", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
79 'q_histogram' => "Mean quality score distribution", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
80 'reads_per_hour' => "Yield over time", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
81 'cumulative_yield' => "Cumulative yield over time", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
82 'yield_summary' => "Yield by read length cutoff", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
83 'flowcell_overview' => "Median read quality per channel", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
84 'length_by_hour' => "Read length over time", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
85 'q_by_hour' => "Read quality over time", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
86 'length_vs_q' => "Read length vs. quality", |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
87 ); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
88 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
89 my @order = qw/ |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
90 length_histogram |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
91 q_histogram |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
92 reads_per_hour |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
93 cumulative_yield |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
94 yield_summary |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
95 flowcell_overview |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
96 length_by_hour |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
97 q_by_hour |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
98 length_vs_q |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
99 /; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
100 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
101 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
102 say {$fh} " <h3>QC plots</h3>"; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
103 say {$fh} " <p>(Click on plot for high-resolution version, or in Chrome \"Open link in new tab\")</p>"; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
104 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
105 for my $base (@order) { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
106 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
107 my $caption = $figs{$base} // die "No caption found for $base"; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
108 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
109 # Base64-encode images |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
110 my $fn_img_full = "$dir_in/$base.png"; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
111 my $fn_img_screen = "$dir_in/$base.screen.png"; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
112 die "Failed to find or read $fn_img_full" |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
113 if (! -r $fn_img_full); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
114 die "Failed to find or read $fn_img_screen" |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
115 if (! -r $fn_img_screen); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
116 my $img_full = encode($fn_img_full); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
117 my $img_screen = encode($fn_img_screen); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
118 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
119 print {$fh} <<"CONTENT" |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
120 <a href="data:image/png;base64,$img_full"> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
121 <figure> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
122 <img src="data:image/png;base64,$img_screen" alt="$base" /> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
123 <figcaption>$caption</figcaption> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
124 </figure> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
125 </a> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
126 CONTENT |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
127 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
128 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
129 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
130 print {$fh} footer(); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
131 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
132 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
133 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
134 sub encode { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
135 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
136 my ($fn) = @_; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
137 open my $in, '<:raw', $fn; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
138 local($/) = undef; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
139 return encode_base64(<$in>); |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
140 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
141 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
142 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
143 sub header { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
144 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
145 return <<'HEADER'; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
146 <?xml version="1.0" encoding="utf-8"?> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
147 <!DOCTYPE html> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
148 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
149 <head> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
150 <title></title> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
151 <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
152 <style> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
153 h2 { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
154 padding: 0.3em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
155 background-color: #000000; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
156 color: #ffffff; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
157 margin: 1em 0 2em 0; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
158 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
159 h3 { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
160 padding: 0em 0.2em 0em 0.2em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
161 color: #555555; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
162 border: solid 1px black; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
163 border-width: 0px 0px 1px 0px; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
164 margin: 2em 0 0.4em 0; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
165 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
166 tr { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
167 margin: 0; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
168 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
169 tr:nth-child(even) { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
170 background-color: #bbbbbb; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
171 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
172 tr:nth-child(odd) { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
173 background-color: #eeeeee; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
174 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
175 caption { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
176 text-align: left; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
177 font-weight: bold; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
178 background-color: #550000; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
179 color: #ffffff; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
180 padding: 0.1em 0.2em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
181 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
182 table { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
183 margin: 1em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
184 padding: 0.3em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
185 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
186 td { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
187 margin: 0; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
188 padding: 0 0.4em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
189 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
190 tr td:nth-child(1) { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
191 color: #550000; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
192 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
193 figure { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
194 display: table; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
195 margin: 2em 0; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
196 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
197 figcaption { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
198 display: table-caption; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
199 caption-side: top; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
200 font-size: 1.1em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
201 text-decoration: none; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
202 text-align: center; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
203 font-weight: bold; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
204 background-color: #550000; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
205 color: #ffffff; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
206 padding: 0.1em 0.2em; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
207 margin: 2em 0 0.7em 0; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
208 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
209 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
210 </style> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
211 </head> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
212 <body> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
213 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
214 <h2>NanoporeQC Report</h2> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
215 HEADER |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
216 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
217 } |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
218 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
219 sub footer { |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
220 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
221 return <<'FOOTER'; |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
222 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
223 </body> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
224 </html> |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
225 FOOTER |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
226 |
e0006d8bf849
planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/nanopore_qc commit b99a7d95d62b95ececc9d808f5f183b9eb718f80-dirty
jvolkening
parents:
diff
changeset
|
227 } |