Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Users - running the container

  1. Set permissions on datastore which will hold results of workflows after they run

     mkdir workflows && mkdir datastore
     chmod a+wrx workflows && chmod a+wrx datastore
  2. Run the tabix server as a named container if you have not already (see the tabix)

  1. Download and expand your workflows using the SeqWare unzip tool, it requires Java 7. Here we use Sanger as an example (you should probably pick a shared directory outside of this directory to avoid interfering with the Docker context if you need to rebuild the image).

      cd workflows
      java -cp seqware-distribution-1.1.1-full.jar --input-zip --output-dir  Workflow_Bundle_SangerPancancerCgpCnIndelSnvStr_1.0.5.1_SeqWare_1.1.0-alpha.5
  2. Run container and login with the following (while persisting workflow run directories to datastore, and opening a secure link to the tabix server). Here we assume that a tabix container has already started, that you want to store your workflow results at /datastore and that the workflow that you wish to run (Sanger) is present in the workflows directory. Change these locations as required for your environment.

      docker run --rm -h master -t --link pancancer_tabix_server:pancancer_tabix_server -v `pwd`/datastore:/datastore -v `pwd`/workflows/Workflow_Bundle_SangerPancancerCgpCnIndelSnvStr_1.0.5.1_SeqWare_1.1.0-alpha.5:/workflow  -i seqware/seqware_whitestar_pancancer:1.1.1 
  3. Create an ini file (the contents of this will depend on your workflow). For testing purposes, you will require the following ini, note that the ip address for the tabix server will appear in your environment variables as PANCANCER_TABIX_SERVER_PORT_80_TCP_ADDR

      # not "true" means the data will be downloaded using AliquotIDs
      # the server that has various tabix-indexed files on it, see above, update with your URL
  4. Run workflow sequentially with

      seqware bundle launch --dir /workflow --no-metadata --ini workflow.ini

    Alternatively, run it in parallel with the following command.

      seqware bundle launch --dir /workflow --no-metadata --ini workflow.ini --engine whitestar-parallel
  5. For running real workflows, you will be provided with a gnos pem key that should be installed to the scripts directory of the Sanger workflow.

Developers - building the image locally

  1. Assuming docker is installed properly, build image with

     docker build  -t seqware/seqware_whitestar_pancancer .
Docker Pull Command
Source Repository