artic-network / fieldbioinformatics

The ARTIC field bioinformatics pipeline
MIT License
110 stars 68 forks source link

Longshot VCF causing bcftools to crash #21

Closed Mattstorey closed 4 years ago

Mattstorey commented 4 years ago

Hi,

Since the introduction of Longshot to the artic minion pipeline, I am seeing some genomes won't assemble. Seems like the VCF from Longshot doesn't match the reference (preconsensus.fasta) passed to bcftools consensus and causes an error resulting in an empty consensus.fasta file.

nickloman commented 4 years ago

Thank you - this happens when a variant passes in one pool and fails in another (typically due to low depth) meaning it gets written to both pass and fail and therefore gets masked and upsets bcftools consensus. I have made this update to the code which means that the variant will no longer get written to fail: https://github.com/artic-network/fieldbioinformatics/pull/22

Mattstorey commented 4 years ago

Thanks, Nick! Awesome.

lpmor22 commented 2 years ago

Hi,

I using the artic minion pipeline now and I'm having the same issue - some genomes won't assemble. I alreary updated using: pip install --force-reinstall git+https://github.com/artic-network/fieldbioinformatics.git but isn't work.