Advertisement
Guest User

biostar doctest

a guest
Apr 27th, 2010
165
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. """
  3. given a list of start-end chromosomal coordinates, gives the unique and common regions.
  4.  
  5. >>> case1 = [(100, 200),    # unique
  6.            (300, 400),     # common with the next one
  7.            (350, 450),     # common with the previous
  8.            (450, 550)]     # unique, careful with the overlapping base
  9.  
  10. >>> get_unique_and_common(case1)
  11. uniques:
  12.    (100, 200)
  13.    (450, 550)
  14. common:
  15.    (300, 400)
  16.    (350, 450)
  17. """
  18.  
  19. # your code here (any programming language)
  20.  
  21.  
  22. if __name__ == '__main__':
  23.     pass
Advertisement
RAW Paste Data Copied
Advertisement