Entering edit mode
10 months ago
Arton
▴
20
I need to perform two rounds of annotations using VEP. I cannot merge the steps into one for specific reasons. The first annotation runs successfully. However, the second annotation runs to completion, but the annotations from the first vep don't have any values (columns have "-").
- If I generate a VCF file instead of tsv file then the data from the first annotation will be in the output. But then I face an issue with the next step which is filtering for "CANONICAL =YES" which seems to only work on tsv files. I've included my code below. I would appreciate your comments and suggestions.
raw.vcf ---> VEP --> anno1.vcf --> VEP --> anno2.tsv
How did you come to this conclusion?
I just managed to use the filter on VCF file and it did work. Now I have another issue that the filter for the second annotation does not remove any variants even though the annotation is in the VCF file. I attached one of the info section of my VCF. The very last annotation is the one I need to filter and it's not working.
What command are you passing the
--filter
flag to, and how did you come up withexample5
as the field name for the last field?The command is correct because my pipeline works when I merge the annotations in one command but when I split it to two arounds of annotations then the filter stops working. Also I'm able to filter based on the first annotations (example1 or 2 or 3) but filtering based on second annotations doesn't work. The field name I'm using is not the one I posted here. I just renamed it for privacy purposes.
I added
--vcf_info_field NEW
to the filter command and it worked.Good call. This is exactly where my brain went.
Arton why did you delete this post?
Because of the detailed information in the codes I shared, which were two paragraphs from my pipeline.
That's not a valid reason to delete the post. If that information was sensitive, posting it here was a mistake in the first place. I don't see any sensitive information in the code so I'm restoring it.