Difference between revisions of "Scp upload"

From Ucsbgalaxy
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
 
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.   
 
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':
+
For instance, to transfer the file 'datafile.fasta' to the Galaxy user - explained in [[The very basics]] 'yourname@lifesci.ucsb.edu' or whatever your galaxy2 user name is 'yourlogin@gmail.com':
  
   -bash-3.2$ scp datafile.fasta galaxy@knot.cnsi.ucsb.edu:/home/galaxy/galaxy-dist/database/ftp/yourname\@lifesci.ucsb.edu/
+
   -bash-3.2$ scp datafile.fasta galaxy2@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.)
 
(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.)

Latest revision as of 17:32, 2 September 2016

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 - explained in The very basics 'yourname@lifesci.ucsb.edu' or whatever your galaxy2 user name is 'yourlogin@gmail.com':

  -bash-3.2$ scp datafile.fasta galaxy2@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'.