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

Remove deprecated VEP 110 argument #350

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion maf2maf.pl
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
# Add options that only work on human variants
if( $species eq "homo_sapiens" ) {
# Slight change in these arguments if using the newer VEP
$vep_cmd .= " --polyphen b " . ( $vep_script =~ m/vep$/ ? "--af --af_1kg --af_esp --af_gnomad" : "--gmaf --maf_1kg --maf_esp" );
$vep_cmd .= " --polyphen b " . ( $vep_script =~ m/vep$/ ? "--af --af_1kg --af_gnomad" : "--gmaf --maf_1kg --maf_esp" );
}
# Add options that work for most species, except a few
$vep_cmd .= " --regulatory" unless( $species eq "canis_familiaris" );
Expand Down
2 changes: 1 addition & 1 deletion vcf2maf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ sub GetBiotypePriority {
if( $species eq "homo_sapiens" ) {
# Slight change in options if in offline mode, or if using the newer VEP
$vep_cmd .= " --polyphen b" . ( $vep_script =~ m/vep$/ ? " --af" : " --gmaf" );
$vep_cmd .= ( $vep_script =~ m/vep$/ ? " --af_1kg --af_esp --af_gnomad" : " --maf_1kg --maf_esp" ) unless( $online );
$vep_cmd .= ( $vep_script =~ m/vep$/ ? " --af_1kg --af_gnomad" : " --maf_1kg --maf_esp" ) unless( $online );
}
# Do not use the --regulatory option in situations where we know it will break
$vep_cmd .= " --regulatory" unless( $species eq "canis_familiaris" or $online );
Expand Down