Mercurial > repos > jjohnson > cummerbund
comparison cummerbund_wrapper.py @ 1:6a9bc26ab8d9
Added cuffdata and cuffdatadb datatypes, cuffdiff multiselect outputs
| author | Jim Johnson <jj@umn.edu> |
|---|---|
| date | Mon, 08 Oct 2012 15:26:47 -0500 |
| parents | 8ba5f0460b1e |
| children | b0d11fcbc3ac |
comparison
equal
deleted
inserted
replaced
| 0:8ba5f0460b1e | 1:6a9bc26ab8d9 |
|---|---|
| 11 sys.exit() | 11 sys.exit() |
| 12 | 12 |
| 13 def html_report_from_directory( html_out, dir ): | 13 def html_report_from_directory( html_out, dir ): |
| 14 html_out.write( '<html>\n<head>\n<title>Galaxy - cummeRbund Output</title>\n</head>\n<body>\n<p/>\n<ul>\n' ) | 14 html_out.write( '<html>\n<head>\n<title>Galaxy - cummeRbund Output</title>\n</head>\n<body>\n<p/>\n<ul>\n' ) |
| 15 for fname in sorted( os.listdir( dir ) ): | 15 for fname in sorted( os.listdir( dir ) ): |
| 16 html_out.write( '<li><a href="%s">%s</a></li>\n' % ( fname, fname ) ) | 16 # html_out.write( '<li><a href="%s">%s</a></li>\n' % ( fname, fname ) ) |
| 17 html_out.write( '<li><a href="%s"><img src="%s" alt="" height="42" width="42">%s</a></li>\n' % ( fname, fname , fname ) ) | |
| 17 html_out.write( '</ul>\n</body>\n</html>\n' ) | 18 html_out.write( '</ul>\n</body>\n</html>\n' ) |
| 18 | 19 |
| 19 def __main__(): | 20 def __main__(): |
| 20 #Parse Command Line | 21 #Parse Command Line |
| 21 parser = optparse.OptionParser() | 22 parser = optparse.OptionParser() |
