commit/galaxy-central: jgoecks: Be explicit about track type for Bed, Gff/Gff3/Gtf datatypes.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7b8beadc5221/ Changeset: 7b8beadc5221 User: jgoecks Date: 2013-04-19 18:28:32 Summary: Be explicit about track type for Bed, Gff/Gff3/Gtf datatypes. Affected #: 1 file diff -r 26d65c9289631a10b6f5913cd74a74112ea21dff -r 7b8beadc5221774104b396d34d069a41390bc553 lib/galaxy/datatypes/interval.py --- a/lib/galaxy/datatypes/interval.py +++ b/lib/galaxy/datatypes/interval.py @@ -354,7 +354,8 @@ class Bed( Interval ): """Tab delimited data in BED format""" file_ext = "bed" - data_sources = {"data": "tabix", "index": "summary_tree", "feature_search": "fli"} + data_sources = { "data": "tabix", "index": "summary_tree", "feature_search": "fli" } + track_type = Interval.track_type """Add metadata elements""" MetadataElement( name="chromCol", default=1, desc="Chrom column", param=metadata.ColumnParameter ) @@ -569,6 +570,7 @@ file_ext = "gff" column_names = [ 'Seqname', 'Source', 'Feature', 'Start', 'End', 'Score', 'Strand', 'Frame', 'Group' ] data_sources = { "data": "interval_index", "index": "summary_tree", "feature_search": "fli" } + track_type = Interval.track_type """Add metadata elements""" MetadataElement( name="columns", default=9, desc="Number of columns", readonly=True, visible=False ) @@ -787,6 +789,7 @@ valid_gff3_strand = ['+', '-', '.', '?'] valid_gff3_phase = ['.', '0', '1', '2'] column_names = [ 'Seqid', 'Source', 'Type', 'Start', 'End', 'Score', 'Strand', 'Phase', 'Attributes' ] + track_type = Interval.track_type """Add metadata elements""" MetadataElement( name="column_types", default=['str','str','str','int','int','float','str','int','list'], param=metadata.ColumnTypesParameter, desc="Column types", readonly=True, visible=False ) @@ -891,6 +894,7 @@ """Tab delimited data in Gtf format""" file_ext = "gtf" column_names = [ 'Seqname', 'Source', 'Feature', 'Start', 'End', 'Score', 'Strand', 'Frame', 'Attributes' ] + track_type = Interval.track_type """Add metadata elements""" MetadataElement( name="columns", default=9, desc="Number of columns", readonly=True, visible=False ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org