Mercurial > repos > eric-rasche > circos
diff generate_links.py @ 9:e6440d0201f7 draft default tip
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
author | eric-rasche |
---|---|
date | Fri, 30 Jun 2017 06:48:38 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/generate_links.py Fri Jun 30 06:48:38 2017 -0400 @@ -0,0 +1,14 @@ +import random + +for i in range(50): + a = random.randint(0, 45000) + b = random.randint(0, 6000) + print(' '.join(map(str, [ + 'ctgA', + a, + a + random.randint(0, 5000), + 'ctgB', + b, + b + random.randint(0, 79), + 'value=%s' % random.randint(0, 1000), + ])))