We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c9309 commit 9e81e92Copy full SHA for 9e81e92
plugins/setGT.c
@@ -391,7 +391,7 @@ bcf1_t *process(bcf1_t *rec)
391
392
for (i=0; i<rec->n_sample; i++)
393
{
394
- if ( !args->smpl_pass[i] ) continue;
+ if ( args->smpl_pass && !args->smpl_pass[i] ) continue;
395
if ( args->new_mask>_UNPHASED )
396
changed += unphase_gt(args->gts + i*ngts, ngts);
397
else if ( args->new_mask==GT_PHASED )
0 commit comments