Skip to content

Commit

Permalink
🐛 don't complain if platforms are not the same
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmedmar committed Jun 26, 2020
1 parent f8617d9 commit 60193ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 60193ac

Please sign in to comment.