https://github.com/genome/genome
Revision 11e9b33a062aef75d5cf58eb738039ef97709b0e authored by Susanna Kiwala on 25 November 2015, 18:09:58 UTC, committed by Susanna Kiwala on 25 November 2015, 18:09:58 UTC
Make QC genotype VCF file an input to the SSG pipeline and use in verifyBamId
2 parent s b0de8e9 + 7e274c2
Raw File
Tip revision: 11e9b33a062aef75d5cf58eb738039ef97709b0e authored by Susanna Kiwala on 25 November 2015, 18:09:58 UTC
Merge pull request #1130 from susannasiebert/qc_framework_verify_bam_id_vcf
Tip revision: 11e9b33
gmt5.12
#!/usr/bin/env genome-perl5.12

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

back to top