More information on strelka can be found at: https://sites.google.com/site/strelkasomaticvariantcaller/home
genome / docker-strelka Goto Github PK
View Code? Open in Web Editor NEWA docker image for Strelka
A docker image for Strelka
More information on strelka can be found at: https://sites.google.com/site/strelkasomaticvariantcaller/home
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.