bcftools error in variant calling chapter
1
0
Entering edit mode
2.6 years ago
EHSAN • 0

Hi,

I am reading through the variant calling chapter of biostar book and faced a problem at below step:

# Compute the genotypes from the alignment file.
bcftools mpileup -Ovu -f $REF $BAM > genotypes.vcf

# Then I get this error:
Could not parse argument: --output-type u

It would be very appreciated if someone can help. Many thanks.

bcftools • 1.2k views
ADD COMMENT
1
Entering edit mode
2.6 years ago

The valid output types are:

  -O, --output-type TYPE  'b' compressed BCF; 'u' uncompressed BCF;
                          'z' compressed VCF; 'v' uncompressed VCF; 0-9 compression level [v]

this might be a typo in the book the correct line is:

bcftools mpileup -Ov -f $REF $BAM > genotypes.vcf

see also the recipe at:

https://www.bioinformatics.recipes/recipe/view/recipe-bcftools/

ADD COMMENT
0
Entering edit mode

Thanks Istvan, true, that was a typo.

ADD REPLY

Login before adding your answer.

Traffic: 1746 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