ca456d591851e7087d74ae037f4fdefc31d03828,src/pyscenic/scenic.py,,create_argument_parser,#,249

Before Change


    parser_motifs.add_argument("-n","--nomenclature",
                               type=str, default="HGNC",
                               help="The nomenclature used for the gene signatures.")
    parser_motifs.add_argument("-o", "--output",
                            type=argparse.FileType("w"), default=sys.stdout,
                            help="Output file/stream.")
    add_recovery_parameters(parser_motifs)
    add_annotation_parameters(parser_motifs)
    add_computation_parameters(parser_motifs)
    parser_motifs.set_defaults(func=find_motifs_command)

After Change


    parser_prune.add_argument("-o", "--output",
                            type=argparse.FileType("w"), default=sys.stdout,
                            help="Output file/stream, i.e. a table of enriched motifs and target genes (CSV).")
    parser_prune.add_argument("-n", "--no_pruning", action="store_const", const = "yes",
                              help="Do not perform pruning, i.e. find enriched motifs.")
    add_recovery_parameters(parser_prune)
    add_annotation_parameters(parser_prune)
    add_computation_parameters(parser_prune)
    add_module_parameters(parser_prune)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: aertslab/pySCENIC
Commit Name: ca456d591851e7087d74ae037f4fdefc31d03828
Time: 2018-03-20
Author: vandesande.bram@gmail.com
File Name: src/pyscenic/scenic.py
Class Name:
Method Name: create_argument_parser


Project Name: deeptools/HiCExplorer
Commit Name: 89fe23625b763d23abe87e94686c855867565b5a
Time: 2017-03-27
Author: fidel.ramirez@gmail.com
File Name: hicexplorer/hicBuildMatrix.py
Class Name:
Method Name: parse_arguments


Project Name: etal/cnvkit
Commit Name: 85400dbc865f2d8e632242153fa4576e711f104d
Time: 2016-10-05
Author: eric.talevich@gmail.com
File Name: cnvlib/commands.py
Class Name:
Method Name:


Project Name: EducationalTestingService/skll
Commit Name: d49c442fe77d3898a8e545692ccb7f39e40c2b1a
Time: 2013-03-18
Author: mheilman@ets.org
File Name: generate_predictions.py
Class Name:
Method Name: main