Skip to content

Commit

Permalink
Merge pull request #669 from uclahs-cds/czhu-fix-call-variant
Browse files Browse the repository at this point in the history
Alt splice insertion treated as stop altering mistakenly
  • Loading branch information
zhuchcn authored Jan 30, 2023
2 parents c92f633 + e7adbf2 commit a6e5e87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

## [0.11.1] - 2023-1-30
## [0.11.1] - 2023-1-31

### Fixed

- Fixed `callVariant` that alt splice insertions were treated as stop altering when they are not.

- Argument `--orf-assignment` added to `callNoncoding` to allow choosing the min or max ORF. #667

Expand Down
2 changes: 1 addition & 1 deletion moPepGen/svgraph/TVGNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def get_ith_variant_ref_aa(self, i:int, tx_seq:Seq) -> Seq:
seq = Seq('')
if v.variant.type in ['Deletion', 'Substitution']:
seq += tx_seq[v.variant.location.start:v.variant.location.end]
elif v.variant.type != 'Insertion':
else:
seq += Seq(v.variant.ref)

if left_offset > 0:
Expand Down

0 comments on commit a6e5e87

Please sign in to comment.