Skip to content

Commit

Permalink
Merge pull request #36 from TRON-Bioinformatics/bugfix_021
Browse files Browse the repository at this point in the history
fix wrong annotation names + fix the annotation types
  • Loading branch information
priesgo authored Aug 12, 2022
2 parents 17cc366 + 8fc1861 commit dd39e22
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion vafator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION='2.0.1'
VERSION='2.0.2'
22 changes: 11 additions & 11 deletions vafator/annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,42 +227,42 @@ def _get_headers(input_bams: dict):
{'ID': "{}_bq_{}".format(s, i),
'Description': "Median base call quality of the reads supporting each allele in "
"the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'R'},
'Type': 'Float', 'Number': 'R'},
{'ID': "{}_rsbq_{}".format(s, i),
'Description': "Rank sum test comparing the base call qualities distributions supporting the "
"reference and the alternate in the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'A'},
'Type': 'Float', 'Number': 'A'},
{'ID': "{}_rsbq_pv_{}".format(s, i),
'Description': "Significance for the rank sum test comparing the base call qualities "
"distributions supporting the reference and the alternate "
"in the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'A'},
'Type': 'Float', 'Number': 'A'},
{'ID': "{}_mq_{}".format(s, i),
'Description': "Median mapping quality of the reads supporting each allele in "
"the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'R'},
'Type': 'Float', 'Number': 'R'},
{'ID': "{}_rsmq_{}".format(s, i),
'Description': "Rank sum test comparing the mapping qualities distributions supporting the "
"reference and the alternate in the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'A'},
'Type': 'Float', 'Number': 'A'},
{'ID': "{}_rsmq_pv_{}".format(s, i),
'Description': "Significance for the rank sum test comparing the mapping qualities "
"distributions supporting the reference and the alternate "
"in the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'A'},
'Type': 'Float', 'Number': 'A'},
{'ID': "{}_pos_{}".format(s, i),
'Description': "Median position within the read of the reads supporting each allele in "
"the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'R'},
{'ID': "{}_posmq_{}".format(s, i),
'Type': 'Float', 'Number': 'R'},
{'ID': "{}_rspos_{}".format(s, i),
'Description': "Rank sum test comparing the position distributions supporting the "
"reference and the alternate in the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'A'},
{'ID': "{}_posmq_pv_{}".format(s, i),
'Type': 'Float', 'Number': 'A'},
{'ID': "{}_rspos_pv_{}".format(s, i),
'Description': "Significance for the rank sum test comparing the position "
"distributions supporting the reference and the alternate "
"in the {} sample {}".format(s, n),
'Type': 'Integer', 'Number': 'A'},
'Type': 'Float', 'Number': 'A'},
]
return headers

Expand Down

0 comments on commit dd39e22

Please sign in to comment.