Tab2MAGE logo Module detail: Reporter.pm

NAME

ArrayExpress::Curator::Reporter.pm - a module providing some functions useful in generating reports.


SYNOPSIS

 use ArrayExpress::Curator::Report qw(datafile_consistency_table);
 
 print datafile_consistency_table( \@filelist );
 
=head1 DESCRIPTION

This is a simple module providing utility functions and regexp patterns used elsewhere in the Tab2MAGE package.


FUNCTIONS

datafile_consistency_table( \@filelist )

Given an arrayref of Datafile objects (see the ArrayExpress::Datafile manpage), returns a string representing a summary of files tabulated by hyb_identifier, reporting on presence or absence in the filesystem.

biomaterials_report( $HoH, $title, $fh )

Given a nested hashref of hashrefs (of indeterminate depth), a report title and an output filehandle, prints a report giving links between nodes in the hashref structure (recursively).

report_accumulated_errors( $HoH, $fh, $string )

Given a hashref of hashrefs keyed by filename and then by elements (e.g. duplicate feature identifiers), an output filehandle and an explanatory string, print a report.

format_description( $text, $fh )

Takes a text string and an output filehandle, and prints the string in lines of less than 80 chars, splitting words on whitespace.


AUTHOR

Tim Rayner (rayner@ebi.ac.uk), ArrayExpress team, EBI, 2008.

Acknowledgements go to the ArrayExpress curation team for feature requests, bug reports and other valuable comments.


SourceForge.net Logo