Bcftools merge fails parsing

Open
#1,012 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
aws, c

Research direction

Start at the bcftools merge command described in the report and reproduce it with indexed VCFs from AWS S3, a regions text file, an S3 path list, and the -m snps option. Inspect the [E::get_intv] TBX_VCF warning while comparing the first input with later inputs. Done means subsequent VCF fields are parsed and merged rather than empty.

Written by the indexing model from the issue text.

Description

htslib-dependent

I’ve been getting issues trying to merge multiple VCFs from AWS S3 buckets that have been indexed using tabix. When I run the command, I give it regions from a text file, S3 paths in a text file, give it the “-m snps” flag and an output file name. The first VCF in the file has no issues, but the subsequent VCFs’ fields are empty. When I pull the VCFs individually, the VCFs all pull fine, and when I change the order of the S3 path list, the first file in the new list works but the rest don’t. I also get some errors/warnings printed in the command line if it means anything “[E::get_intv] Failed to parse TBX_VCF, was wrong -p [type] used?” These are standard VCFs generates by GATK. Any insight?

Dominant language
C
Stars
891
Forks
277
Avg merge
2d 23h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from samtools/bcftools

All issues in samtools/bcftools

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.