gbgff can be invoked to retrieve a GFF dump of all features in a given segment; e.g.:
http://my-hostname.org/gb2/gbgff/mysource?q=chr1;t=gene
However, this returns all subfeatures as well. There are cases when, e.g., only parent "gene" features are desired, and mRNA/CDS/UTR/exon subfeatures, which make the output much more voluminous, are not. In this case, it would be nice to be able to specify an option (say, "no_subparts", after the Bio::Graphics::Glyph option) to suppress the display of subfeatures:
http://my-hostname.org/gb2/gbgff/mysource?q=chr1;t=gene;no_subparts=1
Attached is a patch to TrackDumper.pm that implements this functionality, which is activated when a "no_subparts=1" URL parameter is specified. It may be a cleaner design if this parameter is checked in the code that instantiates Bio::Graphics::Browser2::TrackDumper, as I see no other reference to the param() subroutine in TrackDumper.pm.
--
Nathan Weeks
IT Specialist
USDA-ARS
http://weeks.public.iastate.edu/