SACGF / SACGF/variantgrid

Bcftools fails in pipeline without being caught

Open
#1,179 0 comments 0 reactions 0 assignees View on GitHub
Has Plan
Dominant language
Python
Stars
30
Forks
3
Avg merge
9h 28m
Merged PRs (30d)
42

Description

Delete the FORMAT lines in the header, and import a VCF so you get errors like:

```
[W::vcf_parse_format_dict2] FORMAT 'AD' at NC_000003.12:10017624 is not defined in the header, assuming Type=String
```

Then removes it. Pipeline after dies with:

```
[E::vcf_format] Invalid BCF, the FORMAT tag id=2 at NC_000003.12:10017624 not present in the header
[flush_buffer] Error: cannot write to -
Failed to read from standard input: unknown file type
```

But this is not caught so pipeline looks like it is still running, rather than error

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.