コード例 #1
0
def get_argument_parser():
    """Function to obtain the argument parser.

    Returns
    -------
    A fully configured `argparse.ArgumentParser` object.

    Notes
    -----
    This function is used by the `sphinx-argparse` extension for sphinx.
    """
    desc = 'Extract all exon annotations of protein-coding genes.'
    parser = get_gtf_argument_parser(desc, default_field_name='exon')
    return parser
def get_argument_parser():
    """Function to obtain the argument parser.

    Returns
    -------
    A fully configured `argparse.ArgumentParser` object.

    Notes
    -----
    This function is used by the `sphinx-argparse` extension for sphinx.
    """
    desc = 'Extract all exon annotations of protein-coding genes.'
    parser = get_gtf_argument_parser(desc, default_field_name = 'exon')
    return parser
コード例 #3
0
def get_argument_parser():
    """Function to obtain the argument parser.

    Returns
    -------
    A fully configured `argparse.ArgumentParser` object.

    Notes
    -----
    This function is used by the `sphinx-argparse` extension for sphinx.

    """
    desc = 'Extract gene IDs and symbols from Ensembl GTF file.'
    parser = get_gtf_argument_parser(desc)
    return parser
コード例 #4
0
def get_argument_parser():
    """Function to obtain the argument parser.

    Returns
    -------
    A fully configured `argparse.ArgumentParser` object.

    Notes
    -----
    This function is used by the `sphinx-argparse` extension for sphinx.

    """
    desc = 'Extract gene IDs and symbols from Ensembl GTF file.'
    parser = get_gtf_argument_parser(desc)
    return parser