Data upload
Data upload
This page explains how to upload data files for DRA/GEA/DDBJ/MetaboBank to the DDBJ file server.
Host name and port number
- Hostname: ftp-private.ddbj.nig.ac.jp
- Port number: 22
Destination directories to upload
The destination directories are different with the databases. Do NOT create sub-directories under the destination directories of DRA and GEA.
- DRA: ~/<DRA submission ID> (for example, test07-0018)
- GEA: ~/gea/<GEA submission ID> (for example, ESUB000350)
- MSS: ~/mass Read the detailed description
- MetaboBank: ~/metabobank
Upload JGA data files to the different server.
Terminal
Linux/Mac OS X
Upload files by using scp.
Command format:
scp -i <Your private key> <Your Files> <D-way Login ID>@ftp-private.ddbj.nig.ac.jp:~/<Destination directory>
- <Your private key>: the private key for authentication which is pair of a public key registered to your D-way account. For example, ~/.ssh/id_rsa
- <Your Files>: Files to be uploaded.
For example, strainA_1.fastq, raw1.txt raw2.txt (raw1.txt and raw2.txt) and *.bam (files with bam extension specified by a wild card). - <D-way Login ID>: D-way Login ID. For example, test07.
- <Destination directory>: the destination directory.
For example, DRA: <DRA submission ID>, GEA: <GEA submission ID>, DDBJ: /mass and MetaboBank: /metabobank.
Example commands (DRA).
$ scp -i ~/.ssh/id_rsa strainA_1.fastq test07@ftp-private.ddbj.nig.ac.jp:~/test07-0018
Enter the passphrase (if setted for the key).
Enter passphrase for key '/home/you/.ssh/id_rsa':
You can directly handle the uploaded files by logging in the server.
SSH login the server by executing,
$ ssh -i <Your private key> <D-way Login ID>@ftp-private.ddbj.nig.ac.jp
Example commands.
$ ssh -i ~/.ssh/id_rsa test07@ftp-private.ddbj.nig.ac.jp
Enter the passphrase (if setted for the key).
Enter passphrase for key '/home/you/.ssh/id_rsa':
After logging in successfully, the following prompt is displayed.
[test07@at056 ~]$
The login environment is private for the submitter. Users other than the submitter cannot access the data.
Executable commands are restricted to the following ones. Users can delete unnecessary files.
ls cd cp mv rm more mkdir tar gzip gunzip bzip2 bunzip2 zip unzip
PowerShell (Windows)
This section explains how to upload files by commands using Windows PowerShell.
Searh and run “PowerShell” in the Windows start menu.
Upload files by scp.
Command format:
scp -i <Your openSSH-format private key> <Your Files> <D-way Login ID>@ftp-private.ddbj.nig.ac.jp:~/<Destination directory>
- <Your openSSH-format private key>: the private key for authentication which is pair of a public key registered to your D-way account. For example, ~/.ssh/id_rsa
- <Your Files>: Files to be uploaded.
For example, strainA_1.fastq, raw1.txt raw2.txt (raw1.txt and raw2.txt) and *.bam (files with bam extension specified by a wild card). - <D-way Login ID>: D-way Login ID. For example, test07.
- <Destination directory>: the destination directory.
For example, DRA: <DRA submission ID>, GEA: <GEA submission ID>, DDBJ: /mass and MetaboBank: /metabobank.
Example commands (DRA).
> scp -i ~/.ssh/id_rsa strainA_1.fastq test07@ftp-private.ddbj.nig.ac.jp:~/test07-0018
Enter the passphrase (if setted for the key).
Enter passphrase for key '/home/you/.ssh/id_rsa':
You can directly handle the uploaded files by logging in the server.
SSH login the server by executing,
$ ssh -i <Your private key> <D-way Login ID>@ftp-private.ddbj.nig.ac.jp
Example commands.
$ ssh -i ~/.ssh/id_rsa test07@ftp-private.ddbj.nig.ac.jp
Enter the passphrase (if setted for the key).
Enter passphrase for key '/home/you/.ssh/id_rsa':
After logging in successfully, the following prompt is displayed.
[test07@at056 ~]$
The login environment is private for the submitter. Users other than the submitter cannot access the data.
Executable commands are restricted to the following ones. Users can delete unnecessary files.
ls cd cp mv rm more mkdir tar gzip gunzip bzip2 bunzip2 zip unzip
WinSCP (Windows)
This section explains how to upload data files by using the GUI software WinSCP.
Install and run WinSCP.
Configure as below and click the [Advanced…] button. Be sure to select the “binary mode” for file transfer. Do NOT select the “text mode”.
- File protocol: SFTP
- Host name: ftp-private.ddbj.nig.ac.jp
- Port number: 22
- User name: (D-way Login ID)
- Password: (Leave empty)
Please select the PuTTY-format private key, which you created beforehand, from “Private key file” in “Authentication”.
Lastly, click the [Login] button in the lower center.
At the first time of login, a warning message is displayed; however, please select “Yes” (this message will not be displayed again). Next, enter the passphrase set for the keys.
After login successfully, a folder of your PC is displayed at left, and your private directory in the server is displayed at right. Select the files at the left window and drag & drop them into the right window to transfer the files to the server.
You can delete the transferred files by selecting the files and clicking the [Delete] button.
Cyberduck (Mac OS X)
Download and install Cyberduck (https://cyberduck.io/).
Run the Cyberduck and click the [Open Connection] button in the Cyberduck menu.
Set as follows.
- SFTP (SSH File Transfer Protocol)
- Server: ftp-private.ddbj.nig.ac.jp
- Port: 22
- Username: (D-way Login ID)
- Password: (Leave empty)
- SSH Private Key: Select a private key paired with a public key registered to your D-way account for authentification.
- Add to Keychain: (Check)
By default, the private key is created in “User’s home folder > .ssh folder (invisible in Finder) > id_rsa”.
At the first time of login, a warning message is displayed; however, please select “Always” (this message will not be displayed again).
After login successfully, your private directory in the server is displayed in the window. Select the files in your PC and drag & drop them into the window to transfer the files to the server.
Trouble-shooting
Please see the following FAQs.