Changes

From Genome Analysis Wiki
Jump to navigationJump to search
1,398 bytes removed ,  15:33, 8 August 2013
no edit summary
Line 6: Line 6:  
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]].
 
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]].
   −
Tar versions of gotcloud can be downloaded from github.
+
= Where to Find It =
   −
You can download either a specific release, the latest release, or the current development version.
+
{{ToolGitRepo|repoName=gotcloud|nolibStatGen=true|noDownload=true|latestReleaseBranch=latest|skipBuild=true}}
   −
===Downloading a specific release===
+
== Releases ==
 +
Released Versions are documented at [[GotCloud: Versions]] with details on the changes for each version.
   −
See https://github.com/statgen/gotcloud/releases for the list of specific releases that can be downloaded.
     −
You can download by:
+
= Building =
* Selecting the <code>zip</code> or <code>tar.gz</code> button near the version.
+
Prior to running gotcloud, you need to compile the source.
* Using wget to pull it directly:
     −
===Downloading the latest release===
+
# cd into the gotcloud directory you just created (via clone/unzip/untar)
 
  −
We track the latest release using a branch called <code>latest</code>.
  −
 
  −
The commandline for downloading this branch is:
  −
 
  −
 
  −
=== Downloading the current development version===
  −
 
  −
If you are using the current development, I'd recommend using git.
  −
 
  −
 
  −
== Previous GotCloud Versions ==
  −
You can access previous gotcloud versions using the git tags by either directly downloading the previous version or by using git to set the view to a specific tag.
  −
 
  −
See [[GotCloud: Versions]] for details on the changes for each version.
  −
 
  −
 
  −
== Downloading & Building GotCloud ==
  −
 
  −
Here are the steps for installing from the source tar:
  −
# Create & change to the directory where you want gotcloud installed
  −
#: <pre>cd ~    # Replace ~ with the location where you want gotcloud installed.</pre>
  −
# Download the gotcloud tar from the ftp site.
  −
#: <pre>wget ftp://share.sph.umich.edu/gotcloud/gotcloudWithTest_latest.tgz</pre>
  −
# Extract the tar (In this example, it is the tar with the test files)
  −
#: <pre>tar xzf gotcloud_latest.tgz</pre>
  −
#* This will create a gotcloud directory containing the contents of the tar.
   
# Build (compile) the source
 
# Build (compile) the source
#: <pre>cd gotcloud/src; make; cd ..</pre>
+
#: <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.
   −
+
= GotCloud Script =
GotCloud requires the following tools to be installed. 
+
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.
* java (java-common default-jre on ubuntu)
  −
* make (make on ubuntu)
  −
* libssl (libssl0.9.8 on ubuntu)
  −
* gcc 4.4 or newer
     −
To check these requirements, run:
+
If you cloned into your home directory, it would be:
  scripts/check_requirements.sh .
+
  ~/gotcloud/gotcloud
 +
If you downloaded "latest" into your home directory, it would be:
 +
~/gotcloud-latest/gotcloud
   −
  −
The gotcloud script that is the gateway to running GotCloud is found in the path where you untarred the program under the gotcloud directory and is called gotcloud:
  −
gotcloud/gotcloud
  −
If you downloaded and untarred into your home directory, it would be:
  −
~/gotcloud/gotcloud
      
== Testing GotCloud ==
 
== Testing GotCloud ==
If you installed the test files, you can run an automated test that will tell you if it passes or fails.
+
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 produces the expected results.
+
This test will ensure that everything is setup/installed properly and the expected results are produced.
    
=== Test the aligner ===
 
=== Test the aligner ===
Line 92: Line 57:  
  Successfully ran the test case, congratulations!
 
  Successfully ran the test case, congratulations!
   −
You can then remove the output directory if there were no errors.
+
You can remove the output directory if there were no errors.
 
  rm -rf ~/testalign
 
  rm -rf ~/testalign
   Line 111: Line 76:  
  Successfully ran the test case, congratulations!
 
  Successfully ran the test case, congratulations!
   −
You can then remove the output directory if there were no errors.
+
You can remove the output directory if there were no errors.
 
  rm -rf ~/testsnp
 
  rm -rf ~/testsnp

Navigation menu