GithubHelp home page GithubHelp logo

gmihaiescu / pcawg-docker-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from icgc-tcga-pancancer/pcawg-docker-test

0.0 2.0 0.0 36.89 MB

Scripts to help test Dockstore tools for PCAWG

Shell 100.00%

pcawg-docker-test's Introduction

Testing environment

Introduction

These are scripts to help run tests

Preparation

To use GNOS put your token key in etc/keyfile.txt since that is where my scripts will try to find it. For the ICGC download client put your token into the icgc-storage-client-1.0.19/conf/application.properties file

Download the DKFZ resources

bin/get_dkfz_resources.sh

Download the Test data

Dowload the test sample HCC1143 and place it in the data directory

bin/get_test_resources.sh

Get Donor using ICGC

Go to https://dcc.icgc.org query for a donor e.g. DO50398. Find the files from the table of files with Data Type Aligned Reads and Strategy WGS e.g. FI31031 and follow the link. Get the Object ID e.g. e09a49a8-6381-55ca-ad62-46290e5b7590. Then type the following command

bin/get_icgc_donor.sh DO50398 e09a49a8-6381-55ca-ad62-46290e5b7590 78d071c5-a0f5-5bd1-8e05-9850bf326e93

IMPORTANT: Make sure you put the Tumor Object ID first and the Normal Object ID second

Get Donor using GNOS

Go to https://dcc.icgc.org query for a donor e.g. DO50398. Find the files from the table of files with Data Type Aligned Reads and Strategy WGS e.g. FI31031 and follow the link. Get the Submitter Bundle ID e.g. 136d60db-bd21-4fbc-9a28-59ea70c06f27. Then type the following command

bin/get_gnos_donor.sh DO50398 136d60db-bd21-4fbc-9a28-59ea70c06f27 0bef43a2-352a-42c6-99ff-d97e2675a527

IMPORTANT: Make sure you put the Tumor Submitter Bundle ID first and the Normal Submitter Bundle ID second

Run the test

Decide on the workflow and sample. Workflows are Sanger, DKFZ, and Delly, and samples can be the test sample HCC1143 or any of the donors you prepared

bin/run_test.sh DKFZ HCC1143

or

bin/run_test.sh Delly DO50398

Note that to run DKFZ you need to have ran Delly before so the bedpe file is produced

bin/run_test.sh DKFZ DO50398

The results will be under tests/<workflow>/<sample>/output/<sample>.* for example tests/Sanger/HCC1143/output/HCC1143.somatic.snv.mnv.tar.gz After the process is finished you may want to remove the directory tests/<workflow>/<sample>/datadir/ since it holds a copy of the input files.

pcawg-docker-test's People

Contributors

mikisvaz avatar gmihaiescu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.