Hi there,
Newbie to the bioinformatic area and looking for some help.
I'm trying to use bcftools to do some SNPs calling from a bcf file created out of samtools mpileup
.
In a lot of posts I see the bcftools view options as -bvcg
, but when I try it I get the error
bcftools: unknown option -- b
In reading I see that bcftools have changed their view options with the more recent versions (I'm running 1.2), so was wondering if any one can translate the old options into what to use for the new options values. I'm trying :-
-O b -v snps -g het
but since I have never used bcftools before I don't know if that would get me the same output.
Thanks for your assistance in advance.
Eddie
Hi!
There is no
-b
option in the bcftools manual.-O b
(in your second command line) means to get output as a compressed BCF file.To do SNP calling, I usually use the command line:
Thanks for the reply. I will give bcftools call a try.
Yes, I was trying to use the command
bcftools view -bvcg ...
, but it seem those were the valid options for an older version of bcftools.I found this list of options for bcftools view (an old version, which explained the
-bvcg
to me):but the version 1.2 bcftools view options are :
So just trying to find the new options variable that will get me the same output.
Hi Evgeniia,
Gave bcftools call a try and it worked for me.
Thanks for your help.
Eddie
You are welcome! :)