From 60193acc0551aac5c27dbef1e8d5ea5e75d49016 Mon Sep 17 00:00:00 2001 From: jsmedmar Date: Fri, 26 Jun 2020 16:55:00 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20don't=20complain=20if=20platform?= =?UTF-8?q?s=20are=20not=20the=20same?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/output.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/output.c b/src/output.c index 31e6ba6..6743a96 100644 --- a/src/output.c +++ b/src/output.c @@ -276,7 +276,9 @@ int output_vcf_header(gzFile out, char *tum_bam, char *norm_bam, char *ref_seq_l res = bam_access_sample_name_platform_from_header(tum_bam,tumour_name, tumour_platform); check(res != NULL,"Error fetching tumour sample and platform from bam header."); - check(strcmp(tumour_platform,normal_platform)==0,"Normal and tumour platforms don't match: '%s' ne '%s'",normal_platform,tumour_platform); + // don't complain if platforms are different + // check(strcmp(tumour_platform,normal_platform)==0,"Normal and tumour platforms don't match: '%s' ne '%s'",normal_platform,tumour_platform); + //VCF version (fileformat) int write = gzprintf(out,"##%s=%s\n",VCF_VERSION_KEY,VCF_VERSION_VALUE); check(write>0,"Error writing version.");