ALBD
view release on metacpan or search on metacpan
utils/datasetCreator/fromMySQL/dbToTab.pl view on Meta::CPAN
#converts a mysql database to tab seperated readable by LBD
#command is of the form:
#`mysql <DB_NAME> -e "SELECT * FROM N_11 INTO OUTFILE '<OUTPUT_FILE>' FIELDS TERMINATED BY '\t' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n';"`
#
# the following line is an example using a database with cui co-occurrence
# counts from 1980 to 1984 with a window size of 1. The mysql database is
# called 1980_1984_window1, and the output matrix file is called
# 1980_1984_window1_data.txt
`mysql 1980_1984_window1 -e "SELECT * FROM N_11 INTO OUTFILE '1980_1984_window1_data.txt' FIELDS TERMINATED BY '\t' OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED BY '\n';"`;
utils/runDiscovery.pl view on Meta::CPAN
=head1 SYNOPSIS
This utility takes an lbd configuration file and outputs the results
of lbd
=head1 USAGE
Usage: umls-assocation.pl [OPTIONS] LBD_CONFIG_FILE
=head1 INPUT
=head2 LBD_CONFIG_FILE
Configuration file specifying the parameters of LBD.
See '../config/lbd' for an example
=head1 OPTIONS
Optional command line arguements
utils/runDiscovery.pl view on Meta::CPAN
to specify each time.
=head3 --debug
enter debug mode
=head3 --version
display the version number
=head1 OUTPUT
A file containing the results of LBD
=head1 SYSTEM REQUIREMENTS
=over
=item * Perl (version 5.16.5 or better) - http://www.perl.org
=item * UMLS::Interface - http://search.cpan.org/dist/UMLS-Interface
( run in 0.508 second using v1.01-cache-2.11-cpan-4e96b696675 )