Intel-HLS / GenomicsDB

GenomicsDB
Other
111 stars 28 forks source link

Optimization for sites only query #183

Closed kgururaj closed 6 years ago

kgururaj commented 6 years ago

For sites-only query, no need to query PL and GT fields. Spanning deletions require PL values. However, all INFO fields are dropped for spanning deletions. Hence, the specific deletion corresponding to the spanning deletion is irrelevant for sites-only queries. So, PL and GT can be dropped from the query attributes.

Add guard if conditions in combined VCF creation code.