54320c314f235d369ef86bc9a6f2f5acf2526275,hicexplorer/hicMergeDomains.py,,main,#Any#,382

Before Change


    listOfDomains = []
    ctcfList = None
    if args.ctcfFile is not None:
        log.debug("ctcf: true")
        ctcfList = read_ctcf(args.ctcfFile)
        log.debug("ctcfList {}".format(ctcfList[:10]))

    mergedList = create_list_with_ctcf(args.domainFiles[0], args.minPeak, ctcfList)

After Change



    mergedList = create_list_with_protein(args.domainFiles[0], args.minPeak, proteinList)

    if len(args.domainFiles) > 1:
        for domain in args.domainFiles[1:]:
            listOfDomains.append(create_list_with_protein(domain, args.minPeak, proteinList))
        for domain in listOfDomains:
            mergedList = merge_list(mergedList, domain, pValue)

    mergedListWithId = add_id(mergedList)
    write_in_file(mergedListWithId, args.outputMergedList)
    if len(args.domainFiles) > 1:
        relationList = create_relationsship_list(mergedListWithId, args.percent)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: deeptools/HiCExplorer
Commit Name: 54320c314f235d369ef86bc9a6f2f5acf2526275
Time: 2020-06-22
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/hicMergeDomains.py
Class Name:
Method Name: main


Project Name: deepfakes/faceswap
Commit Name: bcf38b02cc7209d1baccd1302b5224f5faf2f00a
Time: 2021-01-31
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/train/model/_base.py
Class Name: _Inference
Method Name: _make_inference_model


Project Name: idank/explainshell
Commit Name: 1fffcec16578e6bea8de6e685632b3f56713a438
Time: 2013-09-07
Author: idankk86@gmail.com
File Name: explainshell/matcher.py
Class Name: matcher
Method Name: _mergeadjacent


Project Name: chartbeat-labs/textacy
Commit Name: e4f8240684e26ac16adc2de28bf79d4433c9788e
Time: 2019-05-18
Author: burtdewilde@gmail.com
File Name: textacy/cache.py
Class Name:
Method Name: load_spacy_lang