ok, thanks - that helps us understand what you want to do, but I'm still unclear about what you are trying to achieve - eg I have no clue what kinds of files are you hoping to 'upload together' or what you want your users to be able to do with them once they're uploaded. Those details make a huge difference - uploading a tar file is presumably just the beginning of some more complex process since it's not a very useful activity by itself. As an as yet uninformed guess, you might find the new external API useful for scripting uploads directly into Galaxy libraries - the code and examples are in [your galaxy root]/scripts/api - so you could script the uncompression and upload externally - without needing to add a new 'tar' datatype to Galaxy On Fri, Sep 24, 2010 at 10:17 AM, Kaiyu Shen <ks280007@ohio.edu> wrote:
I actually have replied to this thread but somehow it is not showing up. :( Sorry for all the inconvenience. Here is my problem: I wish to add a data format (tar file) to galaxy as a way to upload multiple files together (in one package ) and get it untarred and get multiple datasets in the following process. This is basically my question. Thanks for all your kind hearted reminding. Kaiyu
--On Friday, September 24, 2010 10:03 AM -0400 Ross <ross.lazarus@gmail.com> wrote:
Hi Kaiyu,
There are lots of people reading this list who could probably help, but like most other mailing lists, you need to provide enough information about what you specifically want to achieve for anyone reading your posts to be able to provide you with useful help. Your original post asked about "adding a data format (tar file) to galaxy". That might sound perfectly clear and straightforward to you as part of something you're working on, but unfortunately for the rest of us, the best answer depends on your specific goals and skills. For example, as Nate asked specifically:
Are you hoping to create a datatype for a tar file that does not get untarred and remains as a single file, or are do you want to add the ability to upload a tar file and have it untarred, creating >multiple datasets in the process?
Those two example possibilities would have different solutions - is either of those your goal or is it something else?
On Fri, Sep 24, 2010 at 9:37 AM, Kaiyu Shen <ks280007@ohio.edu> wrote:
Hi,Folks: Could someone give me some clues on how to solve this problem: adding a new data type of tar (for uncompressing in the following process)? Thanks _______________________________________________
-- Ross Lazarus MBBS MPH Associate Professor, Harvard Medical School Director of Bioinformatics, Channing Laboratory 181 Longwood Ave., Boston MA 02115, USA. Tel: +1 617 505 4850