ukhsa-collaboration / PHEnix

Public Health England SNP calling pipeline.
http://phenix.readthedocs.io/en/latest/
GNU General Public License v3.0
36 stars 8 forks source link

How does PHEnix handle plasmids? #46

Open flashton2003 opened 3 years ago

flashton2003 commented 3 years ago

Hello,

I'm using PHEnix for an organism where the reference genome has plasmids.

I want to leave the plasmids in for the mapping and snp calling so that plasmid reads don't map to the chromosome, potentially causing artefacts.

But then, the plasmids should be removed before the phylogeny is constructed.

What is the behaviour of vcf2fasta? Will it output a consensus fasta of the chromosome plus the plasmid?

Thanks!

Phil

ulfschaefer commented 3 years ago

Phil!

I am not entirely sure. Sorry. I haven't used it in a while. Coronaviruses don't have plasmids.

You'd have to experiment. Maybe remove all the lines of mapping to the plasmid from the vcf (or even the sam file) manually before continuing to make the alignment.

Ulf

flashton2003 commented 3 years ago

Haha, ok, no worries.

Thanks Ulf!

On Fri, 2 Oct 2020 at 16:29, ulfschaefer notifications@github.com wrote:

Phil!

I am not entirely sure. Sorry. I haven't used it in a while. Coronaviruses don't have plasmids.

You'd have to experiment. Maybe remove all the lines of mapping to the plasmid from the vcf (or even the sam file) manually before continuing to make the alignment.

Ulf

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/phe-bioinformatics/PHEnix/issues/46#issuecomment-702766949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAT6FEVTVARNPHMDLTB5VLDSIXPWLANCNFSM4SBX7IRA .