Changes

From Genome Analysis Wiki
Jump to navigationJump to search
no edit summary
Line 1: Line 1:  
Back to parent: [[GotCloud]]
 
Back to parent: [[GotCloud]]
   −
The [[GotCloud]] software has been developed and tested on Linux Ubuntu 12.10 and 12.04.2 LTS. While it should work on other Linux systems, they have not yet been tested.  It is not supported on Windows.
+
The [[GotCloud]] software has been developed and tested on Linux Ubuntu 13.10, 13.04, 12.10, and 12.04.2 LTS. While it should work on other Linux systems, they have not yet been tested.  It is not supported on Windows.
   −
The GotCloud software can be downloaded from:
  −
ftp://share.sph.umich.edu/gotcloud/gotcloud_latest.tgz
     −
Here are the steps for installing from the source tar:
+
If you run into any problems with GotCloud, please check: [[GotCloud: FAQs]] or for problems/solutions for a specific version, [[GotCloud:_FAQs#Version_Problems|Version Problems]].
# Create & change to the directory where you want gotcloud installed
+
 
# Download the gotcloud tar from the ftp site.
+
= Where to Find the GotCloud Source =
# Extract the tar
+
 
 +
{{ToolGitRepo|repoName=gotcloud|nolibStatGen=true|noDownload=true|latestReleaseBranch=latest|skipBuild=true}}
 +
 
 +
== Releases ==
 +
Released Versions are documented at [[GotCloud: Versions]] with details on the changes for each version.
 +
 
 +
 
 +
= Building =
 +
Prior to running gotcloud, you need to compile the source.
 +
 
 +
# cd into the gotcloud directory you just created (via clone/unzip/untar)
 +
# Check that your system has all of the requirements. Install whatever is needed.
 +
#: <pre>scripts/check_requirements.sh</pre>
 
# Build (compile) the source
 
# Build (compile) the source
 +
#: <pre>cd src; make; cd ..</pre>
 
#* Note: as the source builds, many messages will scroll through your terminal.  You may even see some warnings.  These messages are normal and expected.  As long as the build does not end with an error, you have successfully built the source.
 
#* Note: as the source builds, many messages will scroll through your terminal.  You may even see some warnings.  These messages are normal and expected.  As long as the build does not end with an error, you have successfully built the source.
   −
  mkdir -p $GCHOME; cd $GCHOME    # Replace $GCHOME with the location where you want it installed.
+
= GotCloud Script =
  wget ftp://share.sph.umich.edu/gotcloud/gotcloud_latest.tgz # Download
+
The gotcloud script that is the gateway to running GotCloud is found in the directory you created via clone/unzip/untar and is called gotcloud.
  tar xzf gotcloud_latest.tgz    # Extract
+
 
  cd gotcloud/src; make; cd ..   # Build source
+
If you cloned into your home directory, it would be:
+
~/gotcloud/gotcloud
GotCloud requires the following tools to be installed.  
+
If you downloaded "latest" into your home directory, it would be:
* java (java-common default-jre on ubuntu)
+
~/gotcloud-latest/gotcloud
* make (make on ubuntu)
+
 
* libssl (libssl0.9.8 on ubuntu)
+
 
* gcc 4.4 or newer
+
== Testing GotCloud ==
 +
You can run an automated test that will tell you if it passes or fails.
 +
 
 +
This test will ensure that everything is setup/installed properly and the expected results are produced.
 +
 
 +
=== Test the aligner ===
 +
 
 +
The aligner test takes about 3 minutes +/- 2 minute.
 +
 
 +
To run:
 +
  ~/gotcloud/gotcloud align --test ~/testalign
 +
* replace the beginining ~/ with the actual path to where you downloaded gotcloud
 +
* replace ~/testalign with the directory where you want the test results to go
 +
* To test the software in a cluster environment add the option -batchtype. For instance, using Sun Grid Engine in a Starcluster cluster, use
 +
~/gotcloud/gotcloud align --test ~/testalign -batchtype sgei
 +
 
 +
Output you should see something like:
 +
  Removing any previous results from: /home/myuser/testalign/aligntest
 +
Running GOTCLOUD TEST, test log in: /home/myuser/testalign/aligntest.log
 +
Created /home/myuser/testalign/aligntest/Makefiles/align_Sample2.Makefile
 +
Created /home/myuser/testalign/aligntest/Makefiles/align_Sample1.Makefile
 +
  ---------------------------------------------------------------------
 +
  Waiting while samples are processed...
 +
Processing finished in 63 secs with no errors reported
 +
  Results from DIFF will be in /home/myuser/testalign/diff_logfiles_results.txt
 +
Successful comparison of data in '/home/myuser/testalign/aligntest' and '/home/myuser/gotcloud/test/align/expected/aligntest'
 +
Successfully ran the test case, congratulations!
 +
 
 +
You can remove the output directory if there were no errors.
 +
rm -rf ~/testalign
 +
 
 +
=== Test snp calling ===
 +
 
 +
The snp calling test takes about 5 minutes +/- 2 minutes.
 +
 
 +
To run, replace ~/testsnp with the directory where you want the test results to go:
 +
  ~/gotcloud/gotcloud snpcall --test ~/testsnp
 +
* replace the beginining ~/ with the actual path to where you downloaded gotcloud
 +
* replace ~/testsnp with the directory where you want the test results to go
 +
* To test the software in a cluster environment add the option -batchtype. For instance, using Sun Grid Engine in a Starcluster cluster, use
 +
~/gotcloud/gotcloud snpcall --test ~/testsnp -batchtype sgei
 +
 
 +
Output you should see something like:
 +
Removing any previous results from: /home/myuser/testsnp/umaketest
 +
Running GOTCLOUD TEST, test log in: /home/myuser/testsnp/umaketest.log
 +
Results from DIFF will be in /home/myuser/testsnp/diff_logfiles_results_umake.txt
 +
Successful comparison of data in '/home/myuser/testsnp/umaketest' and '/home/myuser/gotcloud/test/umake/expected/umaketest'
 +
Successfully ran the test case, congratulations!
   −
To check these requirements, run:
+
You can remove the output directory if there were no errors.
  scripts/check_requirements.sh .
+
  rm -rf ~/testsnp

Navigation menu