source: orange-bioinformatics/docs/reference-html/mirnaExample1.py @ 1662:427f1876f3e6

Revision 1662:427f1876f3e6, 355 bytes checked in by mitar, 2 years ago (diff)

Revamped documentation.

Line 
1import random
2import obimiRNA
3
4miRNAs = obimiRNA.ids()
5
6print 'miRNA name\tAccession_Number\t\tSequence\t\tPre-forms\n'
7for m in random.sample(miRNAs, 10):
8    accession = obimiRNA.get_info(m).matACC
9    sequence = obimiRNA.get_info(m).matSQ
10    preForms = obimiRNA.get_info(m).pre_forms
11    print '%s\t%s\t\t%s\t\t%s' % (m, accession, sequence, preForms)
Note: See TracBrowser for help on using the repository browser.