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

Automatically add result of check for CLE validation of each variant #24

Open
malachig opened this issue Oct 29, 2024 · 1 comment
Open

Comments

@malachig
Copy link
Member

Currently the script generate_reviews_files.py add as a column for "Variant Called by CLE Pipeline" which reviewers must manually check.

reviewed_candidates["Variant Called by CLE Pipeline"] = " "

This is manual, slow, and potentially error prone and there is really no need for this to be manual.

We should update this script to take an extra input that already has the answer to this question and simply populate the values of this column: True/False. In each run of the immuno pipeline there is a file variants.final.annotated.tsv where the 6th column called VALIDATED contains the result of checking whether each variant called by the immuno.wdl pipeline was also found in the CLE variants ("known variants") file. We can just match up the variants by coordinates and base changes and if there is a match include the value from the VALIDATED in the Variant Called by CLE Pipeline column of the output file produced by generate_reviews_files.py.

@malachig
Copy link
Member Author

To match up variants between the two files compare the first four columns of variants.final.annotated.tsv

CHROM	POS	REF	ALT
chr1	197057393	C	T
chr1	210797717	A	T
chr1	211372430	G	A

To the first column of the neoantigen candidates file (ITB Reviewed Candidates excel file):

ID
chr1-197057392-197057393-C-T
chr1-210797716-210797717-A-T
chr1-211372429-211372430-G-A

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

1 participant