== F. Pull from iRODS == {{{ #!html
Image Map
}}} === F.1 iRODS Environment Settings === If you haven't already performed this step in A.1, you first have to configure the your local iRODS environment: * The iRODS client uses a configuration file (~/.irods/.irodsEnv) that sets certain parameter for the icommands. Here is and example: {{{ # iRODS personal configuration file. # # This file was automatically created during iRODS installation. # Created Thu Feb 16 14:06:27 2012 # # iRODS server host name: irodsHost 'emmy9.casa.umass.edu' # iRODS server port number: irodsPort 1247 # Default storage resource name: irodsDefResource 'iRODSUmass2' # Home directory in iRODS: irodsHome '/geniRenci/home/gimiXX' # Current directory in iRODS: irodsCwd '/geniRenci/home/gimiXX' # Account name: irodsUserName 'gimiXX' # Zone: irodsZone 'geniRenci' }}} * First of all copy the iRODS configuration file to .irodsEnv with the following command (replace gimiXX with your username): {{{ $ cp ~/Tutorials/GIMI/gimiXX/gimiXXIrodsEnv ~/.irods/.irodsEnv }}} * Register with iRODS server by issuing the following command (more details on iRODS will be given shortly): {{{ $ iinit }}} * You will be prompted for a password. Please type in the password you were provided with on the paper handout!! ---- === F.2 Retrieving Data from iRODS to Local System === In the following we list the steps and commands that will allow you to retrieve data from the iRODS storage to your local storage: * List content of your home directory {{{ $ ils }}} * To change to a different directory use {{{ $ icd }}} * Retrieve file from your iRODS home directory into user workspace. {{{ $ iget }}} Assuming you wanted to retrieve a file called gimitesting.sq3 the command would look as follows: {{{ $ iget gimitesting.sq3 }}} * A complete overview on the iRODS commands can be found [https://www.irods.org/index.php/icommands here]. === F.3 Searching the Catalogue for Data === {{{ $ imeta qu -d SliceName like gimi28 }}} ---- [[http://groups.geni.net/geni/wiki/GIMI-GEC16-Tutorials/GIMI-GEC16-TutorialB/Analyze Back to previous step]] [[http://groups.geni.net/geni/wiki/GIMI-GEC16-Tutorials/GIMI-GEC16-TutorialB/Cleanup Forward to next step]] [[http://groups.geni.net/geni/wiki/GIMI-GEC16-Tutorials/GIMI-GEC16-TutorialB/ Back to tutorial main page]]