NAME

TAIR::GeneDescriptions - Automatically download gene descriptions using locus identifiers (AGI codes) or gene names.

VERSION

Version 1.00

SYNOPSIS

Automatically download gene descriptions using locus identifiers (AGI codes) or gene names. (http://www.arabidopsis.org/tools/bulk/genes/index.jsp)

    	use TAIR::GeneDescriptions;
	my $TB = TAIR::GeneDescriptions->new();
	my $verbose = "1";
	my $input_file = "input_file.txt";
	my $output_file = "output_file.txt";
	my ($input_file_hn);
	
	open($input_file_hn, "<", $input_file) or die("Cannot open $input_file for reading: $!");
	while (<$input_file_hn>)
		{
			chomp;
			my $query = $_;
			$TB->connect($query,$verbose);	
		}
	
	$TB->write($output_file);

SUBROUTINES/METHODS

new

Object-oriented master-hash!

connect

Parameters, do not mess with them unless you know what you are doing.

write

This subroutine handles output of the program, it writes the results into a specified file name.

AUTHOR

Haktan Suren, <hsuren at cpan.org>

BUGS

Please report any bugs or feature requests to bug-tair-genedescriptions at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TAIR-GeneDescriptions. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc TAIR::GeneDescriptions

You can also look for information at:

DEPENDENCIES

LWP::UserAgent
HTTP::Request::Common

ACKNOWLEDGEMENTS

Special thanks to LC :)

LICENSE AND COPYRIGHT

Copyright 2011 Haktan Suren.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.