1. How do I transfer files using the URL? As a test I wanted to transfer a file to my local installation of Galaxy so I put in the location of the file on my Linux box. file:///home/bmladmin/demo_data-old/file.nii.gz<file:///\\home\bmladmin\demo_data-old\file.nii.gz> into the "Get Data" URL box. But it seems to think that this is code that I've pasted rather than a link to the file. Will it only work if it is proceeded by http? 2. Also, when uploading a file using "Get Data" it seems the file is renamed to dataset_'id'.dat in ~/database/files/000/. Is it possible for the file to keep its name rather than being renamed? Neil
When uploading a file using “Get Data” it seems the file is renamed to dataset_’id’.dat in ~/database/files/000/. Is it possible for the file to keep its name rather than being renamed? It seems this is being done because of the line ${output.dataset.dataset.id}:${output.files_path}:${file_name} in the upload.xml file. But I don't know where in the code it gets ${file_name} from. Any ideas how i change this to get the correct name of the file being uploaded? Neil
Hi Neil, You're looking for the option to "link to" data, which is explained here: http://wiki.g2.bx.psu.edu/Admin/Data%20Libraries/Uploading%20Library%20Files --nate On Aug 22, 2012, at 12:44 AM, <Neil.Burdett@csiro.au> wrote:
When uploading a file using “Get Data” it seems the file is renamed to dataset_’id’.dat in ~/database/files/000/. Is it possible for the file to keep its name rather than being renamed?
It seems this is being done because of the line
${output.dataset.dataset.id}:${output.files_path}:${file_name}
in the upload.xml file. But I don't know where in the code it gets ${file_name} from. Any ideas how i change this to get the correct name of the file being uploaded?
Neil
___________________________________________________________ The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server at usegalaxy.org. Please keep all replies on the list by using "reply all" in your mail client. For discussion of local Galaxy instances and the Galaxy source code, please use the Galaxy Development list:
http://lists.bx.psu.edu/listinfo/galaxy-dev
To manage your subscriptions to this and other Galaxy lists, please use the interface at:
participants (2)
-
Nate Coraor
-
Neil.Burdett@csiro.au