Code Monkey home page Code Monkey logo

docker-strelka's Introduction

docker-strelka's People

Contributors

tmooney avatar

Stargazers

Zac Shi avatar

Watchers

Adam Coffman avatar Chris Miller avatar Feiyu Du avatar  avatar Dave Larson avatar APipe Tester avatar Alex H. Wagner, PhD avatar James Cloos avatar Malachi Griffith avatar Jason Walker avatar Chad Tomlinson avatar  avatar Sai Mukund Ramakrishnan avatar Susanna Kiwala avatar gchang avatar Zac Shi avatar John Maruska avatar  avatar

docker-strelka's Issues

Strelka output VCF are missing genotypes.

I encountered an issue when using strelka VCF files where the GT is missing from the FORMAT field for the NORMAL and TUMOR samples. This may be outside of the scope of the strelka docker container, but it could be added to the helper script as well. This was working in a standalone workflow:

awk '{if(/^##/) print; else if(/^#/) print "##FORMAT=<ID=GT,Number=1,Type=String,Description=\"Genotype\">\n"$0; else print $1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\tGT:"$9"\t./.:"$10"\t./.:"$11;}' $OUTPUT_DIR/results/all.somatic.snvs.vcf > $OUTPUT_DIR/results/all.somatic.snvs.gt.vcf awk '{if(/^##/) print; else if(/^#/) print "##FORMAT=<ID=GT,Number=1,Type=String,Description=\"Genotype\">\n"$0; else print $1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\tGT:"$9"\t./.:"$10"\t./.:"$11;}' $OUTPUT_DIR/results/all.somatic.indels.vcf > $OUTPUT_DIR/results/all.somatic.indels.gt.vcf

The same could be done with the passed VCF files as well:

awk '{if(/^##/) print; else if(/^#/) print "##FORMAT=<ID=GT,Number=1,Type=String,Description=\"Genotype\">\n"$0; else print $1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\tGT:"$9"\t./.:"$10"\t./.:"$11;}' $OUTPUT_DIR/results/passed.somatic.snvs.vcf > $OUTPUT_DIR/results/passed.somatic.snvs.gt.vcf awk '{if(/^##/) print; else if(/^#/) print "##FORMAT=<ID=GT,Number=1,Type=String,Description=\"Genotype\">\n"$0; else print $1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\tGT:"$9"\t./.:"$10"\t./.:"$11;}' $OUTPUT_DIR/results/passed.somatic.indels.vcf > $OUTPUT_DIR/results/passed.somatic.indels.gt.vcf

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.