-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The new version of bcftools 1.21 requires to specify that the AD
field is in INFO
in the query command used by HATCHet in
Specifically, the following command of bcftools called by HATCHet fails and hang with the new version of bcftools 1.21:
bcftools mpileup ${BAM} -Ou -f ${REF} --skip-indels -a INFO/AD -q 13 -Q 13 -d 30 | bcftools query -f '%CHROM\\t%POS\\t%REF,%ALT\\t%AD\\n' -i 'SUM(AD)<=1000 & SUM(AD)>=1' > output
failing with the message:
[mpileup] 1 samples in 1 input files
Error: ambiguous filtering expression, both INFO/AD and FORMAT/AD are defined in the VCF header.
The temporary solution is to install HATCHet with a previous version of samtools/bcftools, like 1.19, after correct setting up of bioconda channells:
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda create -n hatchet hatchet "bcftools==1.19" "samtools==1.19"
In the meanwhile, @mmyers1 can we please fix this by making the bcftools command compatible, or changing bioconda recipe of HATCHet to only use a compatible version of bcftools/samtools please?
yqkiuo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working