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
2.2 years ago
curious ▴ 890

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 • 779 views
ADD COMMENT
0
Entering edit mode
2.2 years 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: 4275 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