Question: Difference between bcftools view and bcftools call?
1
gravatar for AP
3.5 years ago by
AP90
AP90 wrote:

Hi all,

This post is related to a previous one I wrote yesterday. Would anyone be able to tell me what is the difference between bcftools view and bcftools call?

My understanding is that bcftools call is the new view for bcftools versions 1.2 and above (I am using 1.3). However, it seems that filter options from view are not compatible with call (while I thought some would).

For instance, I am trying to use the -g filter options from bcftools view with call by typing the following but without success:

bcftools call -v -c -g hom|het|miss output.bcf > output.vcf

Alternatively, doing the following does not work either:

bcftools view -v -c -g hom|het|miss output.bcf > output.vcf


Is it possible to use the -g filter option from view with call? Any thoughts would be much appreciated!

call view bcftools • 2.4k views
ADD COMMENTlink modified 2.4 years ago • written 3.5 years ago by AP90
2
gravatar for AP
2.4 years ago by
AP90
AP90 wrote:

13 months later:

Using bcftools view should work although view was replaced by call in recent versions of bcftools (1.2 and 1.3). The -g filter option triggers an error probably due to a conflict between versions. Using bcftools call just does the job. Otherwise you need to go back to older versions.

ADD COMMENTlink written 2.4 years ago by AP90
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 984 users visited in the last hour