PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/galaxy/datatypes/chrominfo.py

https://bitbucket.org/cistrome/cistrome-harvard/
Python | 10 lines | 7 code | 3 blank | 0 comment | 0 complexity | 07011eb20b38aa9de72b37df058b40cb MD5 | raw file
 1from tabular import Tabular
 2from galaxy.datatypes import metadata
 3from galaxy.datatypes.metadata import MetadataElement
 4
 5
 6class ChromInfo( Tabular ):
 7    file_ext = "len"
 8    MetadataElement( name="chrom", default=1, desc="Chrom column", param=metadata.ColumnParameter )
 9    MetadataElement( name="length", default=2, desc="Length column", param=metadata.ColumnParameter )
10