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

Extracting AF from sample specific coloumns #74

Open
sahilseth opened this issue Apr 24, 2019 · 1 comment
Open

Extracting AF from sample specific coloumns #74

sahilseth opened this issue Apr 24, 2019 · 1 comment

Comments

@sahilseth
Copy link

Is it possible to specify the name of the tumor sample in the VCF, and then for pcgr to extract AF, DP from that column?

Do you a recommended approach, to extract AF from sample specific columns and add them to the INFO field of the VCF?

Thanks for the great tool!

@sigven
Copy link
Owner

sigven commented Apr 25, 2019

Hi,

Thanks for reporting. This is very relevant question, and related to a previously reported issue. Ideally, PCGR should interpret any VCF coming from any variant caller (I acknowledge that e.g. mutect2 is by far one of the most common somatic callers), and automatically fetch the depth and allelic fraction for the tumor and control sample. After several years of dealing with VCF files from a multitude of variant callers, I must admit that dealing with this in a robust way is in fact quite a huge undertaking, and is something I have not been able to prioritize yet. Therefore this burden is currently put on the users to manage themselves. I fully realize that many would like PCGR to handle this on the inside, but as mentioned, I have not had the capacity to prioritize this part.

If you can contribute anything to the community by yourself here (e.g. a 'prepare_pcgr_vcf.py' script that accepts a mutect2 vcf, retrieves DP/AF of specified tumor and control sample from the SAMPLE columns and appends this to the INFO colum), that would be warmly welcomed.

kind regards,
Sigve

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

2 participants