[% # FOREACH row IN vep_data; '
'; row; '
'; END %] [% # PROCESS dumper.tt dump = params %] [% # PROCESS dumper.tt dump = results.samples.match %] [% # PROCESS dumper.tt dump = results.exon_ref %] [% # PROCESS dumper.tt dump = natural_sort([1,3,'d','a']) %]

vep results [[% results.vep_data.size || 0 %]] :: sample match failures [[% results.samples.no_match.size || 0 %]] :: ophans [[% results.orphans.size || 0 %]] :: new dataset

[% total = results.row_count; duration = results.runtime; %] Processed [% total || 0 %] accepted rows in [% duration | format('%.2f') %] seconds ([% total / duration | format('%.1f') %]/sec)

Sample results [[% results.samples.match.size %] samples]

[% IF params.sift %][% END %] [% IF params.polyphen %][% END %] [% FOREACH lab_number IN nsort_labno(results.samples.match.keys); # PROCESS dumper.tt dump = pair; location_data = results.samples.match.item(lab_number); # PROCESS dumper.tt dump = location_data; FOREACH pair IN location_data; # PROCESS dumper.tt dump = entry; location = pair.key; # PROCESS dumper.tt dump = location; result = pair.value; # PROCESS dumper.tt dump = result; vep_data = results.exon_ref.item(location); # PROCESS dumper.tt dump = vep; %] [% IF params.sift %][% END %] [% IF params.polyphen %][% END %] [% END; END %]
HMDS ref Exon Result Consequence ExistingSIFTPolyPhen
[% result.hmds_ref %] [% vep_data.exon.replace('%%', ' ') %] [% result.result %]% of [% result.read %] [% vep_data.consequence %] [% vep_data.existing %][% vep_data.sift %][% vep_data.polyphen %]

Sample match failures [[% results.samples.no_match.size %] samples]

[% FOREACH lab_number IN nsort_labno(results.samples.no_match.keys); # PROCESS dumper.tt dump = pair; location_data = results.samples.no_match.item(lab_number); # PROCESS dumper.tt dump = location_data; FOREACH pair IN location_data; # PROCESS dumper.tt dump = entry; location = pair.key; # PROCESS dumper.tt dump = location; result = pair.value; # PROCESS dumper.tt dump = result; vep_data = results.exon_ref.item(location); # PROCESS dumper.tt dump = vep; %] [% END; END %]
HMDS ref Exon Consequence Existing Other
[% result.hmds_ref %] [% vep_data.exon.replace('%%', ' ') %] [% vep_data.consequence %] [% vep_data.existing %] [% '? orphan' IF ( NOT vep_data.consequence AND NOT vep_data.existing ) %]

VEP results [[% results.vep_data.size %]]

[%# sift & poly order dependant on VEP::_prediction_and_score() %] [% IF params.sift %][% END %] [% IF params.polyphen %][% END %] [% FOREACH row IN results.vep_data %] [% FOREACH col IN row; IF loop.first; # exon ID - prevent wrapping: %] [% ELSE %][% END %] [% END %] [% END %]
ID Chr. Start End Allele Consequence AA Existing variationSIFTPolyPhenExtra
[% loop.count %][% col.replace('%%', ' ') %][% col | html %]

VEP orphans [[% results.orphans.size %]]

[% FOREACH row IN results.orphans %] [% END %]
ID Chr. Start End Allele
[% loop.count %] [% row.exon.replace('%%', ' ') %] [% row.chromosome %] [% row.start_point %] [% row.end_point %] [% row.allele %]