Skip to content

barcode overlap checking needs to limit overlap from start #16

@jinfengzou-uhn

Description

@jinfengzou-uhn

extract_barcode.py

for barcode in blist:
if sum([barcode in b for b in blist]) > 1:
overlap = True

"startswith" is better than "in": if sum([b.startswith(barcode) b for b in blist]) > 1
For example, ACG and TACG are not overlapped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions