Skip to content

Commit

Permalink
indel key match to convert output
Browse files Browse the repository at this point in the history
  • Loading branch information
zqfang committed Aug 21, 2024
1 parent 7083e0c commit ef5a2cf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions haplomap/src/vep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,7 @@ std::string VarirantEeffectPredictor::set_key(std::string location, std::string

std::string _vc = var_class.substr(0,3);
this->upcase(_vc);
key = chrom + "_"
+ std::to_string(start) + "_"
+ std::to_string(end) + "_"
+ _vc;
key = chrom + "_" + std::to_string(start);

if (var_class == "snv")
{
Expand All @@ -222,7 +219,7 @@ std::string VarirantEeffectPredictor::set_key(std::string location, std::string
}
else
{
key = "SV_" + key;
key = "SV_" + key + "_" + std::to_string(end) + "_" + _vc;
}
return key;

Expand Down

0 comments on commit ef5a2cf

Please sign in to comment.