Scp upload

From Ucsbgalaxy
Revision as of 14:20, 15 November 2011 by Pankey (talk | contribs)
Jump to: navigation, search

Use scp (secure copy) to transfer datafiles to the FTP directory within Galaxy on knot. Once the files are transferred, you will see them listed under the 'Files uploaded via FTP:' when you select Get Data:Upload File tool.

1. In your unix terminal, navigate to the macroevolution directory which contains your file(s). Use scp to copy the file(s) to the appropriate directory on knot. For instance, to transfer the file 'datafile.fasta' to the Galaxy user 'yourname@lifesci.ucsb.edu':

  -bash-3.2$ scp datafile.fasta galaxy@knot.cnsi.ucsb.edu:/home/galaxy/galaxy-dist/database/ftp/yourname\@lifesci.ucsb.edu/

(Note that the @ character requires the preceeding escape character \ in the latter instance because this email address must be understood as the directory rather than an address.) You will be prompted to enter the galaxy password.

2. Using Galaxy from your browser, select the tool 'Upload File from your computer' under Get Data. You will see your scp'd files listed. Select the files you would like to upload and 'Execute'.