Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtain variant allele fraction from VCF #171

Open
bioinfo-dirty-jobs opened this issue May 31, 2018 · 4 comments
Open

Obtain variant allele fraction from VCF #171

bioinfo-dirty-jobs opened this issue May 31, 2018 · 4 comments
Assignees

Comments

@bioinfo-dirty-jobs
Copy link

bioinfo-dirty-jobs commented May 31, 2018

I run the last latest version of vcf2maf on my data. I want to obtain vcf VAF comparable to data from TCGA.
I could not find VAF in the maf file of variants from tumor and normal
"vcf2maf.pl --input-vcf {input} --output-maf {output} --vep-path {params.db_ens} -ref-fasta {params.fst} --tumor-id {params.tumor_id} --normal-id NORMAL

@ckandoth
Copy link
Collaborator

ckandoth commented Jun 6, 2018

Your goal is confusing. What is the input format you have? And what is the output format you want?

@bioinfo-dirty-jobs
Copy link
Author

@ckandoth I use as input vcf from mutect2 and varscan 2.4. I would like to obtain the variant allele frequency like what we obtain in the maf file of tcga.

@ckandoth
Copy link
Collaborator

ckandoth commented Jun 6, 2018

ok thanks. In a standard VCF, the read counts and REF/ALT allele counts are usually in columns named after sample IDs. If you specify the correct sample IDs using arguments --tumor-id and --normal-id, then vcf2maf will try to retrieve read/allele counts from under those columns. However, in VarScan VCFs, the columns are always named TUMOR and NORMAL. For this reason, vcf2maf allows you to separately specify --vcf-tumor-id and --vcf-normal-id to indicate the column names used in the input VCF, in case they are different from your actual sample IDs.

You can read much more about all this in the documentation - https://github.com/mskcc/vcf2maf/blob/v1.6.16/README.md#quick-start

@ckandoth ckandoth self-assigned this Jun 6, 2018
@ckandoth ckandoth changed the title Obtain variant allele frquency on vcf Obtain variant allele fraction from VCF Jun 6, 2018
@slzhao
Copy link

slzhao commented Nov 4, 2018

Hello,
Do you have any follow up for this? If I understand the question correctly, it is a request for variant allele frequency (VAF) in each sample, usually under AF or FA tag in vcf file. This is important in some analysis. May I know if you are planning to provide this option?

Thanks!
Shilin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants