PharmGKB / PharmCAT

The Pharmacogenomic Clinical Annotation Tool
Mozilla Public License 2.0
120 stars 39 forks source link

How to use this tool? #8

Closed gpcr closed 6 years ago

gpcr commented 8 years ago

How to use this tool on VCF data ? any help ?

markwoon commented 8 years ago

PharmCAT is not quite ready for public consumption yet.

We're close, and we'll have documentation when we're done, but we're not there yet.

You're more than welcome to take a look at the code though. Haplotyper would be the main entry point for haplotype calling.

gpcr commented 8 years ago

Thanks, just playing with haplotyper: Can we use it for Grch37 version?

markwoon commented 8 years ago

In theory, yes. But right now the haplotype mapping is in GRCh38. You'll either have to convert the VCF or the mapping to match.

gpcr commented 8 years ago

converting generatedDefinitions to b37 would be easier i believe...any other file need to be changed?

markwoon commented 8 years ago

Those are it.

gpcr commented 8 years ago

Are b37 definitions available?

markwoon commented 8 years ago

Not at the moment. You will need to convert them yourself.

Thanks, -Mark

On Jul 19, 2016 5:59 AM, "gpcr" notifications@github.com wrote:

Are b37 definitions available?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PharmGKB/PharmCAT/issues/8#issuecomment-233624274, or mute the thread https://github.com/notifications/unsubscribe-auth/AANIZTF1VpH6pUs1qR4MenBMmEfnJAzNks5qXMofgaJpZM4Ifm6h .

gpcr commented 8 years ago

thanks for your response. I have B37 converted VCF definitions, Is it works directly with Named allele Matcher or should it be in Json format. if Yes how to convert vcf to Json.

markwoon commented 8 years ago

I want to make sure we're talking about the same thing: if your VCF file is using b37, you have 2 choices:

  1. convert the named allele definitions (in the cpic-data repo) to b37, or
  2. convert your VCF file to b38

The VCF file and the named allele definitions need to both use the same build. I believe we will eventually release official b37 named allele definitions, but we're still in the middle of validating everything vs. real world data. There are way too many ways of describing variants, and this will impact how we define variants in the definition files.

whaleyr commented 6 years ago

For the upcoming v1.0 release we will only be supporting b38. It will be left to the user to either re-align their samples to b38, liftover their individual calls, or modify the supporting allele definitions themselves and repackage from source.