Mercurial > repos > eric-rasche > circos
annotate 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 |
rev | line source |
---|---|
9
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
1 import random |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
2 |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
3 for i in range(50): |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
4 a = random.randint(0, 45000) |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
5 b = random.randint(0, 6000) |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
6 print(' '.join(map(str, [ |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
7 'ctgA', |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
8 a, |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
9 a + random.randint(0, 5000), |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
10 'ctgB', |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
11 b, |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
12 b + random.randint(0, 79), |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
13 'value=%s' % random.randint(0, 1000), |
e6440d0201f7
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 7e335df423e3e06da3d33a5378a336a149e6cc6c
eric-rasche
parents:
diff
changeset
|
14 ]))) |