acfcce3331c3148df9f98cfc27704bb06ae08a77,clairvoyante/evaluate.py,,,#,110
Before Change
logging.info("\t".join([str(ed[i][j]) for j in range(6)]))
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description="Evaluate trained Clairvoyante model" )
parser.add_argument("--bin_fn", type=str, default = None,
help="Binary tensor input generated by tensor2Bin.py, tensor_fn, var_fn and bed_fn will be ignored")
parser.add_argument("--tensor_fn", type=str, default = "vartensors",
help="Tensor input")
parser.add_argument("--var_fn", type=str, default = "truthvars",
help="Truth variants list input")
parser.add_argument("--bed_fn", type=str, default = None,
help="High confident genome regions input in the BED format")
parser.add_argument("--chkpnt_fn", type=str, default = None,
help="Input a checkpoint for testing")
parser.add_argument("--v3", type=param.str2bool, nargs="?", const=True, default = True,
help="Use Clairvoyante version 3")
parser.add_argument("--v2", type=param.str2bool, nargs="?", const=True, default = False,
help="Use Clairvoyante version 2")
parser.add_argument("--slim", type=param.str2bool, nargs="?", const=True, default = False,
help="Train using the slim version of Clairvoyante, optional")
args = parser.parse_args()
if len(sys.argv[1:]) == 0:
parser.print_help()
sys.exit(1)
Run(args)
After Change
Run(args)
if __name__ == "__main__":
main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 52
Instances
Project Name: aquaskyline/Clairvoyante
Commit Name: acfcce3331c3148df9f98cfc27704bb06ae08a77
Time: 2018-08-20
Author: aquaskyline@gmail.com
File Name: clairvoyante/evaluate.py
Class Name:
Method Name:
Project Name: aquaskyline/Clairvoyante
Commit Name: acfcce3331c3148df9f98cfc27704bb06ae08a77
Time: 2018-08-20
Author: aquaskyline@gmail.com
File Name: clairvoyante/evaluate.py
Class Name:
Method Name:
Project Name: aquaskyline/Clairvoyante
Commit Name: acfcce3331c3148df9f98cfc27704bb06ae08a77
Time: 2018-08-20
Author: aquaskyline@gmail.com
File Name: clairvoyante/calTrainDevDiff.py
Class Name:
Method Name:
Project Name: aquaskyline/Clairvoyante
Commit Name: acfcce3331c3148df9f98cfc27704bb06ae08a77
Time: 2018-08-20
Author: aquaskyline@gmail.com
File Name: clairvoyante/evaluateListOfModels.py
Class Name:
Method Name: