Combining Multiple Annotations using Streams (Piped input) fails
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
Research direction
Start by reproducing the two-command bcftools annotate pipeline shown in the issue and trace how annotate opens piped input from stdin. Check whether the failure is expected for the supplied stream format or indicates unsupported pipe handling. Done means establishing supported behavior and resolving the error or documenting the limitation clearly.
Written by the indexing model from the issue text.
Description
Hi, I am trying to chain together multiple annotations using streams, for example:
bcftools annotate -Ou -a whole_genome_SNVs.add-chr.otoscopev6v7.tsv.gz -c CHROM,POS,ID,REF,ALT,CADD_RAW,CADD_PHRED -h CADD.vcf.header GJB2.CEPH.104_1-12_2-1330_1.unifiedGenotyper.vcf.gz | bcftools annotate -a ExAC.r0.3.sites.vep.vcf.gz
When doing this, I always receive an error:
Failed to open -: not compressed with bgzip
Is this type of operation not supported, or am I making a mistake in how I am running the annotations? Running each annotation independent of one another seems to work.
Thanks so much for your help!
- Dominant language
- C
- Stars
- 891
- Forks
- 277
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from samtools/bcftools
-
needs-feedback
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
htslib-dependent P2: Desirable
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
needs-feedback requires-test-case
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in samtools/bcftools
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100