Any way to get bcftools to query up to but not including the last site given in a region query
1
0
Entering edit mode
10 months ago
curious ▴ 750

This is kind of a silly example, but is there ay way to modify this query (without changing the positions), so that it does not return sites that overlap 20000086, but does return sites that overlap 20000006?

bcftools view -r chr19:20000006-20000086 in_vcf

bcftools • 457 views
ADD COMMENT
0
Entering edit mode
10 months ago
bcftools view -O u  -r chr19:20000006-20000086 in.vcf.gz |\
bcftools +fill-tags -O u -- -t "END" |\
bcftools view -i 'END < 20000086'
ADD COMMENT

Login before adding your answer.

Traffic: 1900 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6