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

Can't use filter_vep subfields in the tab separated vep output file #1761

Closed
tamil-acog opened this issue Sep 30, 2024 · 3 comments
Closed
Assignees

Comments

@tamil-acog
Copy link

Hi team,

I annotated my variants using vep with spliceAI plugin. The output file contains all the multiple columns along with SpliceAI_pred column.

But the values in the column for a variant, for example "FGFR3 | 0.0 | 0.2 | 0.0 | 0.0 | 180"

Now if I have to filter the output based on the third field which 0.2 in the above example, how can i do that?

Thanks in advance

@nakib103 nakib103 self-assigned this Oct 1, 2024
@nakib103
Copy link
Contributor

nakib103 commented Oct 1, 2024

Hello @tamil-acog,

Thanks for your query!

You can filter your VEP output using filter_vep tool. For example, if the third field in this case have name SpliceAI_pred_DP_DG and you want outputs that have SpliceAI_pred_DP_DG value greater than 0.2 you can do that by using the following commands -

filter_vep -i input.vcf --filter "SpliceAI_pred_DP_DG > 0.2" --format vcf --only_matched

Please check the filter_vep document to build appropriate filter for your need.

Best regards,
Nakib

@nakib103
Copy link
Contributor

nakib103 commented Oct 1, 2024

@tamil-acog ,
sorry I missed you were talking about tab separated output. Currently it is not possible to use filter_vep on specific SpliceAI fields in tab separated output because the fields are reported all in the same field.

So you can output using VCF format and use the above command to filter.
Otherwise, there is a PR that separates the the SpliceAI fields in the output, which you can cherry-pick and see if it resolves your use case.

Best regards,
Nakib

@nakib103
Copy link
Contributor

nakib103 commented Nov 4, 2024

Hi @tamil-acog,

I will be closing this issue. If you face any further problems feel free to open a new one.

@nakib103 nakib103 closed this as completed Nov 4, 2024
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