Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- """
- given a list of start-end chromosomal coordinates, gives the unique and common regions.
- >>> case1 = [(100, 200), # unique
- (300, 400), # common with the next one
- (350, 450), # common with the previous
- (450, 550)] # unique, careful with the overlapping base
- >>> get_unique_and_common(case1)
- uniques:
- (100, 200)
- (450, 550)
- common:
- (300, 400)
- (350, 450)
- """
- # your code here (any programming language)
- if __name__ == '__main__':
- pass
Advertisement
RAW Paste Data
Copied
Advertisement