Question: Headers In Tabular Datatypes
0
gravatar for James Casbon
9.3 years ago by
James Casbon370
James Casbon370 wrote:
Deaf galaxy-user, So you can have tabular datasets, and you can add a datatype that subclasses tabular and adds column definitions. Is there a way of using tabular data with column headings without defining the datatype, i.e. getting galaxy to recognise that first line is a header and should be used as column titles? thanks, James
galaxy • 792 views
ADD COMMENTlink modified 9.2 years ago by Greg Von Kuster840 • written 9.3 years ago by James Casbon370
0
gravatar for Greg Von Kuster
9.2 years ago by
Greg Von Kuster840 wrote:
Hello James, The Tabular data type does not allow for this as it would be very difficult to enforce consistency across datasets. Many tabular datasets include proper headers ( start with a "#" character ), while many do not. However, many formats sub-class Tabular, and probably the best way to do this would be to introduce support for a new datatype in your local instance that is a subclass of Tabular that provides this functionality. Greg Von Kuster Galaxy Development Team
ADD COMMENTlink written 9.2 years ago by Greg Von Kuster840
2009/9/1 Greg Von Kuster <ghv2@psu.edu>: Thanks, Greg. So you do think it is possible? I have tried to understand the datatype by looking at: http://bitbucket.org/galaxy/galaxy-central/wiki/AddingDatatypes and reading the code. I am now very confused - when should you use init_meta and set_meta, or a MetaDataElement ? It looks like MetaDataElements are class definitions, so to what extent can you change metadata on an instance?
ADD REPLYlink written 9.2 years ago by James Casbon370
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 169 users visited in the last hour