Line 9: |
Line 9: |
| | | |
| == STEP 1 : Setup GotCloud == | | == STEP 1 : Setup GotCloud == |
| + | |
| + | === Step 1c: Setup Environment === |
| + | To facilitate running this tutorial, set environment variables: |
| + | * GCHOME to the path to the base directory of your gotcloud instalation |
| + | * GCDATA to the path to the base directory of the example data instalation |
| + | In the instructions below, we |
| + | |
| + | First check your shell using: |
| + | ps -p $$ -ocomm= |
| + | |
| + | For bash, sh: |
| + | export GCHOME=~/gotcloud |
| + | export GCDATA=~/gotcloudExample |
| + | export GCOUT=~/gotcloudTutorial |
| + | |
| + | For csh, tcsh: |
| + | setenv GCHOME ~/gotcloud |
| + | setenv GCDATA ~/gotcloudExample |
| + | setenv GCOUT ~/gotcloudTutorial |
| | | |
| === Step 1a: Install GotCloud === | | === Step 1a: Install GotCloud === |
Line 16: |
Line 35: |
| | | |
| Otherwise, you can install it in your own directory: | | Otherwise, you can install it in your own directory: |
− | # Change directory to where you want to install gotcloud | + | # Create & Change directory to where you want to install gotcloud |
− | # Download the gotcloud tar from TBD | + | # Download the gotcloud tar from the ftp site. |
| # Extract the tar | | # Extract the tar |
| # Build the source | | # Build the source |
| | | |
− | cd ~ # Move to your home directory (or wherever you want to install) | + | mkdir -p $GCHOME; cd $GCHOME |
− | wget TBD # Download | + | wget ftp://share.sph.umich.edu/gotcloud/gotcloud.tar # Download |
− | tar xvf gotcloud.tar # Extract | + | tar xvf gotcloud.tar --strip 1 # Extract |
− | cd gotcloud/src; make # Build source | + | cd $GCHOME/src; make # Build source |
| | | |
| | | |
Line 33: |
Line 52: |
| | | |
| The example dataset we'll be using is included in this tar-ball TBD. | | The example dataset we'll be using is included in this tar-ball TBD. |
− | # Change directory to where you want to install the example dataset | + | # Create & Change directory to where you want to install the Tutorail data |
− | # Download the dataset tar from TBD | + | # Download the dataset tar from the ftp site |
| # Extract the tar | | # Extract the tar |
| | | |
− | cd ~ # Move to your home directory (or wherever you want to install) | + | mkdir -p $GCDATA; cd $GCDATA |
− | wget TBD # Download | + | wget ftp://share.sph.umich.edu/gotcloud/gotcloudExample.tar # Download |
− | tar xvf gotcloudExample.tar # Extract | + | tar xvf gotcloudExample.tar --skip 1 # Extract |
| | | |
− | === Step 1c: Setup Enviornment for Testing ===
| |
− | To facilitate running this tutorial, set environment variables:
| |
− | * GCHOME to the path to the base directory of your gotcloud instalation
| |
− | * GCDATA to the path to the base directory of the example data instalation
| |
− | In the instructions below, we
| |
− |
| |
− | First check your shell using:
| |
− | ps -p $$ -ocomm=
| |
− |
| |
− | For bash, sh:
| |
− | export GCHOME=~/gotcloud/
| |
− | export GCDATA=~/gcTutorial/
| |
− |
| |
− | For csh, tcsh:
| |
− | setenv GCHOME ~/gotcloud/
| |
− | setenv GCDATA ~/gcTutorial/
| |
| | | |
| == STEP 2 : Run GotCloud Alignment Pipeline == | | == STEP 2 : Run GotCloud Alignment Pipeline == |
Line 75: |
Line 78: |
| | | |
| Run the mapping pipeline: | | Run the mapping pipeline: |
− | $GCHOME/gen_biopipeline.pl --conf $GCDATA/[[GBR60map.conf]] --out_dir mappingResults | + | $GCHOME/gotcloud align --conf $GCDATA/[[GBR60map.conf]] --outdir $GCOUT |
| | | |
| TBD - add link explaining the contents of the .conf & .index files. | | TBD - add link explaining the contents of the .conf & .index files. |