Skip to content

Commit

Permalink
encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
zqfang committed Aug 14, 2024
1 parent fd10861 commit b80056c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions haplomap/src/annotate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@ std::shared_ptr<VEPOptions> parseVEPOptions(int argc, char **argv)
{"type", required_argument, nullptr, 't'},
{nullptr, no_argument, nullptr, 0}};

const char *usage = "Convert ensembl-VEP to eblocks (-g) input\n"
const char *usage = "Convert ensembl-vep to eblocks (-g) input\n"
"\nUsage: annotate [options] <in.vep.txt> \n"
"\nRequired arguments:\n"
" in.vep.txt Input ensembl-VEP file name\n"
" -o, --output Output file name, for (eblocks -g)\n"
"\nOptional arguments:\n"
" -c, --csq Output a annotation with impact score and sample names.\n"
" -s, --samples Only get annotation for the input samples, use same strains to (eblocks -s).\n"
" -s, --samples Only write annotation for the input samples (e.g. eblocks -s).\n"
" -t, --type Select variant type: [snp|indel|sv|all]. Default: all\n"
" -v, --verbose\n"
" -h, --help\n"
"\nImportant message:\n"
"Please run ensemble-vep containing following flags: \n"
" vep --fasta --individual_zyg all --everything\n"
"For structrual variant input format, please ref to: \n"
"https://ensembl.org/info/docs/tools/vep/vep_formats.html#sv \n";
" vep --fasta --individual_zyg all --everything\n\n"
"Structural variant input format for ensembl-vep, please ref to: \n"
" https://ensembl.org/info/docs/tools/vep/vep_formats.html#sv \n";

if (argc == 1)
{
Expand Down
2 changes: 1 addition & 1 deletion haplomap/src/vep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ void VarirantEeffectPredictor::readVEP(char *inVEPName, char *delemiter, char* v
}
std::string VarirantEeffectPredictor::codonChange(VEPSummary * pRecord)
{ // aggregate all condon changes groupby (location, transcript)
std::string _expr = "CodonUnknown";
std::string _expr = "";
for (int j = 0; j < pRecord->codons.size(); j++)
{
std::string codon = pRecord->codons.eltOf(j);
Expand Down

0 comments on commit b80056c

Please sign in to comment.