Re: [galaxy-dev] .gz extension gets stripped off when uploading via data library Upload via filesystem paths but not via Get Data - Upload File

2012-01-20 Thread Peter Cock
On Fri, Jan 20, 2012 at 12:42 PM, Leandro Hermida soft...@leandrohermida.com wrote: Hello, We've created a new binary datatype for .fastq.gz files following the same methodology as the BAM files since we don't want our fasta.gz files to be gunzipped.  I added the appropriate code in upload.py

Re: [galaxy-dev] .gz extension gets stripped off when uploading via data library Upload via filesystem paths but not via Get Data - Upload File

2012-01-20 Thread Greg Von Kuster
Hello Leandro, I believe this behavior is due to the make_library_uploaded_dataset() method in the ~/lib/galaxy/web/controllers/library_common controller. The current method looks like this: def make_library_uploaded_dataset( self, trans, cntrller, params, name, path, type,

Re: [galaxy-dev] .gz extension gets stripped off when uploading via data library Upload via filesystem paths but not via Get Data - Upload File

2012-01-20 Thread Leandro Hermida
Hi Peter, Sorry I wasn't clear, the .gz gets stripped from the name in the Galaxy UI when you upload the files into a data library via the manage data libraries form. When you upload it via Get Data - Upload File the .gz is preserved which is what one would want since I am not having it gunzipped

Re: [galaxy-dev] .gz extension gets stripped off when uploading via data library Upload via filesystem paths but not via Get Data - Upload File

2012-01-20 Thread Leandro Hermida
Hi Greg, Ok this code change to library_common.py works, now when you use the data libraries menu to bring in .fastq.gz files it doesn't cut off the .gz thank you! best, Leandro On Fri, Jan 20, 2012 at 3:32 PM, Greg Von Kuster g...@bx.psu.edu wrote: Hello Leandro, I believe this behavior is