Revision f6788175a4e154a1088c740eb558a82910828aa3 authored by Eddie Belter on 12 September 2012, 21:39:02 UTC, committed by Scott Smith on 13 September 2012, 21:39:08 UTC
1 parent 2067478
gmt5.10
#!/usr/bin/env genome-perl5.10
use strict;
use warnings;
BEGIN {
# This allows the gmt command to self-serve as a tab completer for the bash shell.
# When "gmt" is run by bash as a tab completer, the code below will service the
# tab-completion request and then exit before doing any real work.
# The code is in an eval to prevent problems on systems which do not have Getopt::Complete
# installed. The code is in a BEGIN block to ensure it still runs before anything else.
if ($ENV{COMP_CWORD}) {
eval "use Getopt::Complete::Cache class => 'Genome::Model::Tools', above => 1;";
exit if ($@);
}
if ($ENV{COMP_LINE}) {
#for transitioning from older version of completion
#just return no result
exit;
}
};
use above 'Genome';
use Genome::Model::Tools;
Genome::Model::Tools->execute_with_shell_params_and_exit();
=pod
=head1 NAME
gmt - bioinformatics tools for genomics
=head1 SYNOPSIS
# get a top-level list
gmt
# see the MuSiC tools
gmt music
# run the MuSiC smg-test tool
gmt music smg-test
=head1 DESCRIPTION
The B<gmt> command gives command-line access to any Genome Model Tools modules
which are installed on the current system.
Each installed tool group is a sub-command.
Just type B<gmt> and press <ENTER> for a the top-level list and drill down.
=head1 DEVELOPMENT
Installing any new Perl module with a name starting with Genome::Model::Tools will add to the tree.
=head1 AUTHORS
This software is developed by the analysis and engineering teams at
The Genome Center at Washington Univiersity in St. Louis, with funding from
the National Human Genome Research Institute.
=head1 LICENSE
This software is copyright Washington University in St. Louis, 2007-2010.
It is released under the Lesser GNU Public License (LGPL) version 3. See the
associated LICENSE file in this distribution.
=head1 BUGS
For defects with any software in the genome namespace,
contact genome-dev ~at~ genome.wustl.edu.
=cut
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...