Hello Chris, I'm not quite sure adding a tool to Galaxy to compress data files is the best approach. The upload tool already handles compressed files, and retrieving compressed data from UCSC is also supported. For download, are you referring to the "save" link in the history item? This simply opens a file handle to the data, so it would have to be stored as compressed, which is currently not supported in many of the tools. Can you provide some more details about the scenarios you are attempting to cover with this ( i.e., are your users performing tasks that are not going well due to large file sizes )? Perhaps we can find a better solution for any problems you've encountered. Thanks Chris, Greg Von Kuster Galaxy Development Team Chris Cole wrote:
Hi,
I'm confused on how to add a new datatype. I've read the http://g2.trac.bx.psu.edu/wiki/AddingDatatypes wiki page, but it isn't clear what I need to do for a completely new type.
Specifically, I want to add a gzip tool to compress and uncompress files to help up/downloading of large files. I've added the following line to the datatypes_conf.xml: <datatype extension="gz" type="galaxy.datatypes.images:Gzip" mimetype="application/gzip" display_in_upload="true"/>
But I am stumped as to where I should add the additional information as per step 3. on the wiki page. Can someone help, please? BTW I do code, but not in python. Thanks,
Chris _______________________________________________ galaxy-user mailing list galaxy-user@bx.psu.edu http://mail.bx.psu.edu/cgi-bin/mailman/listinfo/galaxy-user